Whenever I open a media player (i.e. Rhythmbox, Banshee...), I am able to control them with the media keys (play/pause, next song, etc.). Now I would like to pass those media keys to my web browser as well, so I can control a web player.

I can just disable the "Sound and media" shortcuts in the GNOME Shell's keyboard configuration menu. In the example bellow, I have disabled the play/pause shortcut and, therefore, when I press the play/pause key, it is correctly being sent to my web browser:

enter image description here

But the problem is that this way, although I can control the web player, I can not control the local media player anymore! As I said, I would like to be able to control both of them.

So, what I guess is that GNOME Shell is catching those media keys and searching for those applications that thinks could use them (i.e. local music players), but as it doesn't find any, it just does nothing.

Is there a way to change this behavior? i.e. being able to use the media keys to control both the local media player and the web player with the same keys.

  • The problem here is that gnome-settings-daemon grabs the media keys so if your browser isn't registered as a music application (which it certainly isn't) those keys won't work with your web player. I don't think there's a trivial workaround... – don_crissti May 10 '15 at 20:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.