GNOME keybindings register as <Mod4><Hyper>L (and do not work)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
control-center (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gnome-control-
I don’t know which part of Gnome is responsible for this so I went ahead and filed this for the settings daemon.
In Dapper I set up a whole range of Bindings with the two Win-flag keys set to Mod4 = Super_L and Mod3 = Super_R. I mapped this via an .xmodmap script that was somehow sucked up by g-s-d (I also mapped the media buttons through this files).
Now in Edgy the shortcuts don’t work anymore. When I go into the gnome-keybindin
What’s interesting is that my Mod{3,4} bindings for Tomboy and the Deskbar still work. Only, when I enter a new combination in Deskbar it shows up as <Mod4><Super>a (not ...<Hyper>...). And this again subsequently doesn’t work.
I don’t know what happened in the meantime; I cleared all xmodmap files from the system and played with the keyboard properties to no avail. Please advise which info is needed here. Provisionally I provide this:
*** "Alt/Win-key behaviour" is set to "Super is mapped to the Win-keys"
*** $ xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x73), Super_R (0x74), Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
*** $ xprop -root | grep XKB
_XKB_RULES_
_XKB_RULES_
***$ gconftool-2 -R /desktop/
layouts = [us,de nodeadkeys,ru phonetic]
model = pc105
options = [Compose key compose:
overrideSettings = true
Alternative findings:
If I set the Alt/Win key behaviour to nothing ("Default") and map the modifiers with xmodmap like this
xmodmap -e 'clear Mod3'
xmodmap -e 'clear Mod4'
xmodmap -e 'add Mod3 = Super_R'
xmodmap -e 'add Mod4 = Super_L'
it looks like this
$ xmodmap -pm
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3 Super_R (0x74)
mod4 Super_L (0x73), Super_L (0x7f)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x7c)
Now the keybinding applet still registers <Mod?><Hyper>? even though xmodmap doesn’t talk about Hyper anymore.
Changed in control-center: | |
importance: | Undecided → Low |
status: | Needs Info → Unconfirmed |
I'm don't know about the relationship with xmodmap -- I thought that was superseded by XKB, but I may be wrong. In any case, mod4 not working properly in Gnome is a well-known bug, or has been so for at least a year; perhaps what you're seeing is an instance of it. See the following:
https:/ /launchpad. net/distros/ ubuntu/ +source/ control- center/ +bug/16815 bugzilla. gnome.org/ show_bug. cgi?id= 165343
http://
Metacity bindings work properly, but g-s-d ones don't. Which bindings are handled by which depends. You can use gconf-editor to bind keys to commands through metacity, as described e.g. at
http:// linuxformat. co.uk/wiki/ index.php/ Setting_ Key_Bindings_ in_GNOME
I got bindings to work (in Edgy) by setting win-key to be Hyper and binding keys such as "<Hyper>s" using gconf-editor as described above.