<?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>Tas-te coto! &#187; linux</title>
	<atom:link href="http://www.tracalet.org/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tracalet.org</link>
	<description>Els tracalets porten feina</description>
	<lastBuildDate>Sat, 10 Jul 2010 00:43:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Spotify URL in Linux (GNOME)</title>
		<link>http://www.tracalet.org/archives/280</link>
		<comments>http://www.tracalet.org/archives/280#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:10:39 +0000</pubDate>
		<dc:creator>josep</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[spotify]]></category>

		<guid isPermaLink="false">http://www.tracalet.org/?p=280</guid>
		<description><![CDATA[If you want to use Spotify on Linux, you&#8217;ll have to execute it in wine, which works great most of the times. There are even easy instructions on the Spotify&#8217;s website how to configure it for best results. The website has also instructions how to install a spotify:// URL handler, but these are bit ugly [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use <a title="Spotify" href="http://www.spotify.com/">Spotify</a> on Linux, you&#8217;ll have to execute it in <a title="Wine" href="http://www.winehq.org/">wine</a>, which works great most of the times. There are even<a title="Instructions" href="http://www.spotify.com/en/help/faq/wine/"> easy instructions</a> on the Spotify&#8217;s website how to configure it for best results.</p>
<p>The website has also instructions how to install a spotify:// URL handler, but these are bit ugly and only work for Firefox and Epiphany. There is a nicer way of doing this in GNOME, and this is by using gconftool and installing them in gconf, this way all applications will know how to handle a given URL. In a terminal window, just type:</p>
<pre>gconftool-2 --set --type=string /desktop/gnome/url-handlers/spotify/command 'wine "C:\Program Files\Spotify\spotify.exe" /uri "%s"'
gconftool-2 --set --type=boolean /desktop/gnome/url-handlers/spotify/enabled true
gconftool-2 --set --type=boolean /desktop/gnome/url-handlers/spotify/need-terminal false</pre>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tracalet.org/archives/280/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sense teclat</title>
		<link>http://www.tracalet.org/archives/122</link>
		<comments>http://www.tracalet.org/archives/122#comments</comments>
		<pubDate>Fri, 19 Sep 2008 21:47:10 +0000</pubDate>
		<dc:creator>josep</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[softcatalà]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.tracalet.org/?p=122</guid>
		<description><![CDATA[Resulta que avui m&#8217;he adonat que hi havia actualitzacions disponibles per al meu sistema, Fedora 9. Entre les actualitzacions hi havia paquets relatius al sistema gràfic. Malauradament quan he arrencat de nou l&#8217;ordinador m&#8217;he trobat que el teclat no anava. Al principi he pensat que potser pitjant les tecles més fort i renegant al mateix [...]]]></description>
			<content:encoded><![CDATA[<p>Resulta que avui m&#8217;he adonat que hi havia actualitzacions disponibles per al meu sistema, <a title="Projecte Fedora" href="http://fedoraproject.org/">Fedora 9</a>. Entre les actualitzacions hi havia paquets relatius al sistema gràfic. Malauradament quan he arrencat de nou l&#8217;ordinador m&#8217;he trobat que el teclat no anava. Al principi he pensat que potser pitjant les tecles més fort i renegant al mateix temps tot se solucionaria, però no. També he insultat el teclat, en català primer, i en suec després, perquè aquest és un teclat suec, però sembla que aquesta mena de coses inanimades no reaccionen al reguitzell d&#8217;amenaces que els he proferit.</p>
<p>Quan ja m&#8217;ha passat el rampell, després, això sí, de preguntar-me diverses vegades si aquesta bona gent que fa paquets de programari realment comprova que funcionin, he mirat el registre del sistema per si hi veia cap missatge d&#8217;error, i hi he trobat això:<br />
<code><br />
(II) Cannot locate a core pointer device.<br />
(II) Cannot locate a core keyboard device.<br />
(II) The server relies on HAL to provide the list of input devices.</code><br />
<code>If no devices become available, reconfigure HAL or disable AllowEmptyIntput.</code></p>
<p>Es veu que no sóc l&#8217;única víctima, i algú ja ha indicat <a title="USB keyboard and mouse stopped working" href="http://www.redhat.com/archives/fedora-list/2008-September/msg02171.html">com solucionar el problema</a>, si més no temporalment perquè espero que <a href="https://bugzilla.redhat.com/show_bug.cgi?id=462606">aquest problema</a> sigui temporal. Tot el que cal fer és crear el fitxer <code>/etc/X11/xorg.conf</code> que contingui simplement el següent:<br />
<code><br />
Section "ServerFlags"<br />
Option      "AllowEmptyInput" "off"<br />
EndSection<br />
</code><br />
Es pot fer des de la consola (prement &lt;alt&gt;+&lt;F1&gt;, casualment per això sí que va el teclat), i entrant com a administrador del sistema (root). Després només cal reinicialitzar l&#8217;entorn gràfic, per exemple escrivint <code>gdm-stop</code> (aquesta ordre l&#8217;atura, però es reinicia automàticament).</p>
<p>Curiosament això arriba en un moment en què a Fedora es discutia <a href="http://fedoraproject.org/wiki/FWN/Issue143#Non-X_System_Consoles_to_be_Removed">suprimir per defecte les consoles de text</a>. No sé pas com m&#8217;ho hauria fet sense la consola de text&#8230;</p>
<p>Les males experiències també tenen la seva part positiva, i ara que ja puc fer servir el teclat estic més convençut que el Linux és cada dia més a prop d&#8217;assolir la fita de conquerir tots els escriptoris  del món <img src='http://www.tracalet.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
<p>En un altre ordre de coses, val la pena llegir l&#8217;<a title="Allò que calla el diari El País" href="http://www.vilaweb.cat/www/mailobert?id=3001299">article d&#8217;avui</a> d&#8217;en <a title="Vicent Partal" href="http://blocs.mesvilaweb.cat/bloc/38">Vicent Partal</a> a <a title="Vilaweb" href="http://www.vilaweb.cat/">VilaWeb</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tracalet.org/archives/122/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
