3

More than a year ago, I swapped the locations of Control and Caps Lock keys for better ergonomy.

However, I have recently come to reconsider the choice and would like to return to the former systems with the keys in their ordinary places.

The choice seem no longer be present in normal System settings of Ubuntu 14.04, so I went on to use Ubuntu Tweak Tool. The changes took effect in the current session but reverted after reboot

Adding setxkbdmap -option to .profile did not solve the problem either because something seems to override this setting.

What would be the best way to get back the default keyboard behaviour?

1 Answer 1

0

Use this command to reset the behavior:

gsettings reset org.gnome.desktop.input-sources xkb-options

and remove the setxkbdmap-thing in your .profile

2
  • The problem seems to recur after a new login. I would like to restore the defaults permanently without having to type the above command again at each time that I log to my computer. Dec 16, 2015 at 9:10
  • What are the different setup files that can affect the keyboard behavior? Knowing this would probably lead me to the solution of the problem. As it is, I need to run "setxkbmap -option" and "xmodmap ~/.Xmodmap" at each startup, which is quite frustrating. If I put these in the list of startup applications, something overrides the changes. Dec 17, 2015 at 13:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .