Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 197540 - Hotkeys / Gnome key bindings must be reset for them to work in Rhythmbox
Summary: Hotkeys / Gnome key bindings must be reset for them to work in Rhythmbox
Alias: None
Product: Fedora
Classification: Fedora
Component: rhythmbox
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
Depends On:
Blocks: FC6Target
TreeView+ depends on / blocked
Reported: 2006-07-03 22:36 UTC by Stewart Adam
Modified: 2007-11-30 22:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-01 22:56:10 UTC

Attachments (Terms of Use)

Description Stewart Adam 2006-07-03 22:36:47 UTC
Description of problem:
Hotkeys or the key bindings set with gnome-keybinding-properties must be
constantly reset each Gnome session for the Rhythmbox player to pick it up

Version-Release number of selected component (if applicable):
rhythmbox-0.9.5-1 (but I think 0.9.4, too)

How reproducible:

Steps to Reproduce:
1. Set your key binding
2. Restart rhythmbox, test if they work. They should.
3. Logout, log back in.
4. Start rhythmbox, and they hotkeys don't work. Check the gnome settings,
they're still set.
5. Re-configure your key settings, and restart rhythmbox
6. They'll work again.
Actual results:
The Gnome key bindings must be reset every time for Rhythmbox to pick them up

Expected results:
For Rhythmbox to 'remember' properly and use the same hotkeys when you log back in.

Additional info:
I know it's something to do with rhythmbox because the same keys that I tried to
use for Rhythmbox are working correctly upon re-login if they're set to volume

Comment 1 Matthias Clasen 2006-07-29 03:34:45 UTC
This works fine here. 
Maybe some other application is stealing your keys, like totem or beagle-search ?

Comment 2 Stewart Adam 2006-08-02 18:43:55 UTC
Nope, no chance there as they're my multimedia keys. I've manually set them with
'setkeycodes'. I also, just to make sure the bug was valid, tried with crazy
combos like < ctrl alt shift 5 > but it still didn't work. I'll try again
though, it's been 2 rhythmnox updates since I created this bug.

Comment 3 Stewart Adam 2006-09-03 18:02:51 UTC
Nope, still happening in rhythmbox-0.9.5-2.

Comment 4 Stewart Adam 2006-09-14 23:54:55 UTC
It seems now that with the rhythmbox I list above and the new Gnome 2.16 even
restarting Rhythmbox doesn't help it "realize" the new keys, and it's not a
Gnome bug because for example I can change the 'Eject' function to the key I
(try to) use for "Next" and it works right away.

I noticed this is on the FC6Target - We're only a month or so away from the
final and it's not assigned yet - Is this because of lack of information? I can
try doing traces if it's needed.

Comment 5 Stewart Adam 2006-09-14 23:55:35 UTC
** Edit: I just noticed that it is indeed assigned to Monty - Shouldn't the bug
status be "ASSIGNED" then?

Comment 6 Matthias Clasen 2006-09-15 01:58:54 UTC
It does not work currently because Ray took out the key grabbing from
gnome-settings-daemon, and will add it to the multimedia apps instead.
I expect him to get back to this soon.

Comment 7 Stewart Adam 2006-10-08 19:21:32 UTC
FC6 is due the 17th - Do you thing Ray will add them back in before then?

Comment 8 Rudi Chiarito 2006-11-01 13:15:24 UTC
Still not working. Used to work with FC5. Should the bug be reassigned to Ray, too?

Comment 9 Alexander Larsson 2006-11-21 09:59:57 UTC
Ray, i'm giving this to you since you seem to be working on the key bindings stuff

Comment 10 Ray Strode [halfline] 2006-11-21 20:03:58 UTC
So the keybinding code is back in control-center (with the restriction that you
can only use it with keys that seem like they're multimedia keys).  The
rhythmbox in tomorrow's rawhide reverts back to depending on control-center to
assign the multimedia keys.

Rudi, can you try the control-center and rhythmbox from rawhide and see if they
fix your problem?  If you're not running rawhide I can push things to

Comment 11 Stewart Adam 2006-11-21 21:28:32 UTC
I'll check tomorrow and post back ASAP. I'm currently running rawhide so
everything should work out OK.

Comment 12 Stewart Adam 2006-11-23 16:37:23 UTC
Seems to work for me now...

Comment 13 Stewart Adam 2006-11-24 13:33:19 UTC
I'm sorry for the mistake, I forgot to logout and check if they still work -
This morning when I logged in again the hotkeys didn't work.

Comment 14 Stewart Adam 2006-11-28 00:47:05 UTC
This is odd - This time they work. Two times it didn't, it does now, I'll come
back to let you know what happens the next time I log on.

Comment 15 Stewart Adam 2007-01-28 17:52:36 UTC
Not working anymore with :

Comment 16 Bastien Nocera 2007-01-30 16:18:55 UTC
(In reply to comment #15)
> Not working anymore with :
> control-center-2.17.90-2.fc7
> rhythmbox-0.9.7-6.fc7

Recent control-centers use D-Bus to push the multimedia keys to the
applications, rather than set the keysyms. Rhythmbox hasn't been updated for
that just yet[1]

Are your keys mapped using the control-center, or "by hand"? Could you please
double-check whether "xev" shows the right keysym for those keys?

[1]: see

Comment 17 Stewart Adam 2007-01-30 22:34:53 UTC
I'm currently using a 'Generic 105 key' keyboard layout, no keys set by hand.
xev shows the keys (I have three) being pressed but keysym is 0x0... Although
Gnome shows the keysyms fine, they are or similar to something like 0x90a.
Either way, it works for other bindings such as Eject, so I doubt that's the issue.

Comment 18 Bastien Nocera 2007-01-30 23:17:45 UTC
Yeah, that's definitely the above problem. The old multimedia keys code was
completely busted (I wrote it myself, but the way of doing things changed and we
ended up with a broken system[1]), so it has now changed to using D-Bus to push
the key events to the media players.

I'll do a build with the upstream patch as soon as I can, it should fix your
particular problem.

[1]: ACME used to handle only keycodes, when we merged it in the GNOME
control-center, we started handling keys with keysyms, and it completely broke
some assumptions that were made in the code.

Comment 19 Bastien Nocera 2007-01-31 17:19:01 UTC
Should be fixed in rhythmbox-0.9.7-11.fc7, let me know if it fixes it for you.

Comment 20 Stewart Adam 2007-02-01 22:56:10 UTC
Works again.

Note You need to log in before you can comment on or make changes to this bug.