Hacker News new | ask | show | jobs
by amaranth 1390 days ago
There is no way to "target wayland" for a tool like this. For security reasons pretty much everything this tool does is blocked on wayland. You could perhaps make a version for sway and other wlroots-using desktops that works mostly like the current tool. For GNOME you might be able to get away with rewriting it in JS as a shell extension, no idea for KDE.
3 comments

IMO, a position of "LOL, it works just fine on Wayland, just write it from scratch in six different programming languages to cover 80-90% of DEs/WMs out there" is not very developer (or for that matter, user) friendly. At least X11 is a single interface to target.
What's interesting is, very often, "for security reasons" is a complete BS kludge to say "we don't want to implement this." I normally wouldn't expect that sort of thing from Linux folk...perhaps until now.
it's a variant of "for the children ..."
yeah. this is as far as you get: https://github.com/ReimuNotMoe/ydotool.

begs the question. how come ahk can run on windows(tm) but not wayland? my understanding is that win10/11 are pretty secure.