GNOME Bugzilla – Bug 311964
support for XF86/GNOME media keys
Last modified: 2007-02-08 15:49:47 UTC
My keyboard has a row of buttons along the top for media functions such as play/pause, stop, previous, and next. These are supported generically by X with the XF86AudioPlay, XF86AudioStop, etc. events and specifically by the GNOME Keyboard Shortcuts control panel. Rhythmbox honors these key events, but Totem does not. My understanding is that the focussed window can capture these events before they reach the desktop/top level, so ideally Totem would honor these events if it was focussed, but they would bubble up to the default audio player (i.e. Rhythmbox) if Totem was not. I'd be happy to look at contributing support for this if you will accept it.
Only one application can capture those key shortcuts on a particular window (in this case the root window). So if Rhythmbox is running, Totem doesn't even see them. Those particular shortcuts are already supported in Totem itself, as long as it is focused, as you said. I don't really see what else could be done.
*** Bug 339343 has been marked as a duplicate of this bug. ***
fixed with the key events sent over dbus and the new GNOME version