<?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>D&#039;oh! &#187; Tips</title>
	<atom:link href="http://pabloseminario.com/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://pabloseminario.com</link>
	<description>pabluk&#039;s blog</description>
	<lastBuildDate>Thu, 15 Sep 2011 23:16:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Solr on Debian 6.0</title>
		<link>http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/</link>
		<comments>http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 22:23:54 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://pabloseminario.com/?p=478</guid>
		<description><![CDATA[Recently I&#8217;ve been working on a Django project that uses the Haystack search API and the Solr search engine to perform full text searching on indexed data. This project was initially deployed on a Debian 5.0 (Lenny) server with some issues with Tomcat, but using the latest stable release of Debian (code named Squeeze) install]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been working on a Django project that uses the <a title="Haystack - Search for Django" href="http://haystacksearch.org/" target="_blank">Haystack</a> search API and the <a title="Apache Solr" href="http://lucene.apache.org/solr/" target="_blank">Solr</a> search engine to perform full text searching on indexed data.<br />
This project was initially deployed on a Debian 5.0 (Lenny) server with some issues with Tomcat, but using the latest stable release of Debian (code named <a title="Debian Squeeze" href="http://www.debian.org/releases/squeeze/" target="_blank">Squeeze</a>) install Tomcat 6 and Solr is very easy.<br />
Just run the following</p>
<pre class="brush:bash; light: true;">apt-get install tomcat6 tomcat6-admin</pre>
<p>download and install the latest version of <a title="Solr download mirrors" href="http://www.apache.org/dyn/closer.cgi/lucene/solr/" target="_blank">Solr</a></p>
<pre class="brush:bash; light: true;">wget http://apache.cict.fr//lucene/solr/1.4.1/apache-solr-1.4.1.tgz
tar xvfz apache-solr-1.4.1.tgz
cd apache-solr-1.4.1
cp dist/apache-solr-1.4.1.war /var/lib/tomcat6/webapps/solr.war
cp -fr example/solr /var/lib/tomcat6/
chown -R tomcat6:tomcat6 /var/lib/tomcat6/solr</pre>
<p>after install Solr you need to restart the tomcat6 service</p>
<pre class="brush:bash; light: true;">/etc/init.d/tomcat6 restart</pre>
<p>And voilà, Solr is running. Point your browser to http://localhost:8080/solr/admin this should show the Solr Admin interface.</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2011/02/22/installing-solr-on-debian-6-0/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Le greffon OpenSubtitles de Totem</title>
		<link>http://pabloseminario.com/2010/05/25/le-greffon-opensubtitles-de-totem/</link>
		<comments>http://pabloseminario.com/2010/05/25/le-greffon-opensubtitles-de-totem/#comments</comments>
		<pubDate>Tue, 25 May 2010 20:18:53 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pabloseminario.com.ar/?p=336</guid>
		<description><![CDATA[Si vous n&#8217;avez pas encore mis à jour votre système Ubuntu vers la dernière version 10.04 « Lucid Lynx » et si vous utilisez le greffon de téléchargement de sous-titres du lecteur vidéo Totem, vous remarquerez que le greffon ne marche plus. Cela est dû à un changement de l&#8217;API XML-RPC du site opensubtitles.org. Mais]]></description>
			<content:encoded><![CDATA[<p>Si vous n&#8217;avez pas encore mis à jour votre système Ubuntu vers la dernière version 10.04 « Lucid Lynx » et si vous utilisez le greffon de téléchargement de sous-titres du lecteur vidéo Totem, vous remarquerez que le greffon ne marche plus. Cela est dû à un changement de l&#8217;<a href="http://trac.opensubtitles.org/projects/opensubtitles/wiki/XMLRPC" target="_blank">API XML-RPC</a> du site <a href="http://www.opensubtitles.org" target="_blank">opensubtitles.org</a>.</p>
<p>Mais bon pour le corriger, sans mettre à jour votre système Ubuntu 9.10, vous pouvez ouvrir un terminal et lancez la commande suivante</p>
<pre class="brush:bash; light: true;">cd /usr/lib/totem/plugins/opensubtitles/
sudo sed -i 's/www/api/' opensubtitles.py</pre>
<p>Ainsi, vous pouvez continuer à télécharger vos sous-titres sans problème.</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2010/05/25/le-greffon-opensubtitles-de-totem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Metacity Window Buttons</title>
		<link>http://pabloseminario.com/2010/03/10/metacity-window-buttons/</link>
		<comments>http://pabloseminario.com/2010/03/10/metacity-window-buttons/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 23:24:58 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pabloseminario.com.ar/?p=247</guid>
		<description><![CDATA[Una simple herramienta para configurar los botones de Metacity (el window manager del escritorio GNOME). Si estas usando Ubuntu Karmic Koala y querés configurar los botones para que se vean como en la nueva versión Lucid Lynx. O si usas Lucid Lynx y querés volver la configuración al estilo de Karmic Koala, lo podés hacer]]></description>
			<content:encoded><![CDATA[<p>Una simple herramienta para configurar los botones de Metacity (el window manager del escritorio GNOME).<br />
Si estas usando Ubuntu Karmic Koala y querés configurar los botones para que se vean como en la nueva versión Lucid Lynx. O si usas Lucid Lynx y querés volver la configuración al estilo de Karmic Koala, lo podés hacer sin tener que usar el editor de configuraciones de GNOME (gconf-editor).<br />
Me parece muy bueno el cambio en los botones de las ventanas para la nueva versión de Ubuntu, para hacerlo diferente, único. Costará un poco adaptarse pero es como todo, por eso yo ya cambié el estilo de los botones en mi Karmic <img src='http://pabloseminario.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . De todas formas si a alguien no le gusta lo puede cambiar a su gusto, incluso si lo preferís, podés sacar todos los botones de las ventanas <img src='http://pabloseminario.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <br />

<a href='http://pabloseminario.com/2010/03/10/metacity-window-buttons/pantallazo/' title='Pantallazo'><img width="150" height="150" src="http://pabloseminario.com/wp-content/uploads/2010/03/Pantallazo1-150x150.jpg" class="attachment-thumbnail" alt="Pantallazo" title="Pantallazo" /></a>
<a href='http://pabloseminario.com/2010/03/10/metacity-window-buttons/screenshot-3-2/' title='Screenshot-3'><img width="150" height="150" src="http://pabloseminario.com/wp-content/uploads/2010/03/Screenshot-31-150x150.jpg" class="attachment-thumbnail" alt="Screenshot-3" title="Screenshot-3" /></a>
<a href='http://pabloseminario.com/2010/03/10/metacity-window-buttons/screenshot-2-2/' title='Screenshot-2'><img width="150" height="150" src="http://pabloseminario.com/wp-content/uploads/2010/03/Screenshot-21-150x150.jpg" class="attachment-thumbnail" alt="Screenshot-2" title="Screenshot-2" /></a>
<a href='http://pabloseminario.com/2010/03/10/metacity-window-buttons/screenshot-1-2/' title='Screenshot-1'><img width="150" height="150" src="http://pabloseminario.com/wp-content/uploads/2010/03/Screenshot-11-150x150.jpg" class="attachment-thumbnail" alt="Screenshot-1" title="Screenshot-1" /></a>
<a href='http://pabloseminario.com/2010/03/10/metacity-window-buttons/screenshot-5/' title='Screenshot'><img width="150" height="150" src="http://pabloseminario.com/wp-content/uploads/2010/03/Screenshot2-150x150.jpg" class="attachment-thumbnail" alt="Screenshot" title="Screenshot" /></a>
<br />
Este es el enlace a la página de <a href="https://launchpad.net/mwbuttons/+download">descarga</a>.<br />
Y estos son los pasos para descargarlo y ejectuarlo desde una terminal</p>
<pre class="brush:bash; light: true; auto-links: false;">wget http://launchpad.net/mwbuttons/trunk/v0.2/+download/mwbuttons
chmod +x
./mwbuttons</pre>
<p>La aplicación esta hosteada en <a href="https://launchpad.net/mwbuttons">Launchpad</a> y la idea inicial fue solo para probar el módulo gconf de Python y el plugin de Launchpad para Bazaar.</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2010/03/10/metacity-window-buttons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ext4 support in Ubuntu Intrepid 8.10</title>
		<link>http://pabloseminario.com/2009/07/01/ext4-support-in-ubuntu-intrepid-8-10/</link>
		<comments>http://pabloseminario.com/2009/07/01/ext4-support-in-ubuntu-intrepid-8-10/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 01:34:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=46</guid>
		<description><![CDATA[This is just a simple tip to use ext4 filesystems in Ubuntu Intrepid Ibex 8.10. In Ubuntu Jaunty ext4 filesystems is fully supported but in Intrepid was in developing. To use it we must load the module ext4dev sudo modprobe ext4dev to check the filesystems supported by the kernel we can do cat /proc/filesystems there]]></description>
			<content:encoded><![CDATA[<p>This is just a simple tip to use ext4 filesystems in Ubuntu Intrepid Ibex 8.10.<br />
In Ubuntu Jaunty ext4 filesystems is fully supported but in Intrepid was in developing.<br />
To use it we must load the module <span style="font-family: monospace;">ext4dev</span></p>
<pre class="brush:bash; light: true;">sudo modprobe ext4dev</pre>
<p>to check the filesystems supported by the kernel we can do</p>
<pre class="brush:bash; light: true;">cat /proc/filesystems</pre>
<p>there should be a line with <span style="font-family: monospace;">ext4dev</span>.<br />
Now, if we try to mount a formatted partition as ext4, will see that we can not do</p>
<pre class="brush:bash; light: true;">sudo dmesg | tail</pre>
<p>shows a line that says</p>
<pre class="brush:bash; light: true;">EXT4-fs: sda2: not marked OK to use with test code.</pre>
<p>to solve it we need to enable <span style="font-family: monospace;">test_fs</span>, an extended option for ext4 partitions</p>
<pre class="brush:bash; light: true;">sudo tune2fs -E test_fs /dev/sda1</pre>
<p>Now, we can mount it without problems</p>
<pre class="brush:bash; light: true;">sudo mount -t ext4dev /dev/sda1 /mnt/disk</pre>
<p>That&#8217;s all folks!</p>
<p><span style="font-style: italic;">Note 1: replace sda1 by the appropiate device<br />
Note 2: sorry for my english <img src='http://pabloseminario.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2009/07/01/ext4-support-in-ubuntu-intrepid-8-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bluetoothificando mi música!</title>
		<link>http://pabloseminario.com/2009/05/27/bluetoothificando-mi-musica/</link>
		<comments>http://pabloseminario.com/2009/05/27/bluetoothificando-mi-musica/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:23:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=42</guid>
		<description><![CDATA[Este es un post rápido de como poner un headset Bluetooh en un equipo de sonido para escuchar la música de mi laptop en forma inalámbrica. Lo que necesité fue el headset Bluetooth que consiguio mi chica por €4, un capacitor de 220µF y un pedazo de cable con un conector USB macho. En Linux]]></description>
			<content:encoded><![CDATA[<p><a href="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_S6-Xe-vI/AAAAAAAAHNs/xsvwpK7cN7E/s1600-h/dscn7342.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318701595563588338" style="float: left; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_S6-Xe-vI/AAAAAAAAHNs/xsvwpK7cN7E/s200/dscn7342.jpg" border="0" alt="" /></a><br />
Este es un post rápido de como poner un headset Bluetooh en un equipo de sonido para escuchar la música de mi laptop en forma inalámbrica.<br />
Lo que necesité fue el <a href="http://cgi.ebay.fr/Slim-A2DP-Stereo-Bluetooth-Headphone-Headset-Black_W0QQitemZ280327232988QQcmdZViewItemQQptZFR_YO_Informatique_Peripheriques_CasquesMicros?hash=item280327232988&amp;_trksid=p3286.c0.m14&amp;_trkparms=72%3A1526|66%3A2|65%3A12|39%3A1|240%3A1318" target="_blank">headset Bluetooth</a> que consiguio mi chica por €4, un capacitor de 220µF y un pedazo de cable con un conector USB macho. En Linux este no es mas que otro dispositivo de audio al que se le puede redireccionar cualquier fuente de sonido.<br />
La ventaja de este headset es que tiene una salida para los auriculares, que se puede utilizar para alimentar la entrada auxiliar de mi equipo de sonido. Pero no todo es tan bueno, el problema es que el conector donde se  conecta la salida de audio es el mismo donde se conecta el cargador para la batería interna, el dispositivo contiene una batería recargable que dura aproximadamente 4 horas de reproducción continua, y como usa el mismo conector no se puede escuchar música mientras se está cargando. Así que había que modificarlo para que quedara embebido en mi equipo de sonido.<br />
Las imágenes hablan por si solas<br />
<span id="more-42"></span><br />
1. Todos los materiales<br />
<a href="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_R1c8MRGI/AAAAAAAAHNk/WMXotg1naz8/s1600-h/dscn7338.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318700401179772002" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_R1c8MRGI/AAAAAAAAHNk/WMXotg1naz8/s200/dscn7338.jpg" border="0" alt="" /></a></p>
<p>2. El headset Bluetooth con sus accesorios</p>
<p><a href="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_R1YpLKHI/AAAAAAAAHNc/zVmc-8HqPjE/s1600-h/dscn7351.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318700400026265714" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_R1YpLKHI/AAAAAAAAHNc/zVmc-8HqPjE/s200/dscn7351.jpg" border="0" alt="" /></a><br />
3. Reemplazando la bateria interna por el cable USB.</p>
<p><a href="http://4.bp.blogspot.com/_q0bemMki3uo/Sc_Vz9AHprI/AAAAAAAAHN8/isQnhfUA5GM/s1600-h/dscn7350.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318704773472954034" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://4.bp.blogspot.com/_q0bemMki3uo/Sc_Vz9AHprI/AAAAAAAAHN8/isQnhfUA5GM/s200/dscn7350.jpg" border="0" alt="" /></a></p>
<p>4. Colocando el capacitor de 220µF.</p>
<p><a href="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_Vz58RcTI/AAAAAAAAHOE/tcmNNUe7GZI/s1600-h/dscn7353.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318704772651512114" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_Vz58RcTI/AAAAAAAAHOE/tcmNNUe7GZI/s200/dscn7353.jpg" border="0" alt="" /></a></p>
<p>5. Todo reemplazado</p>
<p><a href="http://1.bp.blogspot.com/_q0bemMki3uo/Sc_Vza0WARI/AAAAAAAAHN0/5Z-qv2kXEc8/s1600-h/dscn7349.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318704764296757522" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://1.bp.blogspot.com/_q0bemMki3uo/Sc_Vza0WARI/AAAAAAAAHN0/5Z-qv2kXEc8/s200/dscn7349.jpg" border="0" alt="" /></a></p>
<p>6. La parte trasera del equipo</p>
<p><a href="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_V0GsJNuI/AAAAAAAAHOM/VQtgAmlqEFI/s1600-h/dscn7355.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318704776073524962" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 150px; height: 200px;" src="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_V0GsJNuI/AAAAAAAAHOM/VQtgAmlqEFI/s200/dscn7355.jpg" border="0" alt="" /></a></p>
<p>7. Desarmado</p>
<p><a href="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_V0KygOTI/AAAAAAAAHOU/7ashM6Xr9vk/s1600-h/dscn7357.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318704777173940530" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_V0KygOTI/AAAAAAAAHOU/7ashM6Xr9vk/s200/dscn7357.jpg" border="0" alt="" /></a></p>
<p>8. Adaptando el cargador que incluye el headset para dejarlo fijo</p>
<p><a href="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_WSXsrL2I/AAAAAAAAHOc/_IzL3iF1Ggw/s1600-h/dscn7358.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318705296035229538" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_WSXsrL2I/AAAAAAAAHOc/_IzL3iF1Ggw/s200/dscn7358.jpg" border="0" alt="" /></a></p>
<p>9. Todo conectado</p>
<p><a href="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_WSkFCrSI/AAAAAAAAHOs/lfjlZk--Fh0/s1600-h/dscn7363.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318705299358657826" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_q0bemMki3uo/Sc_WSkFCrSI/AAAAAAAAHOs/lfjlZk--Fh0/s200/dscn7363.jpg" border="0" alt="" /></a></p>
<p>10. Y voilà!<br />
<a href="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_WSueDjnI/AAAAAAAAHO0/RFOCIA8rwLw/s1600-h/dscn7367.jpg" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"><img id="BLOGGER_PHOTO_ID_5318705302147927666" style="float: none; margin: 0 10px 10px 0; cursor: hand; width: 150px; height: 200px;" src="http://3.bp.blogspot.com/_q0bemMki3uo/Sc_WSueDjnI/AAAAAAAAHO0/RFOCIA8rwLw/s200/dscn7367.jpg" border="0" alt="" /></a></p>
<p>Después la configuración en Linux, no es complicada, sobretodo en las últimas versiones del kernel y usando <a href="http://pulseaudio.org/" target="_blank">pulseaudio</a>. Y en casi todos los reproductores de sonido (Rhythmbox, Amarok, MPlayer) podemos configurar que dispositivo de salida queremos usar.<br />
Con eso ya puedo mantener mi laptop más wireless y escuchar música desde cualquier rincón de mi departamento de 20 mts² <img src='http://pabloseminario.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2009/05/27/bluetoothificando-mi-musica/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>GNOME Do: lo más cercano a que te lean la mente</title>
		<link>http://pabloseminario.com/2009/04/24/gnome-do-lo-mas-cercano-a-que-te-lean-la-mente/</link>
		<comments>http://pabloseminario.com/2009/04/24/gnome-do-lo-mas-cercano-a-que-te-lean-la-mente/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 15:54:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=40</guid>
		<description><![CDATA[Como dice su homepage &#8220;GNOME Do allows you to quickly search for many items present on your desktop or the web, and perform useful actions on those items&#8221; En otras palabras, permite ejecutar acciones de cualquier tipo dentro de GNOME con solo escribir algunos caracteres de la primera palabra que se nos viene a la]]></description>
			<content:encoded><![CDATA[<p>Como dice su <a href="http://do.davebsd.com/" target="_blank">homepage</a></p>
<div style="padding-left: 10px; padding-right: 10px;"><span style="font-style:italic;">&#8220;GNOME Do allows you to quickly search for many items present on your desktop or the web, and perform useful actions on those items&#8221;</span></div>
<p>En otras palabras, permite ejecutar acciones de cualquier tipo dentro de GNOME con solo escribir algunos caracteres de la primera palabra que se nos viene a la mente sobre lo que queremos hacer.<br />
Se puede reproducir música, abrir documentos, twittear, suspender, etc, etc&#8230; todo sin quitar las manos del teclado.</p>
<p>Lo más útil de GNOME últimamente!</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2009/04/24/gnome-do-lo-mas-cercano-a-que-te-lean-la-mente/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Castellanizando mi teclado!</title>
		<link>http://pabloseminario.com/2008/10/31/castellanizando-mi-teclado/</link>
		<comments>http://pabloseminario.com/2008/10/31/castellanizando-mi-teclado/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 01:45:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=34</guid>
		<description><![CDATA[Mi eeePC viene con teclado en inglés, lo que no es muy útil para escribir textos en español. Y existen muchas formas y recetas para cambiar la configuración del teclado, entre algunas está la de ponerlo en español y adivinar de memoria donde esta cada tecla, otros sugieren cambiar las teclas usando xmodmap y creando]]></description>
			<content:encoded><![CDATA[<p>Mi <a href="http://www.asus.com/products.aspx?l1=24&amp;l2=164&amp;l3=0&amp;l4=0&amp;model=2303&amp;modelmenu=1" target="_blank">eeePC</a> viene con teclado en inglés, lo que no es muy útil para escribir textos en español. Y existen muchas formas y <span style="font-style:italic;">recetas</span> para cambiar la configuración del teclado, entre<br />
algunas está la de ponerlo en español y adivinar de memoria donde esta cada tecla, otros sugieren cambiar las teclas usando <span style="font-family:monospace;">xmodmap</span> y creando un archivo <span style="font-family:monospace;">.Xmodmap</span> en el home, o editando <span style="font-family:monospace;">xorg.conf</span>. Pero la forma más fácil que encontré para hacerlo en <span style="font-style:italic;">Ubuntu</span> con <span style="font-style:italic;">Gnome</span> es ir a <span style="font-style:italic;">Sistema-&gt;Preferencias-&gt;Teclado</span> y ahí dentro de la solapa <span style="font-style:italic;">Distribuciones</span>, añadir la distribución <span style="font-style:italic;">EEUU</span> y seleccionar como variante <span style="font-style:italic;">Internacional (AltGr dead keys)</span> y voil&amp;agrave! De esta forma ya se pueden agregar, usando la tecla <span style="font-family:monospace;">ALT</span> derecha, las vocales acentuadas, la ñ y algunas otras.</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2008/10/31/castellanizando-mi-teclado/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Webcam shots and the Picasa Web Data API</title>
		<link>http://pabloseminario.com/2008/06/03/webcam-shots-and-the-picasa-web-data-api/</link>
		<comments>http://pabloseminario.com/2008/06/03/webcam-shots-and-the-picasa-web-data-api/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 13:20:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=21</guid>
		<description><![CDATA[Hace unos días estuve probando darle algún otro uso a la webcam de mi latop. Y terminé probando esto. Capturar imágenes con la webcam y enviarlas a un webserver, en este caso como no tengo un hosting ni tengo forma de llegar al puerto 80 de mi router desde internet, se me ocurrió usar la]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/pabluk/Webcam/photo#5196300634587782386" target="_blank"><img style="float: left; margin:0 10px 0 0;" src="http://lh3.ggpht.com/pabluk/SBz35V693PI/AAAAAAAAEFM/5eoiK7IuW-0/s144/Picture18.jpg" alt="" /></a><br />
Hace unos días estuve probando darle <span style="text-decoration: line-through;">algún</span> otro uso a la webcam de mi latop. Y terminé probando esto.<br />
Capturar imágenes con la webcam y enviarlas a un webserver, en este caso como no tengo un hosting ni tengo forma de llegar al puerto 80 de mi router desde internet, se me ocurrió usar la <a href="http://code.google.com/apis/picasaweb/overview.html" target="_blank">API</a> de Picasa Web para subir las fotos a un álbum desde un script.<br />
Para capturar las imágenes probé varios programas que están en los repos de Ubuntu, pero termine usando <a href="http://www.firestorm.cx/fswebcam/" target="_blank">fswebcam</a> que no está en los repos, más que nada porque soporta <span style="font-family:monospace;">v4l2</span>, que es el driver con el que funciona mi webcam.<br />
Con fswebcam tomo la foto, le seteo el tamaño, un titulo, etc. Y usando <span style="font-family:monospace;">curl</span> subo la imagen a un álbum público de Picasa Web. La <a href="http://code.google.com/apis/picasaweb/overview.html" target="_blank">API</a> de Picasa Web está bastante documentada así que no hubo muchos problemas para hacerlo.<br />
Acá están los scripts para capturar la imagen y para subirla a Picasa Web.</p>
<pre class="brush: shell;">
#!/bin/sh

fswebcam  --resolution 640x480 --timestamp "%d.%m.%Y %H:%M GMT-03:00" \
          --banner-colour "#AA000000" --line-colour "#ff000000" --skip 50 \
          --loop 30 --title "PaBLuK" \
          --font "/usr/share/fonts/truetype/freefont/FreeSans.ttf:10" \
          --exec subirFotoPicasa.sh ~/webcamshots/habitacion.jpg
</pre>
<p>Con la opción <span style="font-family:monospace;">&#8211;exec</span> ejecuta el script que sube la imagen después de capturada.</p>
<pre class="brush: shell">
#!/bin/bash

FOTO="/home/pabluk/webcamshots/habitacion.jpg"

AUTHKEY="$(curl --silent https://www.google.com/accounts/ClientLogin \
                --data Email=pabluk@gmail.com --data Passwd=eltuyo \
                --data accountType=GOOGLE --data source=Google-cURL-Example \
                --data service=lh2 | grep Auth)"

FOTOID="$(curl --silent --header "Authorization: GoogleLogin $AUTHKEY" \
      "http://picasaweb.google.com/data/feed/api/user/pabluk/album/Webcam?kind=photo" \
      | tidy -quiet -xml|grep -A 1 edit-media|grep href| cut -d "'" -f 2)"

curl --silent --request PUT --data-binary "@$FOTO" --header "Content-Type: image/jpg" \
     --header "Authorization: GoogleLogin $AUTHKEY" "$FOTOID" | tidy -quiet -xml
</pre>
<p>En estas líneas se autentifica, toma el id de la imagen dentro del albúm, en mi caso el álbum se llama Webcam, y con la última línea sube y reemplaza la imagen.</p>
<p>Lo bueno:</p>
<ul>
<li>No se necesita tener un hosting.</li>
<li>No me preocupo por el BW consumido, que no es poco.</li>
</ul>
<p>Lo malo:</p>
<ul>
<li>No se puede agregar Javascript o algo para recargar la página de la foto automáticamente desde Picasa Web.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2008/06/03/webcam-shots-and-the-picasa-web-data-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Usando nautilus-scripts</title>
		<link>http://pabloseminario.com/2008/05/28/usando-nautilus-scripts/</link>
		<comments>http://pabloseminario.com/2008/05/28/usando-nautilus-scripts/#comments</comments>
		<pubDate>Wed, 28 May 2008 19:40:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=19</guid>
		<description><![CDATA[Me sucedió varias veces que necesito enviar por mail alguna foto que estoy viendo con Nautilus, y la mayoría de las veces son fotos de 2560&#215;1920 píxeles, y es un perno tener que estar cambiandoles el tamaño, sobre todo si son muchas fotos. Así que arme este script pedorro para Nautilus, con el que selecciono]]></description>
			<content:encoded><![CDATA[<p>Me sucedió varias veces que necesito enviar por mail alguna foto que estoy viendo con Nautilus, y la mayoría de las veces son fotos de 2560&#215;1920 píxeles, y es un perno tener que estar cambiandoles el tamaño, sobre todo si son muchas fotos.<br />
Así que arme este script pedorro para Nautilus, con el que selecciono los archivos desde Nautilus, me los convierte y me los copia al desktop.</p>
<div class="code">
<pre>#!/bin/bash

TO="$HOME/Escritorio"

echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | while read FILE ; do
    if [ -n "$FILE" ]; then
            if [ `file -b "$FILE" | cut -b -4` = "JPEG" ]; then
                FILENAME=`basename "$FILE"`
                if [ ! -f "$TO/$FILENAME" ]; then
                    convert -resize 800x600 "$FILE" "$TO/$FILENAME"
                fi
            fi
        fi
done</pre>
</div>
<p>Hay que grabarlo, por ejemplo, como <span style="font-family:monospace;">Img2Desktop</span>, darle permisos de ejecución y copiarlo en <span style="font-family:monospace;">.gnome2/nautilus-scripts/</span> para usarlo hay que seleccionar una o varias imágenes desde Nautilus, click derecho y dentro del menú scripts seleccionar <span style="font-family:monospace;">Img2Desktop</span>.<br />
Hay que tener en cuenta que para la conversión de las imágenes usa <span style="font-family:monospace;">convert</span> incluido en el paquete <span style="font-family:monospace;">imagemagick</span>.<br />
También se le puede agregar con <a href="http://library.gnome.org/users/zenity/stable/zenity-progress-options.html.es" target="_blank">Zenity</a> una barra de progreso durante la conversión o que después de que termine avise en el área de notificación de <span style="font-style:italic;">Gnome</span>, pero eso quedará para un futuro muuuy lejano.</p>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2008/05/28/usando-nautilus-scripts/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Preview de películas</title>
		<link>http://pabloseminario.com/2008/05/06/preview-de-peliculas/</link>
		<comments>http://pabloseminario.com/2008/05/06/preview-de-peliculas/#comments</comments>
		<pubDate>Tue, 06 May 2008 09:55:00 +0000</pubDate>
		<dc:creator>Pablo</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.pabloseminario.com.ar/?p=12</guid>
		<description><![CDATA[Un programa interesante para hacer un preview de las pelis que uno se baja con su cliente P2P o BitTorrent favorito es DivFix++. No miré mucho su sitio web pero parece, no sé porque razón, no viene una versión compilada para x86, asi que a compilarla en mi flamante Ubuntu 8.04. Los fuentes los podemos]]></description>
			<content:encoded><![CDATA[<p>Un programa interesante para hacer un preview de las pelis que uno se baja con su cliente P2P o BitTorrent favorito es <a href="http://divfixpp.sourceforge.net/">DivFix++</a>.<br />
No miré mucho su sitio web pero parece, no sé porque razón, no viene una versión compilada para x86, asi que a compilarla en mi flamante Ubuntu 8.04.<br />
Los fuentes los podemos descargar de la sección Download del sitio.<br />
Necesitamos instalar algunos paquetes para compilarlo</p>
<div class="code">
<pre>sudo aptitude install build-essential gettext libwxgtk2.8-dev</pre>
</div>
<p>Una vez instalados los paquetes y descargadas las fuentes hacemos</p>
<div class="code">
<pre>tar xvjf DivFix++_v0.29-src.tar.bz2
cd DivFix++_v0.29
make</pre>
</div>
<p>Y listo, opcionalmente podemos mover el binario al directorio bin dentro de nuestro home con</p>
<div class="code">
<pre>cp DivFix++ ~/bin/</pre>
</div>
<p>Para usarlo solo tenemos que ejecutar</p>
<div class="code">
<pre>DivFix++</pre>
</div>
<p>Desde la interfaz gráfica tenemos que seleccionar un directorio para colocar el archivo generado, también nos pide agregar el archivo que queremos reconstruir y finalmente con Rebuild Index generamos el nuevo video.<br />
También trae algunas opciones interesantes en la línea de comandos para poder ejecutarlo directamente desde nuestro cliente P2P/BitTorrent, las podemos ver con</p>
<div class="code">
<pre>pabluk@amidala:/~$ DivFix++ --help
Usage: DivFix++ [-h] [-nc] [-nk] [-ns] [-o ] -i  [-p] [-s] [-e ]
-h, --help              shows help
-nc, --dont_cut_out     doesn't cuts out bad parts of file
-nk, --dont_keep        overwrites original file
-ns, --dont_skip_frames doesn't skip unwanted frames
-o, --output=      output file or directory
-i, --input=       input file
-p, --preview           deletes output file after player is closed
-s, --skip_fix          skips fix process and play file directly if index is available
-e, --execute=     executes player with output file after fix</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://pabloseminario.com/2008/05/06/preview-de-peliculas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

