play

Ubuntu: Enabling Media Keys for Spotify

Updated Feb 2019 based on Spotify updates that broke this functionality. If the keyboard media keys do not work from your Ubuntu desktop, you can use D-Bus support to send the proper commands to Spotify.  Validate the following commands from the console: