remap capslock
I prefer to remap the CapsLock key as the Escape key. There are other ways to achieve the same results. However, I find this process the most straightforward:
$ sudo nano /etc/default/keyboard
Set XKBOPTIONS="caps:swapescape"
, Ctrl+x
, save, and reboot.
[source]