If you got spotify installed under wine in Linux it may annoy you that you can’t open spotify url’s from just any application. The howto spotify provides works for firefox but not for chrome or pidgin etc etc.

So here is how to make all your apps (at least in gnome) open spotify url’s.

First of all create the browser2spotify script that’s going to be called when you click on a spotify link, don’t forget to make it executable!

echo ‘#!/bin/sh’ > ~/.browser2spotify
echo ‘exec wine “C:\Program Files\Spotify\spotify.exe” /uri “$@”‘ >> ~/.browser2spotify
chmod 755 ~/.browser2spotify

Now let’s associate spotify URL with the open script by editing gconf. Change USERNAME for your account login name

gconftool-2 -t string -s /desktop/gnome/url-handlers/spotify/command “/home/USERNAME/.browser2spotify”
gconftool-2 -s /desktop/gnome/url-handlers/spotify/needs_terminal false -t bool
gconftool-2 -s /desktop/gnome/url-handlers/spotify/enabled true -t bool

You should now be set and ready to roll.

by-nc
, , ,

SVN is now up and running again. ApacheMap and MonoBackup are on google code:

ApacheMap: https://code.google.com/p/apachegeomap/source/checkout

Mono-backup: https://code.google.com/p/m0n0-backup/source/checkout

wp-rdfa and wp-dephorm are hosted by wordpress:

wp-rdfa: http://svn.wp-plugins.org/wp-rdfa/

wp-dephorm: http://svn.wp-plugins.org/wp-dephorm/

Feel free to download alter and suggest changes again.

by-nc
, , , , , , , , , , , , , , , ,

Here’s a little file to drop into your cowsay to get your very own Square Cow!

If you dont have cowsay installed:

apt-get install cowsay (on any debian/ubuntu system)

Then copy this file you can download to

sudo cp sqcow.cow /usr/share/cowsay/cows/

then simply run:

cowsay -f /usr/share/cowsay/cows/sqcow.cow YOUR-MESSAGE

Your very own SquareCow!

Your very own SquareCow!

Enjoy!

by-nc
, ,
You are protected by wp-dephorm: