Ubuntu 18.04 - Swap Caps Lock and Ctrl
Ubuntu 18.04, Swap Caps lock and Ctrl - No installation
-
Open ~/.Xmodmap
gedit ~/.Xmodmap
Contenst of the ~/.Xmodmap:
keycode 37 = Caps_Lock NoSymbol Caps_Lock keycode 66 = Control_L NoSymbol Control_L
-
Modify:
keycode 66 = Caps_Lock NoSymbol Caps_Lock keycode 37 = Control_L NoSymbol Control_L
-
Save the file and apply config
xmodmap ~/.Xmodmap