Remapping caps lock (again)
August 13th, 2006
I was using xmodmap to re-map the caps lock. I’m not sure why – a better way, which means it also works on the console, is to alter the keymap file. For me (using Gentoo, UK keymap) this was as simple as:
- cd /usr/share/keymaps/i386/qwerty
- gunzip uk.map.gz
- vim uk.map (change “Caps_Lock” to “Escape”)
- gzip uk.map
- loadkeys uk.map.gz
Leave a Reply