3 ms·
ydotool only supports a tiny fraction of xdotool's features. ...and that's unlikely to improve much any time soon, since, according to ydotool's README: "Sinc
by pmoriarty 6y ago
ydotool only supports a tiny fraction of xdotool's features.
...and that's unlikely to improve much any time soon, since, according to ydotool's README:
"Since Jun, 2019, I have little time to maintain this project"
- cycloptic 6y agoCheck the paragraphs below that where the developer asks for help either by donations or by pull requests. I understand you probably don't want to do that because you're fine with xdotool for now, but the options are there should you need them.
- pmoriarty 6y agoOk, so I can write the features ydotool is missing or pay someone to do it. I guess those options are the same for any software. Either way, ydotool is clearly not a viable replacement for xdotool right now, if it will ever be.
- cycloptic 6y agoIt likely won't ever be a drop-in replacement because a lot of X operations don't really make sense in Wayland. (Even in X, xdotool isn't perfect and a lot of its commands won't work if your window manager doesn't support the right hints) Unless you feel like volunteering to make a standard for this, you'll get the best mileage out of using an API specific to your compositor rather than waiting for someone else to come up with a standard. I know GNOME exports its internals with a javascript interface, and Sway has a way to run various commands using a JSON interface too.