Remap the CapsLock key in Linux

iain simmons December 17, 2025
Source
Today (or recently) I found out that the awesome Wez Furlong (creator of WezTerm) also made this great key remapping tool for Linux called evremap. I wanted to remap my CapsLock key on an old Macbook Air I've recently installed Arch Linux on, so that tapping it would map to Esc, and holding it would be Super + Ctrl + Shift + Alt, just like I have on my mechanical keyboard that I use on my other computers. Following the instructions from the repo, I created a basic config file: Then created a service, again, following the instructions for running as a service but tweaking because it somehow needed the full paths to things: And created a bash script in the config directory to copy the service, enable it and run it: It's also helpful to run sudo systemctl status evremap.service to confirm it's running as expected.

Discussion in the ATmosphere

Loading comments...