Wayland, Uinput and Autokey #598
Replies: 2 comments 1 reply
-
And obviously not having X11 options removes a lot of other features which cannot be replaced with uinput. Stuff like window filters, most of the |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to add an abstraction layer for API calls, etc. that insulates the main code and user scripts from this? Then AutoKey could detect whether X11 is available or not and act appropriately without disturbing the rest of the logic or user scripts. Would it be possible to write an i/o daemon for AutoKey that could run with elevated permissions and just do whatever lower level i/o requests are needed via API calls? This might get around the restrictions that Wayland imposes on user tasks without opening a huge security vulnerability. |
Beta Was this translation helpful? Give feedback.
-
Going forward, Ubuntu (probably the most popular OS for our users) has decided to switch to wayland, this obviously causes a lot of issues for autokey, there are a few things that we should do right now to mitigate this;
Another large issue that wayland presents is that I believe a design decision has been made to not have feature parity with X11 especially when it comes to input for security reasons.
uinput
as this will workaround some of the wayland limitations. The main question is how should this be implemented, as a complete replacement for thekeyboard
module, a new moduleuinput
or changes to the backend to make it an option to swap from X to Uinput for reading/sending events.In writing this out it seems like we are going to end up doing a total replacement, as the lesser implementations don't address that Autokey uses X11 for listening for hotkeys.
Beta Was this translation helpful? Give feedback.
All reactions