Using X11 Apps With Wayland?

I would like to be able to use AutoKey. But its an X11 app. PureOS uses Wayland.

Are there any workarounds to get AutoKey to work on PureOS?

Likely Xwayland is installed, which is an Xserver making the usage of X11 applications entirely transparent.

Well, so far I’ve been able to get Autokey to install and run. But the triggers just don’t work. I’ve tried direct installs + installing through the software center.

What am I missing?

So it seems due to the nature of AutoKey it actually needs to support wayland to be useful.

-https://github.com/autokey/autokey/issues/87 " Add Wayland support" is open since 2017.

Maybe you can try -https://github.com/snyball/Hawck ?

Linux with all it’s combinations of window managers, display servers and desktop environments needs a key-rebinding system that works everywhere.

Hawck intercepts key presses and lets you write Lua scripts to perform actions or modify keys depending on your needs.

Your Lua scripts will work on Wayland, X11, and every WM/DE you throw at them, as well as console ttys.

The ultimate goal of the project is to serve as a user-friendly Linux alternative to AutoHotkey, but this time with a sane scripting language.

1 Like

Does anyone know of a workaround to get AutoKey to work with Wayland? Or is there any similar software that does work on PureOS?