Ubuntu - set caps lock to escape

I just got a new laptop and had to google again on how to set caps lock key to escape (I’m a Vim user).

sudo apt-get install dconf-tools
dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:escape']"

To know your options, use the following command:

man xkeyboard-config

(MAN pages are your friend; man is short for manual)

You can also now use the Dconf GUI editor if you must (SHAME! ;) )

Type Dconf in Unity or Gnome app opener and go to the following location:

`org` →- `gnome` → `desktop` →  `input-sources` →  `xkb-options`

Add ['caps:escape'] to Custom Value textbox.

dconf caps lock to escape


Jason Meridth


My name is Jason Meridth. I am a continuously learning senior software developer/devops/team lead/development manager trying to not let best be the enemy of better. I reserve the right to change my mind upon obtaining more information. I am also the owner and principal software consultant at Meridth, LLC. If you have any software, hardward, networking, process, etc needs please don't hesitate to reach out to me.

Raspberry Pi Kubernetes Cluster - Part 2

Howdy again.Alright, my 8 port switch showed up so I was able to connect my raspberry 3B+ boards to my home network. I plugged it in wit...… Continue reading

Raspberry Pi Kubernetes Cluster - Part 1

Published on April 07, 2018

SSH - Too Many Authentication Failures

Published on March 28, 2018