After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311964 - support for XF86/GNOME media keys
support for XF86/GNOME media keys
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
1.0.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 339343 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-07-29 12:58 UTC by Mikel Ward
Modified: 2007-02-08 15:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mikel Ward 2005-07-29 12:58:42 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.
Comment 1 Bastien Nocera 2006-02-09 18:23:52 UTC
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.
Comment 2 Bastien Nocera 2006-04-24 15:07:45 UTC
*** Bug 339343 has been marked as a duplicate of this bug. ***
Comment 3 Sebastien Bacher 2007-02-08 15:49:47 UTC
fixed with the key events sent over dbus and the new GNOME version