document updated 12 years ago, on Apr 21, 2012
In Gnome, do: System > Preferences > Keyboard > Layouts > Options > CapsLock key behavior > Make CapsLock an additional ESC
Ubuntu 12.04
- XWindow — put xmodmap commands in ~/.Xmodmap
- console
- edit /etc/default/keyboard, change XKBOPTIONS to be XKBOPTIONS="ctrl:swapcaps"
- run sudo dpkg-reconfigure console-setup