Hacker News new | ask | show | jobs
by boomskats 26 days ago
Nice post.

For any linux folk who haven't tried something like this yet, keyd and wtype are what I settled on, having tried the kmonads, interceptiontools, xscapes, kanatas, etc. (though I've been meaning to try kanata out again now it's a bit more mature)

1 comments

Will check out keyd and wtype, thank you for the pointers! If you don't mind, could you go into a little more detail on your journey? What do you use it for? What roadblocks did you encounter that made you try out different tools?

On Windows I was a happy Autohotkey user. For the same functionality I'm using kmonad+bash+ydotool+systemd now. I use it to make CapsLock a modifier key. Mostly for navigation, e. g. Caps+HJKL for arrow keys, Caps+E/R for Ctrl+🡰/🡲, i. e. jump to the next/prev word. Also moved some special keys closer to the home row, e. g. Caps+F=Backspace, Caps+D=Delete, Caps+V=Enter.

I do not like kmonad at all. The configuration language seems poorly designed, and OS integration is non-existent. Last week I spent about 90 minutes with Copilot trying to get the kmonad script to autostart. And it still doesn't work properly. I have a macro that types the current date, and I just couldn't get it to work when running as a systemd service. Umlauts also don't seem to be working anymore.