Hacker News new | ask | show | jobs
by thrownaway122 4058 days ago
Check out the Arch Linux wiki on this. Spotify apparently plays nicely with the rest of your desktop and you should be able to set up media key short cuts.

Or maybe just use the Clementine add on?

1 comments

I made a script that plays/pauses Spotify through dbus, which I usually execute by opening dmenu. :)

My keyboard has media keys, but I thought I would prefer short textual commands to having to move my hand to the upper right of my keyboard (and probably miss the key if I wasn't looking?).

Yeah media keys are annoying and not present on lots of keyboards. You could map this script via your window manager to something like special-F5 through to special-F8 to back-play/pause-stop-forward...