Skip to content

Open Spotify links in konqueror

December 28, 2009
tags: ,

Just a brief post to explain how you can open spotify links in konqueror. This is not my “invention”, but now I cannot find the source. Hence writing the howto here for me and potentially others that are interested in the info. I found the following recipe in Finnish, but I am quite sure I read an English one when I did this the first time.

First you need a short script. I call it “”. It should contain the following two lines:

wine "$HOME/.wine/drive_c/Program Files/Spotify/spotify.exe" /uri "$1"

Give it executable (chmod +x ‘scriptname’) and put this somewhere in your $PATH, like e.g. /usr/bin/

Then you create the file ~/.kde/share/kde4/services/spotify.protocol with the following content:

exec=/usr/bin/ "%u"

After this, clicking on a spotify: link in a KDE program will open the link in spotify.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: