RhytmBox: Get global shortcuts keys to work

Why cant things just work… Like in Windows! ;)

It seems like there’s always something that have to get fixed, at least on my current installation of Linux Mint. I shouldn’t complain tho, since I haven’t contributed with any code for any of the applications. But I’ll do it anyway.

There isn’t a way to use global hotkeys/shortcuts with RhytmBox. At least none that I could find. I have no idea if keyboards with media keys work.

I run Linux Mint 22 Cinnamon, maybe it’s different under other Linux distributions.

To make global hotkeys/shortcuts for RhytmBox, I solved it by doing the following:

Click on the Linux Mint “start button”, start “Keyboard”.
Then on “Shortcuts” and select “Custom Shortcuts”.

I guess you can figure it out from here, but anyway, click on “Add Custom Shortcut”.
Name the Shortcut to something like “RhytmBoxNext” or whatever you want.

Copy and past the following command to play the next song:

rhythmbox-client --next

After that, in the box named “Keyboard Bindings”, double click on “Unassigned”.
Choose your keyboard combination. I assigned CTRL + Right Arrow.

To get RhytmBox to play the previous song, add another “Custom Shortcut” and use this command:

rhythmbox-client --previous

There’s more commands that you can add to control RhytmBox. Here’s a list of them:
https://manpages.ubuntu.com/manpages/oracular/en/man1/rhythmbox-client.1.html

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.