ElectricRCAircraftGuy / ElectricRCAircraftGuy.github.io

My github pages website at gabrielstaples.com
https://gabrielstaples.com/
5 stars 1 forks source link

https://gabrielstaples.com/ydotool-tutorial/ #98

Open utterances-bot opened 9 months ago

utterances-bot commented 9 months ago

Tutorial: Getting started with ydotool to automate key presses (or mouse movements) in Linux | GabrielStaples.com

ydotool works well in both the X11 and Wayland window managers to press any keys, including Windows + D, for example

https://gabrielstaples.com/ydotool-tutorial/

ElectricRCAircraftGuy commented 9 months ago

Update: There are still more things I don't know. Using systemd to stop/start/restart it may be better. Check out this comment here: https://askubuntu.com/questions/1470593/how-can-i-write-a-program-to-press-keys-such-as-windows-d-in-wayland-repla#comment2596097_1473061

See this answer too: https://askubuntu.com/a/1413830/327339

(I posted this comment here too).

ElectricRCAircraftGuy commented 7 months ago

See this script by @ecspresso here too: https://github.com/ReimuNotMoe/ydotool/issues/207#issuecomment-1724204933