One of the companies that I've worked at in the past had their development environment based on Emacs (due an esoteric language).
To avoid Emacs pinky, I've learned to set the Caps Lock key as Ctrl. Even though I don't have to use Emacs anymore, using Caps Lock as Ctrl still a must to me.
On Linux, edit:
sudo vi /etc/default/keyboard
For swapping the Caps Lock with Ctrl, change to:
XKBOPTIONS="ctrl:swapcaps"
For just changing Caps Lock (and not the Ctrl key):
XKBOPTIONS="ctrl:nocaps"
To apply the new configuration:
sudo dpkg-reconfigure keyboard-configuration
You may have to logout and login again depending on your distribution.
Top comments (0)