3 ms·
On Linux I use GNOME Tweaks to rebind it to escape (though you can also use xmodmap directly). It doesn't work on console, and I don't think it works in Wayland
by Fnoord 7y ago
On Linux I use GNOME Tweaks to rebind it to escape (though you can also use xmodmap directly). It doesn't work on console, and I don't think it works in Wayland either (!!).
on Mac I use Karabiner Elements to rebind it to escape (though you can also use System Preferences).
On Windows -which I try to avoid- I use a registry edit to disable caps lock which one can find via a search engine (do verify the contents). This has the advantage that you can still bind it e.g. in games (such as for push-to-talk).
For those who search a AutoHotKey (AHK) alternative on Linux, consider AutoKey [1] which has Python scripting support.
[1] https://github.com/autokey/autokey/ https://github.com/autokey/autokey/