Spotify
From Arnout Engelen
I'm running spotify in wine.
To make spotify links in last.fm work, I did:
Create an 'openspotify' script:
#!/bin/sh exec wine "C:\Program Files\Spotify\spotify.exe" /uri "$@"
Create a 'spotify.desktop' and put it in ~/.local/share/applications:
[Desktop Entry] Encoding=UTF-8 Name=Spotify Exec=/bin/sh "/home/arnouten/bin/openspotify" Categories=Application Version=1.0 StartupNotify=true Type=Application Terminal=0
Register it as default app for spotify:-links:
xdg-mime default spotify.desktop uri/spotify
... and patch xdg-open: https://bugs.freedesktop.org/show_bug.cgi?id=35700
