Go to settings -> keyboard -> keyboard shortcuts -> custom shortcuts.Place it anywhere you want, I'll assume that it is placed in Downloads folder.Download this file, extract it and make it executable chmod a+x spotify_control.The solution is pretty simple and works on any Linux distribution. There is a simple solution credit goes to this thread on Spotify forum, Thanks to schuellerf and rszabla. Once you validate the above commands, feel free to add them as Key Shortcut.įor Ubuntu, 'Settings > Devices > Keyboard' than add (+) and put the name and copy the commands, than put the keyboard shortcut. Previous dbus-send -print-reply -dest= /org/mpris/MediaPlayer2 .Previous Next dbus-send -print-reply -dest= /org/mpris/MediaPlayer2 .Next Play/Stop dbus-send -print-reply -dest= /org/mpris/MediaPlayer2 .PlayPause Before you add it as a new keyboard command, feel free to execute those commands. Instead of downloading the spotify_control, you use the D-Bus commands. Here is another link i have found that help me and its the same solutions as k2shah mention it, but with more details.