How can I add a Unity "quicklist" for Spotify (installed from their website), so that when I right-click on the icon on my dock, I get: "Next, Previous, Stop, Play" and so on?
Ubuntu – Spotify Quicklist for Unity
quicklistsspotifyunity
quicklistsspotifyunity
How can I add a Unity "quicklist" for Spotify (installed from their website), so that when I right-click on the icon on my dock, I get: "Next, Previous, Stop, Play" and so on?
Best Answer
spotify (native linux client)
Since spotify includes an indicator to control some of its functions, this allows us to use
dbus
to send events.There is a great script on ubuntuforums that covers this.
First install a prerequisite:
Now copy and paste the script into a text file called
spcmd
and save this to your home folder.Give it execute rights:
Lets move this to a more useful folder:
Now, lets create a quick list.
First copy the spotify desktop file to your home folder:
Open the file and copy and paste the quick list to the end of the file. Save it.
end result
quicklist
spcmd