by naftaliharris · 13y ago · 0 comments
!! Delete the caps lock key
clear lock
!! Make caps lock map to <esc>
keycode 0x42 = Escape 'setxkbmap -option caps:esc'
'setxkbmap -option ctrl:nocaps' (my preference)
'setxkbmap -option ctrl:swapcaps'
Debian (and derivatives) users can edit the last line in the /etc/default/keyboard file to do this globally.