<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SquareCows &#187; gnome</title>
	<atom:link href="http://dev.squarecows.com/tag/gnome/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.squarecows.com</link>
	<description>Web Development</description>
	<lastBuildDate>Mon, 06 Sep 2010 21:59:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Open spotify URL&#8217;s from any app in linux/gnome</title>
		<link>http://dev.squarecows.com/2010/03/11/open-spotify-urls-from-any-app-in-linuxgnome/</link>
		<comments>http://dev.squarecows.com/2010/03/11/open-spotify-urls-from-any-app-in-linuxgnome/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 20:00:21 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://dev.squarecows.com/2010/03/11/open-spotify-urls-from-any-app-in-linuxgnome/">Ric_</span></dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://dev.squarecows.com/?p=17751</guid>
		<description><![CDATA[If you got spotify installed under wine in Linux it may annoy you that you can&#8217;t open spotify url&#8217;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&#8217;s. First [...]]]></description>
			<content:encoded><![CDATA[<p>If you got spotify installed under wine in Linux it may annoy you that you can&#8217;t open spotify url&#8217;s from just any application. The howto spotify provides works for firefox but not for chrome or pidgin etc etc.</p>
<p>So here is how to make all your apps (at least in gnome) open spotify url&#8217;s.</p>
<p>First of all create the browser2spotify script that&#8217;s going to be called when you click on a spotify link, don&#8217;t forget to make it executable!</p>
<blockquote><p>echo &#8216;#!/bin/sh&#8217; &gt; ~/.browser2spotify<br />
echo &#8216;exec wine &#8220;C:\Program Files\Spotify\spotify.exe&#8221; /uri &#8220;$@&#8221;&#8216; &gt;&gt; ~/.browser2spotify<br />
chmod 755 ~/.browser2spotify</p></blockquote>
<p>Now let&#8217;s associate spotify URL with the open script by editing gconf. Change USERNAME for your account login name</p>
<blockquote><p>gconftool-2 -t string -s /desktop/gnome/url-handlers/spotify/command &#8220;/home/USERNAME/.browser2spotify&#8221;<br />
gconftool-2 -s /desktop/gnome/url-handlers/spotify/needs_terminal false -t bool<br />
gconftool-2 -s /desktop/gnome/url-handlers/spotify/enabled true -t bool</p></blockquote>
<p>You should now be set and ready to roll.</p>
<div class="acc_license"><a xmlns:cc="http://creativecommons.org/ns#" rel="cc:license" href="http://creativecommons.org/licenses/by-nc/3.0/"><img src="http://i.creativecommons.org/l/by-nc/3.0/88x31.png" alt="by-nc" /></a></div><!--<rdf:RDF xmlns="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><Work rdf:about=""><license rdf:resource="http://creativecommons.org/licenses/by-nc/3.0/" /></Work><License rdf:about="http://creativecommons.org/licenses/by-nc/3.0/"><requires rdf:resource="http://creativecommons.org/ns#Attribution" /><permits rdf:resource="http://creativecommons.org/ns#Reproduction" /><permits rdf:resource="http://creativecommons.org/ns#Distribution" /><permits rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><prohibits rdf:resource="http://creativecommons.org/ns#CommercialUse" /><requires rdf:resource="http://creativecommons.org/ns#Notice" /></License></rdf:RDF>-->]]></content:encoded>
			<wfw:commentRss>http://dev.squarecows.com/2010/03/11/open-spotify-urls-from-any-app-in-linuxgnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
