gnome-keyboard-properties won't map caps lock as additional ESC

Bug #380781 reported by Mike
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xkeyboard-config (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I'm running Ubuntu 9.04. I suspect that the problem is in the gnome-control-center package version 1:2.26.0-0ubuntu3, however, it might actually be in the gnome-settings-daemon package version 2.26.1-0ubuntu1.

I want to set the Caps Lock key as an additional ESC key. However, when I attempt this setting, it results in the ESC functionality being moved from the ESC key to the Caps Lock key (making the ESC key useless). This is not the expected behavior.

How to reproduce:
System -> Preferences -> Keyboard (gnome-keyboard-properties)
  Layouts (tab) -> Layout Options (button) -> CapsLock key behavior (list collapse arrow thingy) -> Make CapsLock and additional ESC (radio button)

When I follow this procedure, the ESC key no longer functions, but Caps Lock works as ESC.

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
affects: gnome-control-center (Ubuntu) → xkeyboard-config (Ubuntu)
Revision history for this message
Aaron Müller (aaronmueller) wrote :

Same Problem here.
I use a Cherry STREAM XT Keyboard with ther german layout (no dead keys).

Ubuntu 9.04

Revision history for this message
Saddy (sadmail) wrote :

Jup. It doesn't do what it says.

Revision history for this message
MFeif (matt-feifarek) wrote :

Confirmed here. I've combed through gconf-editor, looking for where this might be flipping settings, but can't find it yet. It's a compiled-C program, so I can't peek in the source easily to find out what it's doing (some of these utilities are python... this one isn't)

I did use xmodmap -pke to get a dump when the setting is turned on and off:
(filtered to relevant lines)

before (stock CapsLock key behavior == Default):
keycode 9 = Escape NoSymbol Escape NoSymbol Escape
keycode 66 = Caps_Lock NoSymbol Caps_Lock NoSymbol Caps_Lock

after (stock CapsLock key behavior == Make CapsLock an additional ESC):
keycode 9 = VoidSymbol NoSymbol VoidSymbol NoSymbol VoidSymbol
keycode 66 = Escape NoSymbol Escape NoSymbol Escape

Revision history for this message
MFeif (matt-feifarek) wrote :

oops; found a dupe with a solution

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.