UbuntuGNOME 13.10 - Problem: Keyboard layout: Control L and Caps Lock swapped
Posted
by
linuxubuntu
on Ask Ubuntu
See other posts from Ask Ubuntu
or by linuxubuntu
Published on 2013-10-22T07:13:33Z
Indexed on
2013/10/24
10:12 UTC
Read the original article
Hit count: 233
keyboard-layout
|xmodmap
I have a problem in UbuntuGNOME 13.10 which I didn't had in prior releases: I did a clean install and I don't know if it was already there or if I may have changed something, but my "Control L" and "Caps Lock" keys are swapped. How to swap them back? See also the attached image.
http://i.imgur.com/PR1YB4T.jpg
I swapped them back using but this is obviously not a proper fix
$ cd ~
$ xmodmap -pke > .Xmodmap
$ echo "remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L" >> .Xmodmap
$ xmodmap .Xmodmap
but the "Keyboard Layout Chart" program shows the keys still swapped. What's the reason for this? How to fix?
© Ask Ubuntu or respective owner