1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 09:02:08 +02:00
tldr/pages/linux/ydotool.md
Managor 4baf74784c
ydotool: add page (#12587)
* ydotool: add page

* Update pages/linux/ydotool.md

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* Update pages/linux/ydotool.md

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* Update ydotool.md

* Update pages/linux/ydotool.md

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>

* Update ydotool.md

* Update ydotool.md

---------

Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com>
2024-04-03 10:28:53 +08:00

20 lines
382 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 left click input:
`ydotool click 0xC0`
- Perform a right click input:
`ydotool click 0xC1`
- Input Alt+F4:
`ydotool key 56:1 62:1 62:0 56:0`