From 4baf74784c33916ec72940c8a3e9053be525e8b9 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:28:53 +0300 Subject: [PATCH] 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> --- pages/linux/ydotool.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/ydotool.md diff --git a/pages/linux/ydotool.md b/pages/linux/ydotool.md new file mode 100644 index 0000000000..b292e739dd --- /dev/null +++ b/pages/linux/ydotool.md @@ -0,0 +1,20 @@ +# ydotool + +> Control keyboard and mouse inputs via commands in a way that is display server agnostic. +> More information: . + +- 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`