The main barrier for me transitioning to Linux as my main OS is finding a suitable alternative to AutoHotKey (AHK) on windows. I use AHK for all kinds of automation but haven’t found a usable alternative in Wayland.
Thought I’d check here to see if anyone has any suggestions?
Interesting…
I’ve created another xkb layout (of which syntax is cryptic)… Then modified window manager hotkeys. Then there’s completely other configuration for virtual terminals. sigh
keyd looks promising tool.
If you want to create keyboard layouts,
keyd
is very good for that. You can create several keyboard layers and use whatever key you want as a modifier.I use it to mimic the windows “US International with dead keys” layout that I’ve grown used to but it can do so much more.
Hello, I had the same need. The best alternative I found is keymapper : https://github.com/houmain/keymapper You have tons of examples on the main page. The syntax is somehow similiar compared to ahk.
I have yet to master mouseclick (issue with ydotool on KDE/wayland maybe), but everything else is working.
I think this is the tool you are looking for, let us know what you tried :)
I was just today looking for an AHK alternative for a new Ubuntu Studio system I recently set up, somehow I didn’t come across this one. It’s exactly what I need, specifically the support for application-aware and input-device-aware mappings. The cross platform support using the same scripts is also intriguing. I will be trying this out soon, thanks for suggesting it!
I use keyd
Very customizable.
KDE has a very powerful key binding subsystem. It’s a little complicated, but it allows for great freedom.
Afaik you won’t find a single alternative, bit you’ll have to find multiple projects for specific features you’re looking for.
For example: Kanata for key remaps, text expansion, mouse input and a whole bunch of other keyboard stuff.
Most automation is done with shell scripts and command line utilities. So stuff like batch renaming you can do this way.
Window automation is DE/WM specific.
So if you could list your DE/WM and the specific kinds of automation, it will be easier to give suggestions.
I would see what you could vibe code or just check if Linux can just do the automation your looking for built in. It depends on the desktop environment but I know KDE is very powerful if you are willing to put in the time.