16
6
xdotool is a nice X application, I tend to use it for creating macro commands (like alt+f4 or ctrl+w or ctrl+alt+backspace or something like that)
It's really easy to use and convenient, but I don't know of any wayland compatible program like this. is there any way to send mouse and keyboard input signals to wayland right now similar to xdotool for X?
It works largely with xwayland right now, but not all commands work (such as alt+f4, xev can even read the alt+f4 input but it doesn't trigger the application termination like pressing it on the keyboard) there's also the matter of potentially not using xwayland.
2
See also https://unix.stackexchange.com/questions/381831/keyboard-emulation-in-wayland and https://askubuntu.com/questions/956640/equivalent-to-xdotool-for-wayland
– Ben Creasy – 2018-02-18T09:31:55.600