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

Comments

  1. exactly what I was looking for, gracias!

    Comment by BiAiB -
  2. 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?

    Comment by bramp -
    • Yep, this is Gnome only.

      I’m glad it worked for you

      Comment by Hugo Chinchilla -
  3. Muchas gracias !

    Me has alegrado la tarde 🙂

    Comment by Yae -

Leave a Reply

Your email address will not be published. Required fields are marked *