Friday, December 28, 2018

Mapping capslock to an extra control key in Xorg

Edit /etc/default/keyboard and add the following:

XKBOPTIONS="ctrl:nocaps"

Then run:

sudo dpkg-reconfigure keyboard-configuration