GNOME Bugzilla – Bug 649222
[regression] global media playback keyboard shortcuts don't work anymore
Last modified: 2011-07-01 12:36:32 UTC
I have set the following shortcuts in gnome-control-center's keyboard shortcuts panel: - F7 to play/pause - F6 to go to the previous track - F8 to go to the next track At the moment, these don't seem to work/do anything at all, even when rhythmbox is focused. This used to work in gnome 2.32.
Those certainly do work here. What makes you think that GNOME is responsible, and not Rhythmbox? Does it work in Totem?
Because it doesn't work in Totem either, indeed :) even after re-setting the shortcut keys mentionned above in gnome-control-center.
Launch "dbus-monitor --session" and press the keys, does anything happen?
Nothing particular seems to happen. # Launching dbus monitor: jeff@kusanagi:~$ dbus-monitor --session signal sender=org.freedesktop.DBus -> dest=:1.1371 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.1371" method call sender=:1.1371 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_call'" method call sender=:1.1371 -> dest=org.freedesktop.DBus serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='method_return'" method call sender=:1.1371 -> dest=org.freedesktop.DBus serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='error'" # And when I press the F6/F7/F8/etc keys, all I get is those things printed in the dbus-monitor terminal: ^[[19~^[[19~^[[18~^
That would mean that either the media-keys plugin is disabled, or it's not capturing the keys correctly. Please, in a running session, rename gnome-settings-daemon to gnome-settings-daemon.bak, kill the running gnome-settings-daemon, and run gnome-settings-daemon.bak by hand with the --debug flag, and attach the output to this bug. Once done, you can rename gnome-settings-daemon back and re-launch it by hand.
Hmm, could you be more specific? I presume you meant doing the following as root: cd /usr/libexec/ mv gnome-settings-daemon gnome-settings-daemon.bak But then, when I "killall gnome-settings-daemon" (as a regular logged-in user), gnome-shell obviously crashes (with an "oh no!" screen) and throws me back to gdm (which seems borked up also).
(In reply to comment #6) > Hmm, could you be more specific? I presume you meant doing the following as > root: > cd /usr/libexec/ > mv gnome-settings-daemon gnome-settings-daemon.bak > > But then, when I "killall gnome-settings-daemon" (as a regular logged-in user), > gnome-shell obviously crashes (with an "oh no!" screen) and throws me back to > gdm (which seems borked up also). Just dismiss the screen with Alt+F4 or minimise it (Alt+Space, select minimise).
Created attachment 188024 [details] gnome-session debug log As requested.
commit bc6561d2b2adbe39e928528dfaba2d129b143952 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Jul 1 13:32:30 2011 +0100 common: Fix function keys not being grabbed Because they were unmodified, and we tried to avoid screwing up the user's keymaps for those. Bug was introduced in 469145ff59fe2a65d603cfeb5011427dc0f7c36b https://bugzilla.gnome.org/show_bug.cgi?id=649222 commit afceb3e697934780b487db1e11e21fb23cbe9e28 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Jul 1 13:28:51 2011 +0100 common: Use defines instead of variables for ranges Seeing as those won't ever change.