Note to self: Disable caps lock in Ubuntu 16.04

Sources: here and here

This post shows how to disable the caps lock key and enables it only by pressing both shift keys together.

1. Install DCONF

$ sudo apt-get install dconf-tools

2. Disable caps lock and reenable it as pressing both shift keys at once:

$ setxkbmap -option "caps:none" $ setxkbmap -option "shift:both_capslock"

Show Comments