Bugzilla – Bug 368590
caps-lock light when switched ctrl <-> caps
Last modified: 2011-04-02 16:51:48 UTC
In 10.3 when I swapped caps-lock and control (cf. bug #365539# ) my caps-lock light would not toggle when I pressed control [ after all it's caps-lock ]. Conversely, when I pressed control it would (and the light would be a meaningful & helpful indication of my caps state). Unfortunately in SLED10 while the caps function can be swapped with ctrl, the light stays with the caps-lock key which is rather odd.
Using xmodmap swapping caps-lock/control works for me. cat > /tmp/Xmodmap << EOF !swap control/caps-lock clear control keycode 66 = Control_L keycode 37 = Caps_Lock add lock = Caps_Lock add control = Control_L Control_R EOF setxkbmap us xmodmap /tmp/Xmodmap I never tried it with xkb though.
Please try setxkbmap us -option "" -option ctrl:swapcaps -v It works for me.
Works for me too, though (amusingly the polarity of the CAPS-lock LED is reversed - so it is now on only when caps-is off ;-). So - perhaps this is a gnome bug, or in libxklavier
(In reply to comment #3 from Michael Meeks) > Works for me too, though (amusingly the polarity of the CAPS-lock LED is > reversed - so it is now on only when caps-is off ;-). Strange. The polarity is correct for me. > So - perhaps this is a gnome bug, or in libxklavier Ok. Reassigning.
Stefan’s command in comment #2 works perfectly for me as well, I can’t reproduce the polarity problem of the CAPS-lock LED mentioned in comment #3 either.
*** Bug 390631 has been marked as a duplicate of this bug. ***
The version with which you had the bug is now obsolete. I'll close this as NORESPONSE. If you can still reproduce it in current 11.4, please reopen the bug and move it to the appropriate version. Thanks!