1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 09:15:22 +02:00
tldr/pages/linux/ydotool.md

20 lines
392 B
Markdown

# ydotool
> Control keyboard and mouse inputs via commands in a way that is display server agnostic.
> More information: <https://github.com/ReimuNotMoe/ydotool>.
- 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`