Ubuntu – Remapping Caps Lock to Escape in Ubuntu 18.04 bionic

18.04capslockkeyboardremapping

In Ubuntu 16.04, there was an option in the settings which allowed to switch between Esc and Caps Lock. Where is this option in Ubuntu 18.04?

Best Answer

Found an option by installing Gnome Tweaks.

sudo apt install gnome-tweaks

Then open Tweaks, and click:

Keyboard & Mouse -> Additional Layout Options -> Caps Lock key behavior.

enter image description here

(On older versions of Ubuntu, you would need to install gnome-tweak-tool instead.)