mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
490 B
Plaintext
26 lines
490 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ydotool
|
|
|
|
> Control keyboard and mouse inputs via commands in a way that is display server agnostic.
|
|
> More information: <https://github.com/ReimuNotMoe/ydotool#usage>.
|
|
|
|
- Start the ydotool daemon in the background:
|
|
|
|
`ydotoold`
|
|
|
|
- Perform a `<LeftClick>` input:
|
|
|
|
`ydotool click 0xC0`
|
|
|
|
- Perform a `<RightClick>` input:
|
|
|
|
`ydotool click 0xC1`
|
|
|
|
- Input `<Alt F4>`:
|
|
|
|
`ydotool key 56:1 62:1 62:0 56:0`
|