Public bug reported:

Binary package hint: gnome-control-center

Hello! I'm using Ubuntu Gutsy, up-to-date, and I noticed an unpleasant
issue with the gnome-keyboard-preferences applet.

Said applet offers the very useful possibility of customizing the
keyboard configuration through using its third tab, "Layout Options".
One of the options I'm very fond of is to switch the Caps Lock and the
Left Control keys. I find that it's much easier to type Ctrl-key
combinations this way. I also use Dvorak and I touch type, and this
helps relieve tension in my little finger.

Understandably, most people can't use the keyboard at all on my laptop
due to my customizations. (A fact complicated a bit by the fact that the
keyboard is actually a French model.) So I resorted at having two
layouts selected, my own and the one printed on the keyboard. The
problem is that the Layout Options (thus the caps/ctrl switch) apply to
_all_ selected layouts, which confuses people. Since it's inconvenient
to change the layout options every time (the layout is easy to switch
from the panel applet), I created a custom layout (by cloning a file in
/usr/share/X11/xkb/symbols and hacking the appropriate rules file) and I
exchanged the CapsLock and Left Control keys directly there using these
two lines:

    key <CAPS> {        [ Control_L     ]       };
    key <LCTL> {        [ Caps_Lock     ]       };

The problem is that when I select the new keyboard layout using the
Keyboard Preferences applet the hack doesn't work. Interestingly enough,
the layout preview _does_ show the swapped keys correctly. However, when
I actually try to use it the two keys work "normally", i.e. CapsLock is
CapsLock and Ctrl is Ctrl.

Any ideas what to look for next?

** Affects: gnome-control-center (Ubuntu)
     Importance: Undecided
         Status: New

-- 
keyboard-applet gets confused by layouts which swapped Ctrl and Caps Lock
https://bugs.launchpad.net/bugs/138467
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to