Ah, I hadn’t even considered that Xdotool would be… well for X11. Thanks mentioning this, so I’ll know what the problem is next time I try to use my auto clicker script and it doesn’t work.
On a lighter side, apparently ydotool has a smarter design; instead of sending events to the X server like xdotool does, it emulates an input device. This means you can start using it before migrating to Wayland, and in case the Linux community eventually deprecates Wayland for something else, it should still work.
Now I just need a Wayland equivalent to grabc. A lot of my autoclicker scripts relies on it for dynamic behaviour, like “keep clicking $pixel1 until $pixel2 changes colour”.
Ah, I hadn’t even considered that Xdotool would be… well for X11. Thanks mentioning this, so I’ll know what the problem is next time I try to use my auto clicker script and it doesn’t work.
Yup.
On a lighter side, apparently ydotool has a smarter design; instead of sending events to the X server like xdotool does, it emulates an input device. This means you can start using it before migrating to Wayland, and in case the Linux community eventually deprecates Wayland for something else, it should still work.
Now I just need a Wayland equivalent to grabc. A lot of my autoclicker scripts relies on it for dynamic behaviour, like “keep clicking
$pixel1until$pixel2changes colour”.