2 ms·
> It'd be nice to have something like autohotkey for Linux I have built this already: https://github.com/phil294/AHK_X11 https://github.com/phil294/AHK_X11 Th
by phil294 3y ago
> It'd be nice to have something like autohotkey for Linux
I have built this already: https://github.com/phil294/AHK_X11 https://github.com/phil294/AHK_X11
The X11 variant was fine, but Wayland support is indeed too messy, so the experimental build for that just uses uinput/evdev and ignores anything Wayland-related. I don't think there is a feasible alternative right now for tools like this, and it sucks. At this point I'm honestly mostly hoping for at-spi to rescue us. https://github.com/phil294/AHK_X11/issues/2 https://github.com/phil294/AHK_X11/issues/2
- sirtaj 3y agoFrom what I understand, the barrier devs are planning to add Wayland support via libei [1]. I guess this should be relevant to you too? 1. https://lists.freedesktop.org/archives/wayland-devel/2023-May/042717.html https://lists.freedesktop.org/archives/wayland-devel/2023-Ma...
- phil294 3y agoIt's exciting, but for both key listening and grabbing, the evdev route is still required, so unless I'm mistaken, this doesn't help us on its own. It also doesn't help with window management: "One example is xdotool which does window focus and modifier mangling (see below). Window focus notification is not available to a pure libei client and would have to be obtained or handled on a separate channel, e.g. X or Wayland. Having said that, a Wayland client does not usually have acess to query or modifiy the window focus." Edit: libei supports a "receiver" mode too. Perhaps it'll be useful after all!