Categories
Linux

Open spotify links with native linux client

If you are tired of having to copy and paste all the spotify links on the search field to open them you can configure Firefox and Chrome to open them automatically.

Just copy and paste these lines on a terminal and enjoy. (Browser restart required).

$ gconftool-2 -t string -s /desktop/gnome/url-handlers/spotify/command  "spotify -uri %s"
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/needs_terminal false
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/spotify/enabled true

4 replies on “Open spotify links with native linux client”

Awesome, worked first time and without a browser restart!

I assume this only works for Gnome, so those with KDE/XFCE/whatever are out of luck?

Comments are closed.