It appears that the keyboard Layout Options that allow things such as "Swap the Escape key and Caps Lock" have disappeared from the keyboard settings in 14.04 Is there another GUI where they can be set? Or is it back to dotfiles?
It appears that the keyboard Layout Options that allow things such as "Swap the Escape key and Caps Lock" have disappeared from the keyboard settings in 14.04 Is there another GUI where they can be set? Or is it back to dotfiles?
Install the GNOME Tweak Tool (gnome-tweak-tool), under the Typing tab there is an option to swap Esc with Caps Lock. This worked for me in Ubuntu 14.04.
I struggled with this a bit during my last OS setup, and found a solution. On this setup I had to trudge through the Internet again to find. Let me leave it here for future reference.
I am using Ubuntu 14.04 LTS (working with 16.04 too), and this is how I remapped my caps lock to escape:
/etc/default/keyboard
file with sudo (egsudo nano /etc/default/keyboard
)add
caps:swapescape
to theXKBOPTIONS
. After modification the line should like the followingNote that I did not try this with the
caps:swapescape
setting. I used thecaps:escape
setting; i.e. my modification just remaps caps lock to escape but does not map my escape to caps lock.My source
As I mention in another similar question, the usual way to swap Esc and Ctrl is with the following lines in the
~/.Xmodmap
file:This should work with all desktop environments (KDE, Gnome) on most common distros (Ubuntu and Debian family, Fedora and RH family).
Another solution is the one mentioned in this post how to permanently switch caps lock and esc that uses
dpkg-reconfigure
with a few extra steps but setting"caps:swapescape"
inxkb-options