<?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>lobo_tuerto &#187; linux</title>
	<atom:link href="http://lobotuerto.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://lobotuerto.com/blog</link>
	<description>Zen hunting — Hacking at life &#38; Ruby development</description>
	<lastBuildDate>Wed, 01 Sep 2010 07:22:48 +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>Convertir archivos .otf a .ttf en Ubuntu</title>
		<link>http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/</link>
		<comments>http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/#comments</comments>
		<pubDate>Sat, 15 May 2010 00:55:48 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[fuentes]]></category>
		<category><![CDATA[otf]]></category>
		<category><![CDATA[ttf]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3895</guid>
		<description><![CDATA[En uno de los proyectos que estoy trabajando me solicitaron generar un documento con una tipografía específica. Sin embargo, las fuentes que me dieron tenían la extensión OTF (OpenType) y yo las necesitaba en TTF (TrueType) para poderlas utilizar con Prawn, un generador de PDFs para Ruby. A continuación te presento un par de opciones [...]]]></description>
			<content:encoded><![CDATA[<p>En uno de los proyectos que estoy trabajando me solicitaron generar un documento con una tipografía específica.</p>
<p>Sin embargo, las fuentes que me dieron tenían la extensión <strong>OTF</strong> (OpenType) y yo las necesitaba en <strong>TTF</strong> (TrueType) para poderlas utilizar con <a href="http://wiki.github.com/sandal/prawn/">Prawn</a>, un generador de <strong>PDFs</strong> para <strong><a href="http://www.ruby-lang.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby Programming Language"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ruby</a></strong>.</p>
<p>A continuación te presento un par de opciones para convertir archivos <strong>OTF</strong> a <strong>TTF</strong>.</p>
<h3>Convertidor bash script</h3>
<p>Primero necesitamos instalar <strong>FontForge</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> fontforge</pre></td></tr></table></div>

<p>Después crea un archivo llamado <strong>otf2ttf.sh</strong> con el siguiente contenido:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/local/bin/fontforge</span>
<span style="color: #666666; font-style: italic;"># Quick and dirty hack: converts a font to truetype (.ttf)</span>
Print<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">&quot;Opening &quot;</span>+$<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
Open<span style="color: #7a0874; font-weight: bold;">&#40;</span>$<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
Print<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">&quot;Saving &quot;</span>+$<span style="color: #000000;">1</span>:r+<span style="color: #ff0000;">&quot;.ttf&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
Generate<span style="color: #7a0874; font-weight: bold;">&#40;</span>$<span style="color: #000000;">1</span>:r+<span style="color: #ff0000;">&quot;.ttf&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
Quit<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;</pre></td></tr></table></div>

<p>Y úsalo de la siguiente forma:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">fontforge <span style="color: #660033;">-script</span> otf2ttf.sh NOMBRE_DE_MI_FUENTE.otf</pre></td></tr></table></div>

<p>Para convertir varios archivos que estén en un mismo directorio, lo haces de la siguiente manera:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">*</span>.otf; <span style="color: #000000; font-weight: bold;">do</span> fontforge <span style="color: #660033;">-script</span> otf2ttf.sh <span style="color: #007800;">$i</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<h3>Convertidor online</h3>
<p>Si no tienes Linux, puedes usar un convertidor en línea como el que se ofrece en el sitio de:<br />
<a href="http://typeface.neocracy.org/fonts.html">typeface.js &#8211; Convert and Download Fonts</a></p>
<h3>Depredado en</h3>
<p><a href="http://www.stuermer.ch/blog/convert-otf-to-ttf-font-on-ubuntu.html">Convert .otf to .ttf Font on Ubuntu</a><br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/' title='Cómo convertir una imagen .bin .cue a .iso'>Cómo convertir una imagen .bin .cue a .iso</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/' title='Cómo convertir archivos de imágenes RAW .pef a .jpg'>Cómo convertir archivos de imágenes RAW .pef a .jpg</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/24/50-fuentes-gratuitas-estilo-grunge/' title='50 fuentes gratuitas estilo grunge'>50 fuentes gratuitas estilo grunge</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problemas con rake con Ruby 1.8 y Ruby 1.9 instalados</title>
		<link>http://lobotuerto.com/blog/2010/04/09/problemas-con-rake-con-ruby-1-8-y-ruby-1-9-instalados/</link>
		<comments>http://lobotuerto.com/blog/2010/04/09/problemas-con-rake-con-ruby-1-8-y-ruby-1-9-instalados/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 19:01:29 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[1.8]]></category>
		<category><![CDATA[1.9]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[cucumber/rake/task]]></category>
		<category><![CDATA[no such file to load -- cucumber/rake/task]]></category>
		<category><![CDATA[rake]]></category>
		<category><![CDATA[rake aborted!]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3851</guid>
		<description><![CDATA[Hace un par de meses que no tengo salida de video en mi laptop, pero he podido laborar con ella por medio de un ssh -X. Sin embargo, pienso mandarla a reparar pronto, así que decidí mudar mis proyectos de trabajo a una máquina de escritorio que tengo por ahí. En la de escritorio usaba [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/ruby/ruby.jpg" title="" class="thickbox" rel="singlepic484" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=484&amp;width=60&amp;height=&amp;mode=" alt="ruby.jpg" title="ruby.jpg" />
</a>
Hace un par de meses que no tengo salida de video en mi laptop, pero he podido laborar con ella por medio de un <strong>ssh -X</strong>.</p>
<p>Sin embargo, pienso mandarla a reparar pronto, así que decidí mudar mis proyectos de trabajo a una máquina de escritorio que tengo por ahí.</p>
<p>En la de escritorio usaba primariamente <strong><a href="http://www.ruby-lang.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby Programming Language"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ruby</a> 1.9.</strong> y no había tocado la instalación de <strong>Ruby 1.8</strong> desde hacía ya un buen rato.</p>
<p>Debo agregar que todos los proyectos del trabajo que usan <strong><a href="http://www.rubyonrails.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby on Rails"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Rails</a></strong>, lo hacen sobre <strong>Ruby 1.8.</strong> Así que me puse a instalarle todas las gemas que hacían falta, entre ellas: <strong>Rails.</strong></p>
<p>Cuando terminé, accedí a uno de mis proyectos y quise ver el listado de las tareas con un simple:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rake <span style="color: #660033;">-T</span></pre></td></tr></table></div>

<p>Sólo para ser presentado con un críptico:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rake aborted<span style="color: #000000; font-weight: bold;">!</span>
no such <span style="color: #c20cb9; font-weight: bold;">file</span> to load <span style="color: #660033;">--</span> cucumber<span style="color: #000000; font-weight: bold;">/</span>rake<span style="color: #000000; font-weight: bold;">/</span>task</pre></td></tr></table></div>

<p>WTF? pensé, ¿qué tiene que ver el <strong>cucumber</strong> con un <strong>rake -T</strong>?<br />
Así que instalé el <strong>cucumber</strong> en el ambiente de <strong>Ruby 1.8</strong> para ver si eso solucionaba el problema, y no, seguía igual.</p>
<p>Entonces escribí:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rake <span style="color: #660033;">-T</span> <span style="color: #660033;">--trace</span></pre></td></tr></table></div>

<p>Y cuál sería mi sorpresa al ver:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rake aborted<span style="color: #000000; font-weight: bold;">!</span>
no such <span style="color: #c20cb9; font-weight: bold;">file</span> to load <span style="color: #660033;">--</span> cucumber<span style="color: #000000; font-weight: bold;">/</span>rake<span style="color: #000000; font-weight: bold;">/</span>task
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby19<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>1.9.1<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>activesupport-2.3.5<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>active_support<span style="color: #000000; font-weight: bold;">/</span>dependencies.rb:<span style="color: #000000;">156</span>:<span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span>require<span style="color: #ff0000;">'</span></pre></td></tr></table></div>

<p><strong>!!!</strong><br />
¿Por qué esta utilizando las gemas del <strong>1.9</strong> si tengo activado el <strong>1.8</strong>?</p>
<p>Después de darme de topes un rato ubiqué el problema &#8230;</p>
<p>El archivo <strong>rake</strong> que se encuentra alojado en <strong>/usr/local/bin/rake</strong> indica de manera explícita que debe ejecutarse con <strong>Ruby 1.9</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/local/bin/ruby19</span></pre></td></tr></table></div>

<p>Lo que hay que hacer es editarlo con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rake</pre></td></tr></table></div>

<p>Y cambiar esa línea por esta otra:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/ruby</span></pre></td></tr></table></div>

<p>Listo, ahora <strong>rake</strong> empleará la versión de <strong>Ruby</strong> que tengamos activada en nuestro sistema. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>El artículo de <a href="http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/">Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a> ya incorpora esta corrección.<br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/' title='Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10'>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/13/ruby-1-9-invalid-multibyte-char-us-ascii/' title='Ruby 1.9 &#8212; invalid multibyte char (US-ASCII)'>Ruby 1.9 &#8212; invalid multibyte char (US-ASCII)</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/05/lotu-un-framework-para-desarrollo-de-juegos-en-ruby/' title='lotu &#8212; Un framework para desarrollo de juegos en Ruby'>lotu &#8212; Un framework para desarrollo de juegos en Ruby</a></li>
<li><a href='http://lobotuerto.com/blog/2009/11/17/como-mostrar-las-sentencias-sql-en-la-consola-de-rails/' title='Cómo mostrar las sentencias SQL en la consola de Rails'>Cómo mostrar las sentencias SQL en la consola de Rails</a></li>
<li><a href='http://lobotuerto.com/blog/2009/11/17/programando-un-pbbg-en-ruby-rails/' title='Programando un PBBG en Ruby &amp; Rails'>Programando un PBBG en Ruby &#038; Rails</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2010/04/09/problemas-con-rake-con-ruby-1-8-y-ruby-1-9-instalados/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo montar una partición de Windows en Ubuntu</title>
		<link>http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/</link>
		<comments>http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 22:19:52 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[montar]]></category>
		<category><![CDATA[ntfs]]></category>
		<category><![CDATA[partición]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3830</guid>
		<description><![CDATA[Esta es una conversación que tuve hace un momento con un amigo que me dió una asesoría acerca de cómo buscar y cómo montar una partición de Windows en Ubuntu. Cabe mencionar que la laptop no tiene monitor. lobo_tuerto: oye, en la laptop tengo una partición con Windows y necesito copiar algo ahí, ¿cómo puedo [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=120&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>
Esta es una conversación que tuve hace un momento con un amigo que me dió una asesoría acerca de cómo buscar y cómo montar una partición de <strong>Windows</strong> en <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>.</strong> Cabe mencionar que la laptop no tiene monitor.</p>
<div style="clear: both;"></div>
<p><strong>lobo_tuerto:</strong>  oye, en la laptop tengo una partición con <strong>Windows</strong> y necesito copiar algo ahí, ¿cómo puedo saber las particiones que hay? ¿y cómo montarlas?</p>
<p><strong>Israel:</strong>  claro, creo que el <strong>nautilus</strong> te pone las unidades y la opción de montarlas, si no, habría que averiguar que partición es &#8230;</p>
<p><strong>lobo_tuerto:</strong>  ah, necesito correr el <strong>nautilus</strong> por el <strong>ssh -X</strong></p>
<p><strong>Israel:</strong>  ¿es el mismo disco donde está el <strong>linux</strong>?</p>
<p><strong>lobo_tuerto:</strong>  sip, creo que si</p>
<p><strong>Israel:</strong>  ok, entonces verifica que sale con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-h</span></pre></td></tr></table></div>

<p><strong>Israel:</strong>  seguramente verás el linux en <strong>sda1</strong> o en <strong>sda3</strong></p>
<p><strong>lobo_tuerto:</strong>  me sale:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">S.ficheros            Tamaño Usado  Disp Uso<span style="color: #000000; font-weight: bold;">%</span> Montado en
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda4              92G  6.7G   81G   <span style="color: #000000;">8</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>
udev                 1006M  272K 1006M   <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>dev
none                 1006M     <span style="color: #000000;">0</span> 1006M   <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>shm
none                 1006M   88K 1006M   <span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run
none                 1006M     <span style="color: #000000;">0</span> 1006M   <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lock
none                 1006M     <span style="color: #000000;">0</span> 1006M   <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>init<span style="color: #000000; font-weight: bold;">/</span>rw
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sdb1             147G   90G   50G  <span style="color: #000000;">65</span><span style="color: #000000; font-weight: bold;">%</span> <span style="color: #000000; font-weight: bold;">/</span>home</pre></td></tr></table></div>

<p><strong>Israel:</strong>  tienes dos discos duros: <strong>sda</strong> y <strong>sdb</strong></p>
<p><strong>lobo_tuerto:</strong>  sip, el <strong>home</strong> está en el segundo</p>
<p><strong>Israel:</strong>  calculo que el windows esté en <strong>sda1</strong> o en <strong>sda2</strong></p>
<p><strong>lobo_tuerto:</strong>  oki</p>
<p><strong>Israel:</strong>  mas facil, usa <strong>fdisk:</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> fdisk <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda</pre></td></tr></table></div>

<p><strong>Israel:</strong>  vas a entrar a una consolita</p>
<p><strong>lobo_tuerto:</strong>  ajap</p>
<p><strong>Israel:</strong>  luego usas el comando &#8216;<strong>p</strong>&#8216; y te muestra la tabla de particiones</p>
<p><strong>lobo_tuerto:</strong> me sale esto:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">Disposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1   <span style="color: #000000; font-weight: bold;">*</span>           <span style="color: #000000;">1</span>          <span style="color: #000000;">13</span>      <span style="color: #000000;">102400</span>    <span style="color: #000000;">7</span>  HPFS<span style="color: #000000; font-weight: bold;">/</span>NTFS
La partición <span style="color: #000000;">1</span> no termina en un límite de cilindro.
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2              <span style="color: #000000;">13</span>        <span style="color: #000000;">6802</span>    <span style="color: #000000;">54527344</span>    <span style="color: #000000;">7</span>  HPFS<span style="color: #000000; font-weight: bold;">/</span>NTFS
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda3           <span style="color: #000000;">18960</span>       <span style="color: #000000;">19457</span>     <span style="color: #000000;">4000185</span>    <span style="color: #000000;">5</span>  Extendida
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda4            <span style="color: #000000;">6803</span>       <span style="color: #000000;">18959</span>    <span style="color: #000000;">97651102</span>+  <span style="color: #000000;">83</span>  Linux
<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda5           <span style="color: #000000;">18960</span>       <span style="color: #000000;">19457</span>     <span style="color: #000000;">4000153</span>+  <span style="color: #000000;">82</span>  Linux swap <span style="color: #000000; font-weight: bold;">/</span> Solaris</pre></td></tr></table></div>

<p><strong>lobo_tuerto:</strong> ha de ser la 3&#8230; no, la 2</p>
<p><strong>Israel:</strong>  no, la 3 es solo una partición &#8216;contenedor&#8217;, la 1 es la de arranque (tiene el *), pero la 1 es muy pequeña, seguramente es la de restauración, asi que debe ser la 2</p>
<p><strong>lobo_tuerto:</strong>  ah ok, ¿cómo la monto?</p>
<p><strong>Israel:</strong>  crea un directorio y usa <strong>mount</strong> para montarla ahí:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>win
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ntfs <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda2 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>win</pre></td></tr></table></div>

<p><strong>lobo_tuerto:</strong>  yay, it worked! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Israel:</strong>  vientos!<br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
<li><a href='http://lobotuerto.com/blog/2009/03/11/un-par-de-juegos-de-navecitas-muy-buenos/' title='Un par de juegos de navecitas muy buenos'>Un par de juegos de navecitas muy buenos</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/17/como-entrar-a-bancanet-desde-linux-con-firefox/' title='Cómo entrar a BancaNet desde Linux con Firefox'>Cómo entrar a BancaNet desde Linux con Firefox</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2009/11/18/ninite-el-mejor-software-gratuito-reunido-en-un-solo-lugar/' title='Ninite &#8212; El mejor software gratuito reunido en un sólo lugar'>Ninite &#8212; El mejor software gratuito reunido en un sólo lugar</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo cambiar el editor por defecto que usa git</title>
		<link>http://lobotuerto.com/blog/2009/11/17/como-cambiar-el-editor-por-defecto-que-usa-git/</link>
		<comments>http://lobotuerto.com/blog/2009/11/17/como-cambiar-el-editor-por-defecto-que-usa-git/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:12:42 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[commit]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[message]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3564</guid>
		<description><![CDATA[Si usas git en Ubuntu te habrás dado cuenta que al hacer un commit, éste invoca al poderoso editor vi para introducir el texto del mensaje (si es que no lo haces en la misma línea de comandos con -m). Si no estás acostumbrado a usar vi, puede ser frustrante. El editor usado para editar [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=120&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Si usas <strong><a href="http://git.or.cz/"  class="alinks_links" onclick="return alinks_click(this);" title="Git&#8194;&#8211;&#8194;Fast Version Control System"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">git</a></strong> en <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> te habrás dado cuenta que al hacer un <em>commit</em>, éste invoca al poderoso editor <strong>vi</strong> para introducir el texto del mensaje (si es que no lo haces en la misma línea de comandos con <strong>-m</strong>).</p>
<p>Si no estás acostumbrado a usar <strong>vi</strong>, puede ser frustrante.</p>
<p>El editor usado para editar el mensaje del commit será elegido de la variable de ambiente <strong>GIT_EDITOR</strong>, de la variable de configuración <strong>core.editor</strong>, de la variable de ambiente <strong>VISUAL</strong> o de la variable de ambiente <strong>EDITOR</strong> (en ese orden).</p>
<p>Así que si quieres por ejemplo que mejor se dispare el <strong>nano</strong>, necesitas definir la variable de ambiente en tu <strong>~/.bashrc</strong> de la siguiente manera:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EDITOR</span>=<span style="color: #c20cb9; font-weight: bold;">nano</span></pre></td></tr></table></div>

<h3>Referencias</h3>
<p><a href="http://groups.google.com/group/peepcode/browse_thread/thread/9f7464c2ad8ad81c?pli=1">replace vim with mate as default text editor</a>
</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/' title='Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron'>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
<li><a href='http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/' title='Cómo convertir una imagen .bin .cue a .iso'>Cómo convertir una imagen .bin .cue a .iso</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/11/17/como-cambiar-el-editor-por-defecto-que-usa-git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo convertir una imagen .bin .cue a .iso</title>
		<link>http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/</link>
		<comments>http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 00:45:24 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bchunk]]></category>
		<category><![CDATA[bin]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[cue]]></category>
		<category><![CDATA[gmount]]></category>
		<category><![CDATA[imagen]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3365</guid>
		<description><![CDATA[Seguramente has descargado alguna vez una imagen de un CD o DVD que viene en un formato que incluye dos archivos: un .bin y un .cue. Pero, ¿y cómo se monta eso en Ubuntu? el gmount no lo hace&#8230; Bueno, una solución que encontré fue instalar bchunk para convertir ese par de archivos en un [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=120&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Seguramente has descargado alguna vez una imagen de un CD o DVD que viene en un formato que incluye dos archivos: un <strong>.bin</strong> y un <strong>.cue</strong>.</p>
<p>Pero, ¿y cómo se monta eso en <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>? el <strong>gmount</strong> no lo hace&#8230;</p>
<p>Bueno, una solución que encontré fue instalar <strong>bchunk</strong> para convertir ese par de archivos en un <strong>.iso</strong>.</p>
<p>En tu terminal escribe:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> bchunk</pre></td></tr></table></div>

<p>Después ve al directorio donde tengas los archivos <strong>.cue</strong> y <strong>.bin</strong> y teclea lo siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">bchunk mi_imagen.cue mi_imagen.bin mi_nueva_imagen</pre></td></tr></table></div>

<p>Eso generará un nuevo archivo <strong>mi_nueva_imagen.iso</strong> ¡listo para montarse en el <strong>gmount</strong>! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/' title='Cómo convertir archivos de imágenes RAW .pef a .jpg'>Cómo convertir archivos de imágenes RAW .pef a .jpg</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Studio</title>
		<link>http://lobotuerto.com/blog/2009/08/19/ubuntu-studio/</link>
		<comments>http://lobotuerto.com/blog/2009/08/19/ubuntu-studio/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 01:37:45 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[arte & diseño]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[3dstudio]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[ardour]]></category>
		<category><![CDATA[blender]]></category>
		<category><![CDATA[cinepaint]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[inkscape]]></category>
		<category><![CDATA[kino]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[pitivi]]></category>
		<category><![CDATA[premiere]]></category>
		<category><![CDATA[pro-tools]]></category>
		<category><![CDATA[studio]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=3296</guid>
		<description><![CDATA[Normalmente las licencias para productos como el Photoshop, Illustrator, Premiere, 3DStudio, etc., salen en un ojo de la cara&#8230; y a veces tenemos la necesidad de jugar con algún software que nos permita desarrollar nuestra creatividad, o simplemente expresarnos. ¿Qué podemos hacer si no queremos infringir la ley y no tenemos varo? Pues de entrada, [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/design/ubuntu-studio.jpg" title="" class="thickbox" rel="singlepic683" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=683&amp;width=220&amp;height=&amp;mode=" alt="ubuntu-studio" title="ubuntu-studio" />
</a>

<p align="justify">Normalmente las licencias para productos como el Photoshop, Illustrator, Premiere, 3DStudio, etc., salen en un ojo de la cara&#8230; y a veces tenemos la necesidad de jugar con algún software que nos permita desarrollar nuestra creatividad, o simplemente expresarnos.</p>
<p>¿Qué podemos hacer si no queremos infringir la ley y no tenemos varo?</p>
<p>Pues de entrada, bienvenido al mundo del <strong>open source</strong>, donde abundan las aplicaciones de software libre y lo económico no es una barrera más para el aprendizaje y desarrollo personal.</p>
<p>¿Así que quieres un <a href="http://ubuntustudio.org/"><strong>estudio multimedia</strong></a> en tu <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>?</p>
<h3>Ubuntu Studio</h3>
<p>Deja que tu creatividad vuele&#8230;</p>
<p><a href="http://ubuntustudio.org/"><strong>Ubuntu Studio</strong></a>. Un sabor de Ubuntu para crear multimedia.</p>
<p><strong>Ubuntu Studio</strong> está dirigido a los entusiastas y profesionales del audio, video y gráficos en GNU/Linux.</p>
<p>Provee una suite con las mejores aplicaciones open source disponibles para la creación de multimedia. Completamente libre para usarse, modificarse y redistribuirse. Tu única limitación es tu imaginación.</p>
<h3>Audio</h3>
<p>Nuestro objetivo es ensamblar suites de aplicaciones dirigidas a gente creativa. Suites que incluyen las mejores aplicaciones open source disponibles.</p>
<p>Por ejemplo, Ardour 2 &#8212; Un grabador/editor para las personas familiares con Pro-Tools.</p>
<h3>Gráficos</h3>
<p>Aplicaciones para diseño gráfico y modelado que incluyen The <a href="http://www.gimp.org/"  class="alinks_links" onclick="return alinks_click(this);" title="GIMP is the GNU Image Manipulation Program"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">GIMP</a>, Inkscape y <a href="http://www.blender.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Blender is the free open source 3D content creation suite."  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Blender</a>. Junto con plugins como dcraw que ayudan con archivos RAW de cámaras digitales y wacom-tools para personas con tabletas de dibujo Wacom.</p>
<h3>Video</h3>
<p>PiTiVi, Kino, Cinepaint son incluidos para la creación de video. Esperamos proveer un ambiente creativo para las personas así como exponer algunas de las aplicaciones open source más asombrosas.</p>
<p><a href="http://ubuntustudio.org/"><strong>Deja que la creatividad vuele&#8230;</strong></a></p>
<h3>Tutoriales</h3>
<p>Por ahí me topé con este mini tutorial de Hydrogen (audio):<br />
<a href="http://linuxondesktop.blogspot.com/2008/06/making-musicbeats-on-linuxubuntu-with.html">Making Music(Beats) on Linux/Ubuntu with Hydrogen</a></p>
<p>Unos de The GIMP (imagen):<br />
<a href="http://gtuts.com/">Gtuts &#8212; Quality GIMP tutorials</a><br />
<a href="http://www.noupe.com/gimp/30-exceptional-gimp-tutorials-and-resources.html">30+ Exceptional GIMP Tutorials and Resources</a><br />
<a href="http://www.gimpplus.com/">GIMP Plus &#8212; High Quality GIMP Tutorials</a><br />
<a href="http://www.gimp-tutorials.com/">GIMP TUTORIALS &#8212; Biggest Collection of GIMP Tutorials and useful snippets.</a></p>
<p>Y un buen de Blender (3d):<br />
<a href="http://www.blender.org/education-help/tutorials/">Blender Tutorial Archive</a>
</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/' title='Cómo convertir archivos de imágenes RAW .pef a .jpg'>Cómo convertir archivos de imágenes RAW .pef a .jpg</a></li>
<li><a href='http://lobotuerto.com/blog/2009/03/04/tutorial-4-de-irrlicht-como-controlar-con-el-teclado-un-nodo-de-escena/' title='Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena'>Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/28/tutorial-3-de-irrlicht-como-agregar-y-manipular-nodos-de-escena-en-irrlicht/' title='Tutorial #3 de Irrlicht: Cómo agregar y manipular nodos de escena en Irrlicht'>Tutorial #3 de Irrlicht: Cómo agregar y manipular nodos de escena en Irrlicht</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/08/19/ubuntu-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10</title>
		<link>http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/</link>
		<comments>http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 03:32:35 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[autentificación]]></category>
		<category><![CDATA[falló]]></category>
		<category><![CDATA[fatal]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[ident]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[pgadmin]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=2860</guid>
		<description><![CDATA[Acabo de incorporarme a un proyecto en Rails en el que usan PostgreSQL, y como recién formateé y le puse Ubuntu 9.04 a la laptop, necesito ahora instalarle ese manejador de base de datos. Y es un buen pretexto para por fin escribir la guía de cómo instalarlo en Ubuntu. Como siempre, vamos a la [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/postgresql-pwns-mysql.jpg" title="" class="thickbox" rel="singlepic668" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=668&amp;width=160&amp;height=&amp;mode=" alt="postgresql-pwns-mysql" title="postgresql-pwns-mysql" />
</a>

<p align="justify">Acabo de incorporarme a un proyecto en <strong><a href="http://www.rubyonrails.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby on Rails"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Rails</a></strong> en el que usan <strong>PostgreSQL</strong>, y como recién formateé y le puse <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> 9.04</strong> a la laptop, necesito ahora instalarle ese manejador de base de datos.</p>
<p>Y es un buen pretexto para por fin escribir la guía de cómo instalarlo en <strong>Ubuntu</strong>.</p>
<div style="clear: both;"></div>
<p>Como siempre, vamos a la consola y tecleamos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> postgresql postgresql-client postgresql-contrib libpq-dev pgadmin3</pre></td></tr></table></div>

<p>Eso instala el cliente y servidor de la base de datos, algunos scripts de utilería y la aplicación <strong>pgAdmin</strong> para administrar la base de datos. El paquete de <strong>libpq-dev</strong> nos servirá para poder compilar la gema <strong><a href="http://www.ruby-lang.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby Programming Language"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ruby</a></strong> de <strong>PostgreSQL</strong> más adelante.</p>
<p>Confirmemos que la instalación terminó adecuadamente teclando:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">psql <span style="color: #660033;">--version</span></pre></td></tr></table></div>

<p>En mi caso la respuesta fue:<br />
<strong>psql (PostgreSQL) 8.4.2</strong></p>
<h3>Cambiar la contraseña del usuario administrador</h3>
<p>Ahora necesitamos establecer la contraseña del usuario administrador <strong>postgres</strong>. Teclea la siguiente línea en la terminal (cambia la palabra <em>password</em> por la contraseña que desees usar):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> postgres <span style="color: #660033;">-c</span> psql
ALTER USER postgres WITH PASSWORD <span style="color: #ff0000;">'password'</span>;
\q</pre></td></tr></table></div>

<p>Eso altera la contraseña dentro de la base de datos, ahora necesitamos hacer lo mismo para el usuario Linux <strong>postgres</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span> <span style="color: #660033;">-d</span> postgres
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> postgres <span style="color: #660033;">-c</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span></pre></td></tr></table></div>

<p>Te aparecerá un <em>prompt</em>, introduce la misma contraseña que pusiste antes.</p>
<h3>Poner a punto pgAdmin</h3>
<p>Listo, de ahora en adelante podemos usar <strong>pgAdmin</strong> o la terminal para administrar nuestra base de datos como el usuario <strong>postgres</strong>. Pero antes de que te metas a <strong>pgAdmin</strong> deberías configurar el <strong>PostgreSQL Admin Pack</strong>, que te permite llevar un mejor registro y monitoreo de tu base de datos. </p>
<p>Ejecuta lo siguiente desde la línea de comandos en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span> postgres <span style="color: #660033;">-c</span> psql <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>postgresql<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">8.4</span><span style="color: #000000; font-weight: bold;">/</span>contrib<span style="color: #000000; font-weight: bold;">/</span>adminpack.sql</pre></td></tr></table></div>

<p>Para ejecutar <strong>pgAdmin</strong> ve a tu menú de aplicaciones:<br />
<strong>Aplicaciones &#8594; Programación &#8594; pgAdmin III</strong></p>
<h3>Cambiar el esquema de autentificación de PostgreSQL</h3>
<p>Al ejecutar algunos comandos de base de datos, es posible que te encuentres con un error que dice algo como:</p>
<p><strong>FATAL:  la autentificación Ident falló para el usuario «x»</strong></p>
<p>Para evitarlo necesitas editar el archivo <strong>/etc/postgresql/8.4/main/pg_hba.conf</strong> y cambiar el esquema de autentificación. Abre el archivo con privilegios de <em>root</em>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>postgresql<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">8.4</span><span style="color: #000000; font-weight: bold;">/</span>main<span style="color: #000000; font-weight: bold;">/</span>pg_hba.conf</pre></td></tr></table></div>

<p>Y cambia esto:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"># <span style="color: #933;">&quot;local&quot;</span> is for Unix domain socket connections only
local all all ident</pre></td></tr></table></div>

<p>Por:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="ini" style="font-family:monospace;"># <span style="color: #933;">&quot;local&quot;</span> is for Unix domain socket connections only
local all all md5</pre></td></tr></table></div>

<p>Reinicia el servidor de <strong>PostgreSQL</strong> tecleando en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>postgresql-<span style="color: #000000;">8.4</span> restart</pre></td></tr></table></div>

<h3>PostgreSQL Ruby gem</h3>
<p>Si planeas usar <strong>PostgreSQL</strong> dentro de <strong>Ruby</strong>, necesitarás esto:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> postgres</pre></td></tr></table></div>

<p>En <strong>Rails</strong>, puedes crear una aplicación configurada para usar <strong>PostgreSQL</strong> con este comando:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">rails miaplicacion <span style="color: #660033;">-d</span> postgresql</pre></td></tr></table></div>

<p>¡Listo! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>Recursos</h3>
<p><a href="http://hocuspokus.net/2008/05/install-postgresql-on-ubuntu-804">Install PostgreSQL on Ubuntu 8.04</a> (cómo acceder de manera remota a tu servidor)<br />
<a href="http://olmonrails.wordpress.com/2008/08/12/switching-rails-to-postgresql/">Switching Rails to PostgreSQL</a>
</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/' title='Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10'>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope'>Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/26/como-instalar-ruby-rubygems-y-rails-en-ubuntu-710-gutsy-gibbon/' title='Cómo instalar Ruby, RubyGems y Rails en Ubuntu 7.10 Gutsy Gibbon'>Cómo instalar Ruby, RubyGems y Rails en Ubuntu 7.10 Gutsy Gibbon</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Cómo convertir archivos de imágenes RAW .pef a .jpg</title>
		<link>http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/</link>
		<comments>http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 03:43:10 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[cambiar]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[formato]]></category>
		<category><![CDATA[foto]]></category>
		<category><![CDATA[guía]]></category>
		<category><![CDATA[jpg]]></category>
		<category><![CDATA[lotes]]></category>
		<category><![CDATA[modificar]]></category>
		<category><![CDATA[pef]]></category>
		<category><![CDATA[raw]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=2795</guid>
		<description><![CDATA[Tengo una cámara semi profesional Pentax, y después de tomar un diplomado en fotografía digital, aprendí que es mejor tomar las fotos en formato RAW. De esta manera se guardan todos los valores necesarios para hacer una buena edición de la imagen. Si no te interesa editarlas, o hacer un proceso de revelado (con DCRAW [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/pentax-ist-ds.jpg" title="" class="thickbox" rel="singlepic480" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=480&amp;width=120&amp;height=&amp;mode=" alt="pentax-ist-ds.jpg" title="pentax-ist-ds.jpg" />
</a>

<p align="justify">Tengo una cámara semi profesional <strong>Pentax</strong>, y después de tomar un diplomado en fotografía digital, aprendí que es mejor tomar las fotos en formato <strong>RAW</strong>.</p>
<p>De esta manera se guardan todos los valores necesarios para hacer una buena edición de la imagen.</p>
<p>Si no te interesa editarlas, o <a href="http://www.guillermoluijk.com/tutorial/dcraw/index.htm">hacer un proceso de revelado (con <strong>DCRAW</strong> o algo así)</a> con ellas, entonces a lo mejor te convenga más tomarlas en <strong>JPG</strong> para ahorrarte un buen de espacio y poder guardar muchas más.</p>
<p>Por ejemplo, con una memoria de <strong>2GB</strong>, puedo tomar <strong>666</strong> fotos en <strong>JPG</strong> de alta calidad (~3MB por archivo), pero sólo <strong>180</strong> en modo <strong>RAW</strong> (~10MB por archivo).</p>
<p>El caso es que estuve buscando un rato en internet sobre cómo convertir imágenes en formato <strong>.pef</strong> (RAW) a <strong>.jpg</strong> y no encontré una forma fácil y rápida.</p>
<p>Sin embargo, después de experimentar un rato, hallé una manera:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ufraw</pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span><span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> convert <span style="color: #660033;">-resize</span> 900x900 <span style="color: #660033;">-quality</span> <span style="color: #000000;">85</span> <span style="color: #007800;">$i</span> resized_<span style="color: #007800;">$i</span>.jpg; <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p>Sip, es básicamente el mismo comando de <a href="http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/">mi otro artículo</a>, sólo instale un paquete que necesitaba (<strong>ufraw</strong>) y modifiqué el <em>script</em> para agregarle la extensión <strong>.jpg</strong> y ¡listo! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Espero les sea útil.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2009/09/02/como-convertir-una-imagen-bin-cue-a-iso/' title='Cómo convertir una imagen .bin .cue a .iso'>Cómo convertir una imagen .bin .cue a .iso</a></li>
<li><a href='http://lobotuerto.com/blog/2009/08/19/ubuntu-studio/' title='Ubuntu Studio'>Ubuntu Studio</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</title>
		<link>http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/</link>
		<comments>http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:49:41 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[1.8]]></category>
		<category><![CDATA[1.9]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[juntos]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[misma]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 9.04]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=2366</guid>
		<description><![CDATA[Después de haber escuchado por un buen rato acerca de las ventajas y novedades de Ruby 1.9, creo que ha llegado la hora de probarlo. Pero, ya tengo instalado Ruby 1.8 ¿recuerdan? No se preocupen, instalar las dos versiones en el mismo sistema no podría ser más fácil. Esta guía es para los que instalaron [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/ruby/ruby.jpg" title="" class="thickbox" rel="singlepic484" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=484&amp;width=60&amp;height=&amp;mode=" alt="ruby.jpg" title="ruby.jpg" />
</a>

<p align="justify">Después de haber escuchado por un buen rato acerca de <a href="http://www.rubyinside.com/ruby-1-9-1-preview-released-why-its-a-big-deal-1280.html">las ventajas y novedades</a> de <strong><a href="http://www.ruby-lang.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby Programming Language"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ruby</a> 1.9</strong>, creo que ha llegado la hora de probarlo.</p>
<p>Pero, ya tengo instalado <strong>Ruby 1.8</strong> <a href="http://lobotuerto.com/blog/2008/01/26/como-instalar-ruby-rubygems-y-rails-en-ubuntu-710-gutsy-gibbon/">¿recuerdan?</a></p>
<div style="clear: both;"></div>
<p>No se preocupen, instalar las dos versiones en el mismo sistema no podría ser más fácil.</p>
<div class="lobo-nota">
Esta guía es para los que instalaron <strong>Ruby 1.8</strong> siguiendo este artículo:<br />
<a href="http://lobotuerto.com/blog/2008/01/26/como-instalar-ruby-rubygems-y-rails-en-ubuntu-710-gutsy-gibbon/">Cómo instalar Ruby, RubyGems y Rails en Ubuntu 7.10 Gutsy Gibbon</a>
</div>
<h3>Instalación</h3>
<p>Vamos a instalar desde el código fuente, ya que la versión que está en los repositorios de <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a></strong> no incluye el ejecutable para instalar las gemas, e instalar el paquete <strong>gem1.9</strong> puede traernos <a href="http://rubyforge.org/pipermail/rubygems-developers/2008-August/004011.html">algunos problemas</a>.</p>
<p>Comienza por instalar las dependencias necesarias para compilar <strong>Ruby 1.9</strong> (y <strong>Ruby 1.8</strong> en caso de que más adelante quieras instalar <strong>Ruby 1.8</strong> desde código fuente):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> build-dep ruby1.8 ruby1.9</pre></td></tr></table></div>

<p><a href="http://www.ruby-lang.org/es/downloads/">Descarga el código fuente de la última versión de Ruby 1.9</a><br />
(al momento de escribir este artículo era la <strong>Ruby 1.9.1-p0</strong>).</p>
<p>Descomprímelo en alguna carpeta de tu elección, abre una terminal, ve al directorio donde se encuentran los archivos que descomprimiste y teclea lo siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--program-suffix</span>=<span style="color: #000000;">19</span></pre></td></tr></table></div>

<p>Para compilarlo e instalarlo teclea la siguiente línea:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>Listo, ya tienes <strong>Ruby 1.9</strong> instalado en tu sistema&#8230; pero como <strong>ruby19</strong>. Seguramente querras acceder a él usando algo más sencillo, como <strong>ruby</strong>. Lo que puedes hacer aquí es crear unos enlaces simbólicos (<em>symlinks</em>), por ejemplo:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-fs</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby19 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ruby
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-fs</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem19 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>gem
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-fs</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>irb19 <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>irb</pre></td></tr></table></div>

<p>Pero hay una forma más fácil.</p>
<h3>Cambios de versión en chinga</h3>
<p>Simplemente instala un par de <em>alias</em> en tu <del datetime="2009-07-13T14:09:53+00:00"><strong>~/.profile</strong></del> <strong>~/.bashrc</strong>. Yo uso estos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> ruby-switch-<span style="color: #000000;">18</span>=<span style="color: #ff0000;">'sudo ln -fs /usr/bin/ruby1.8 /usr/bin/ruby &amp;&amp; sudo ln -fs /usr/bin/irb1.8 /usr/bin/irb &amp;&amp; sudo ln -fs /usr/bin/gem1.8 /usr/bin/gem'</span>
<span style="color: #7a0874; font-weight: bold;">alias</span> ruby-switch-<span style="color: #000000;">19</span>=<span style="color: #ff0000;">'sudo ln -fs /usr/local/bin/ruby19 /usr/bin/ruby &amp;&amp; sudo ln -fs /usr/local/bin/irb19 /usr/bin/irb &amp;&amp; sudo ln -fs /usr/local/bin/gem19 /usr/bin/gem'</span></pre></td></tr></table></div>

<p>Lo cual permite en la terminal, algo como:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">$ ruby-switch-<span style="color: #000000;">18</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> ruby <span style="color: #660033;">--version</span>
ruby 1.8.7 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2008</span>-08-<span style="color: #000000;">11</span> patchlevel <span style="color: #000000;">72</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>i486-linux<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">$ ruby-switch-<span style="color: #000000;">19</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> ruby <span style="color: #660033;">--version</span>
ruby 1.9.1p0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2009</span>-01-<span style="color: #000000;">30</span> revision <span style="color: #000000;">21907</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>i686-linux<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>

<div class="lobo-nota">Si no quieres reiniciar tu sesión para que los cambios en tu <strong>.bashrc</strong> entren en vigor, sólo escribe la siguiente línea en tu terminal:<br />
<strong>source ~/.bashrc</strong><br />
Eso hará que se evalúe en ese momento el archivo, para que los <em>alias</em> estén disponibles ya.
</div>
<p>&nbsp;<br />
Por cierto, una cosa más&#8230; para no tener problemas con los <em>scripts</em> que traen versiones ejecutables (rails, spec, etc.) instala esta gema en tus <strong>dos</strong> Rubys:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">ruby-switch-<span style="color: #000000;">18</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> gem-sane-binary
ruby-switch-<span style="color: #000000;">19</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> gem <span style="color: #c20cb9; font-weight: bold;">install</span> gem-sane-binary</pre></td></tr></table></div>

<p>Los scripts ejecutables mencionados arriba, incluyen un comentario en su primera línea llamado <em>shebang</em>. Luce así:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/local/bin/ruby19</span></pre></td></tr></table></div>

<p>Ese comentario indica con qué versión de <strong>Ruby</strong> debe ejecutarse el <em>script</em>. Y obviamente tendremos problemas porque a veces estaremos usando <strong>Ruby 1.8</strong> y otras <strong>Ruby 1.9</strong>, y lo que queremos es que se use el <strong>Ruby que tengamos en ese momento activo</strong>.</p>
<p>La gema que acabamos de instalar haŕa que las nuevas gemas que instalemos usen el <strong>Ruby</strong> que tengamos <em>linkeado</em> en <strong>/usr/bin/ruby</strong>, y sus comentarios <em>shebang</em>, se verán ahora así:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/ruby</span></pre></td></tr></table></div>

<p>¡No más dolores de cabeza! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Arreglando rake</h3>
<p>Un último ajuste que debemos hacer es editar el archivo <strong>rake</strong> que instaló <strong>Ruby 1.9.</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>rake</pre></td></tr></table></div>

<p>Y cambiar la línea:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/local/bin/ruby19</span></pre></td></tr></table></div>

<p>Por esta:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#!/usr/bin/ruby</span></pre></td></tr></table></div>

<p>¡Listo, ya tenemos un <strong>rake</strong> que en vez de utilizar siempre <strong>Ruby 1.9</strong>, ahora empleará la versión de <strong>Ruby</strong> que esté activada en nuestro sistema!</p>
<h3>Flechas de teclado que funcionan en <strong>irb</strong></h3>
<div class="lobo-nota">En las últimas versiones de Ruby 1.9 las flechas funcionan bien, y este procedimiento ya no es necesario.</div>
<p><strong>irb</strong> (<em>Interactive Ruby</em>) es una consola donde puedes ingresar código <strong>Ruby</strong> de manera interactiva. Muy útil para probar pequeños fragmentos de código o hacer experimentos.</p>
<p>Después de instalar <strong>Ruby 1.9</strong>, me di cuenta de que las flechas del teclado, que normalmente uso para navegar las línea de código (hacia adelante o atrás), o repetir alguna línea anterior (hacia arriba o abajo), no funcionaban adecuadamente.</p>
<p>Esto sucede porque es necesario instalar el soporte de <strong>readline</strong>. Y vamos a hacer eso precisamente.</p>
<p>Instala las bibliotecas de sistema necesarias para poder compilar el soporte de <strong>readline</strong> en <strong>irb</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libreadline5 libreadline5-dev</pre></td></tr></table></div>

<p>Ahora necesitas compilar la interfaz de <strong>readline</strong> basada en <strong>Ruby</strong>, para tener disponible la biblioteca de <strong>readline</strong> en <strong>irb</strong>. En tu terminal ve al directorio donde descomprimiste el código fuente de <strong>Ruby 1.9</strong> y haz lo siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ruby-1.9.1-p0<span style="color: #000000; font-weight: bold;">/</span>ext<span style="color: #000000; font-weight: bold;">/</span>readline
<span style="color: #c20cb9; font-weight: bold;">sudo</span> ruby extconf.rb
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>¡Eso es todo!<br />
Prueba las flechas del teclado dentro de <strong>irb</strong>, deben funcionar sin problema ahora. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>Recursos</h3>
<p><a href="http://gnuu.org/2009/06/14/installing-ruby-1-8-1-9-side-by-side/">Installing Ruby 1.8 and 1.9 Side by Side</a><br />
<a href="http://blog.michaelgreenly.com/2009/04/multiple-versions-of-ruby-on-ubuntu-3.html">Multiple Versions of Ruby on Ubuntu #3</a><br />
<a href="http://expressica.com/2007/07/11/how-to-make-arrow-keys-working-in-irb-in-linuxubuntu/">How to make arrow keys working in irb in Linux/Ubuntu</a>
</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10'>Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope'>Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/09/problemas-con-rake-con-ruby-1-8-y-ruby-1-9-instalados/' title='Problemas con rake con Ruby 1.8 y Ruby 1.9 instalados'>Problemas con rake con Ruby 1.8 y Ruby 1.9 instalados</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope</title>
		<link>http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/</link>
		<comments>http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:27:06 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[instalar]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=1894</guid>
		<description><![CDATA[Para instalar Java, el kit de desarrollo y el plugin para Firefox introduce la siguiente línea en una terminal: 1 sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts Artículos relacionados: Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10 Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10 Cómo instalar LAMP en Ubuntu 8.04, [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=90&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Para instalar <strong>Java</strong>, el kit de desarrollo y el plugin para <a href="http://www.mozilla.com/firefox/"  class="alinks_links" onclick="return alinks_click(this);" title="Firefox web browser"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Firefox</a> introduce la siguiente línea en una terminal:</p>
<div style="clear: both;"></div>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts</pre></td></tr></table></div>

<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10'>Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/' title='Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10'>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/' title='Instalar FileZilla en Ubuntu 9.04'>Instalar FileZilla en Ubuntu 9.04</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/feed/</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
		<item>
		<title>Instalar FileZilla en Ubuntu 9.04</title>
		<link>http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/</link>
		<comments>http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 20:27:08 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[filezilla]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=1807</guid>
		<description><![CDATA[Si al tratar de instalar el FileZilla en Ubuntu 9.04 te sale un mensaje que dice: Cliente FTP FileZilla no puede instalarse en un equipo como el suyo (i386) O bien la aplicación requiere funciones hardware especiales, o bien el vendedor ha decidido no soportar los equipos de las características del suyo. La solución es [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=90&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Si al tratar de instalar el FileZilla en <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> 9.04 te sale un mensaje que dice:</p>
<div style="clear: both;"></div>
<div class="lobo-advertencia"><strong>Cliente FTP FileZilla no puede instalarse en un equipo como el suyo (i386)</strong></p>
<p>O bien la aplicación requiere funciones hardware especiales, o bien el vendedor ha decidido no soportar los equipos de las características del suyo.</p></div>
<p>La solución es simple, instálalo desde la línea de comandos con <strong>apt-get</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> filezilla</pre></td></tr></table></div>

<p>¡Listo! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10'>Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/' title='Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10'>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope'>Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2008/09/06/paquetes-retenidos-en-apt-get/' title='Paquetes retenidos en apt-get'>Paquetes retenidos en apt-get</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ripeando CDs de audio en Ubuntu 8.10 Intrepid Ibex a formato FLAC</title>
		<link>http://lobotuerto.com/blog/2009/02/26/ripeando-cds-de-audio-en-ubuntu-810-intrepid-ibex-a-formato-flac/</link>
		<comments>http://lobotuerto.com/blog/2009/02/26/ripeando-cds-de-audio-en-ubuntu-810-intrepid-ibex-a-formato-flac/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 07:01:28 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[cd]]></category>
		<category><![CDATA[cds]]></category>
		<category><![CDATA[flac]]></category>
		<category><![CDATA[grip]]></category>
		<category><![CDATA[rip]]></category>
		<category><![CDATA[ripear]]></category>
		<category><![CDATA[ripping]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=1328</guid>
		<description><![CDATA[Que onda, pues con la novedad de que por ahí tengo un par de discos originales de Infected Mushroom que quería cargar a mi laptop. Y pues como la verdad no ando muy preocupado por el espacio y me gusta la calidad (jeje) pues decidí probar ripearlos y codificarlos en formato FLAC (Free Lossless Audio [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/flac_logo.png" title="" class="thickbox" rel="singlepic595" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=595&amp;width=150&amp;height=&amp;mode=" alt="flac_logo.png" title="flac_logo.png" />
</a>

<p align="justify">Que onda, pues con la novedad de que por ahí tengo un par de discos originales de <strong>Infected Mushroom</strong> que quería cargar a mi laptop. Y pues como la verdad no ando muy preocupado por el espacio y me gusta la calidad (jeje) pues decidí probar ripearlos y codificarlos en formato <a href="http://flac.sourceforge.net/">FLAC</a> (Free Lossless Audio Codec).</p>
<p>El formato <strong>FLAC</strong> comprime tus canciones sin que estás pierdan calidad, es similar a como trabaja <strong>ZIP</strong>, sólo que con <strong>FLAC</strong> tendrás mucho mejores resultados puesto que está diseñado para comprimir audio. <strong>MP3</strong> es un formato con pérdida. La analogía con formatos de imagen es: <strong>JPG</strong> es a <strong>MP3</strong> lo que <strong>TIFF</strong> es a <strong>FLAC</strong>.</p>
<p>Si quieren ver un ejemplo de lo que es la <em>compresión con pérdida</em>, <a href="http://en.wikipedia.org/wiki/Lossy_compression">chequen estos ejemplos con imágenes</a> (lo que se ve ahí es similar a lo que sucede al comprimir un <strong>WAV</strong> a <strong>MP3</strong>).</p>
<p>La compresión que provee <strong>FLAC</strong> es de alrededor de un 30-50%. Un codec con pérdida puede alcanzar fácilmente un 80% de compresión.</p>
<p>Ok, después de la breve cápsula informativa, <em>amos</em> a lo que nos atañe: <em>el software necesario para hacerlo y cómo hacerlo</em>.</p>
<h3>Grip el ripeador</h3>
<p>Este es un excelente programa para ripear CDs y convertirlos al formato que gustes.</p>
<p>Vayan a <strong>Aplicaciones</strong> &#8594; <strong>Añadir y quitar&#8230;</strong><br />
Y en el cuadrito de búsqueda escriban <strong>Grip</strong>.</p>
<p>O para los que gustan de la línea de comandos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> grip</pre></td></tr></table></div>

<p>Abramos la aplicación.<br />
Vamos a <strong>Aplicaciones</strong> &#8594; <strong>Sonido y video</strong> &#8594; <strong>Grip</strong></p>
<p>Ya con la aplicación abierta vamos a <strong>Configurar</strong> &#8594; <strong>Codificar</strong> &#8594; <strong>Codificador</strong></p>
<p>Y en donde dice <strong>Codificar</strong> seleccionamos <strong>flac</strong>.</p>
<p>Sin embargo si ripeamos un CD ahorita, no nos guardará los tags con la información del album, artista y número de pista.<br />
Eso lo solucionamos cambiando la <strong>Línea de órdenes para el codificador</strong> por esta:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--best</span> <span style="color: #660033;">-V</span> <span style="color: #660033;">-o</span> <span style="color: #000000; font-weight: bold;">%</span>m <span style="color: #000000; font-weight: bold;">%</span><span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;ARTIST=%A&quot;</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;TRACKNUMBER=%t&quot;</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;ALBUM=%d&quot;</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;TITLE=%n&quot;</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;GENRE=%G&quot;</span> <span style="color: #660033;">-T</span> <span style="color: #ff0000;">&quot;DATE=%y&quot;</span></pre></td></tr></table></div>

<p>Tus archivos ripeados quedarán en:<br />
<strong>~/ogg</strong></p>
<p>El directorio de salida es configurable, solo necesitas modificar el campo de <strong>Formato de archivo codificado</strong>.</p>
<p>Happy ripping! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>Referencia</h3>
<p><a href="http://gnuru.org/article/1160/ripping-flac-with-grip">Ripping to Flac with Grip</a>
</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
<li><a href='http://lobotuerto.com/blog/2009/11/17/como-cambiar-el-editor-por-defecto-que-usa-git/' title='Cómo cambiar el editor por defecto que usa git'>Cómo cambiar el editor por defecto que usa git</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/02/26/ripeando-cds-de-audio-en-ubuntu-810-intrepid-ibex-a-formato-flac/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Conky &#8212; Monitorea tu sistema desde el escritorio</title>
		<link>http://lobotuerto.com/blog/2009/01/11/conky-monitorea-tu-sistema-desde-el-escritorio/</link>
		<comments>http://lobotuerto.com/blog/2009/01/11/conky-monitorea-tu-sistema-desde-el-escritorio/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 07:53:28 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[conky]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=1147</guid>
		<description><![CDATA[¿Quieres una barra en tu escritorio con información acerca de tu sistema, que se actualice en tiempo real y que además sea ligera en cuanto a recursos? Prueba conky. Si te agrada lo que ves, dale una leída a este tutorial: Instalar y configurar Conky. Ahí también encontrarás enlaces a muchos scripts (o configuraciones) de [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/conky.png" title="" class="thickbox" rel="singlepic593" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=593&amp;width=90&amp;height=&amp;mode=" alt="conky.png" title="conky.png" />
</a>

<p align="justify">¿Quieres una barra en tu escritorio con información acerca de tu sistema, que se actualice en tiempo real y que además sea ligera en cuanto a recursos?<br />
Prueba <strong>conky</strong>.</p>
<p>Si te agrada <a href="http://conky.sourceforge.net/screenshots.html">lo que ves</a>, dale una leída a este tutorial:<br />
<a href="http://fedoreando.wordpress.com/2008/11/25/instalar-y-configurar-conky/">Instalar y configurar Conky</a>.<br />
Ahí también encontrarás enlaces a muchos scripts (o configuraciones) de ejemplo.</p>
<p>Au revoir. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="clear: both;"></div>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
<li><a href='http://lobotuerto.com/blog/2009/03/11/un-par-de-juegos-de-navecitas-muy-buenos/' title='Un par de juegos de navecitas muy buenos'>Un par de juegos de navecitas muy buenos</a></li>
<li><a href='http://lobotuerto.com/blog/2008/08/25/compendio-de-enlaces-interesantes-1/' title='Compendio de enlaces interesantes #1'>Compendio de enlaces interesantes #1</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/17/como-entrar-a-bancanet-desde-linux-con-firefox/' title='Cómo entrar a BancaNet desde Linux con Firefox'>Cómo entrar a BancaNet desde Linux con Firefox</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2009/01/11/conky-monitorea-tu-sistema-desde-el-escritorio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>El utilísimo comando screen</title>
		<link>http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/</link>
		<comments>http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 01:52:41 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=92</guid>
		<description><![CDATA[Si usas Linux y no conoces (y usas) screen, mejor date un ti&#8230; empo y apréndelo. Me lo vas a agradecer. Aquí un par de recursos para comenzar: GNU Screen: an introduction and beginner&#8217;s tutorial screen: Keep Your Processes Running Despite A Dropped Connection Artículos relacionados: Un par de comandos útiles en Ubuntu Cómo borrar [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/gato_muy_ingles.jpg" title="" class="thickbox" rel="singlepic581" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=581&amp;width=&amp;height=&amp;mode=" alt="gato_muy_ingles.jpg" title="gato_muy_ingles.jpg" />
</a>

<p align="justify">Si usas <strong>Linux</strong> y no conoces (y usas) <strong>screen</strong>, mejor date un ti&#8230; empo y apréndelo. Me lo vas a agradecer. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Aquí un par de recursos para comenzar:<br />
<a href="http://www.kuro5hin.org/story/2004/3/9/16838/14935">GNU Screen: an introduction and beginner&#8217;s tutorial</a><br />
<a href="http://howtoforge.com/linux_screen">screen: Keep Your Processes Running Despite A Dropped Connection</a></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/' title='Un par de comandos útiles en Ubuntu'>Un par de comandos útiles en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/' title='Cómo borrar recursivamente todos los subdirectorios .svn'>Cómo borrar recursivamente todos los subdirectorios .svn</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/' title='Cómo descomprimir archivos .tar.bz2 y .tar.gzip'>Cómo descomprimir archivos .tar.bz2 y .tar.gzip</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Paquetes retenidos en apt-get</title>
		<link>http://lobotuerto.com/blog/2008/09/06/paquetes-retenidos-en-apt-get/</link>
		<comments>http://lobotuerto.com/blog/2008/09/06/paquetes-retenidos-en-apt-get/#comments</comments>
		<pubDate>Sun, 07 Sep 2008 04:43:37 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=641</guid>
		<description><![CDATA[Si al hacer un sudo apt-get update seguido de un sudo apt-get upgrade para actualizar tus paquetes, Ubuntu te dice que algunos de estos han sido retenidos, y no fueron actualizados, entonces este comando te puede ser útil: 1 sudo apt-get dist-upgrade La razon al parecer es que algunos de los paquetes que tienes instalados [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=90&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Si al hacer un <strong>sudo apt-get update</strong> seguido de un <strong>sudo apt-get upgrade</strong> para actualizar tus paquetes, <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a></strong> te dice que algunos de estos han sido <strong>retenidos</strong>, y <strong>no fueron actualizados</strong>, entonces este comando te puede ser útil:</p>
<div style="clear: both;"></div>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> dist-upgrade</pre></td></tr></table></div>

<p align="justify">La razon al parecer es que algunos de los paquetes que tienes instalados tienen dependencias nuevas y necesitan ser actualizadas.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/' title='Instalar FileZilla en Ubuntu 9.04'>Instalar FileZilla en Ubuntu 9.04</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/09/06/paquetes-retenidos-en-apt-get/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</title>
		<link>http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/</link>
		<comments>http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 06:02:13 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[programación]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[control de versiones]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[scm]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vcs]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=394</guid>
		<description><![CDATA[Unos artículos atrás les había comentado ya, un poco acerca de git y cuan grandioso que es. Si les despertó la curiosidad y desean probarlo, enseguida viene la guía de como instalarlo en tu sistema desde código fuente. Y aclaro que no es que me encante estar compilando todo lo que instalo &#8212;o estaría usando [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/tunnel.jpg" title="" class="thickbox" rel="singlepic545" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=545&amp;width=120&amp;height=&amp;mode=" alt="tunnel.jpg" title="tunnel.jpg" />
</a>
Unos artículos atrás les <a href="http://lobotuerto.com/blog/2008/05/24/sistemas-de-control-de-versiones-subversion-y-git/">había comentado ya</a>, un poco acerca de <a href="http://git.or.cz/"  class="alinks_links" onclick="return alinks_click(this);" title="Git&#8194;&#8211;&#8194;Fast Version Control System"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">git</a> y cuan grandioso que es. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Si les despertó la curiosidad y desean probarlo, enseguida viene la guía de como instalarlo en tu sistema desde código fuente.</p>
<p align="justify">Y aclaro que no es que me encante estar compilando todo lo que instalo &#8212;o estaría usando Gentoo&#8212; pero desgraciadamente los repositorios de <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> no se mantienen muy al día con las versiones de todos los paquetes que manejan.</p>
<p align="justify">El procedimiento para hacernos con la versión más reciente de git es  descargar el código fuente, descomprimir el archivo, instalar las dependencias para compilar el código fuente, configurar y llevar a cabo la instalación.</p>
<div class="lobo-nota">Al momento de escribir este artículo, la última versión disponible era la <strong>1.6.0.</strong> Revisa cuál es la más reciente <a href="http://git.or.cz/">aquí</a>.</div>
<h3>Instalación</h3>
<p align="justify">Abre una terminal, ingresa al directorio en donde se va a descargar el código fuente de git, luego teclea lo siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>scm<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>git-1.6.0.tar.bz2
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjvf</span> git-1.6.0.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> git-1.6.0
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> build-dep git-core
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libssl-dev
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span> all doc
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #007800;">prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span> <span style="color: #c20cb9; font-weight: bold;">install</span> install-doc</pre></td></tr></table></div>

<p align="justify">Listo, para probar tu instalación teclea esto:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">git <span style="color: #660033;">--version</span></pre></td></tr></table></div>

<p align="justify">Debe contestarte con un <strong>git version 1.6.0.</strong></p>
<p align="justify">Es recomendable ejecutar los siguientes comandos para propósitos de identificación.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">git config <span style="color: #660033;">--global</span> user.name <span style="color: #ff0000;">&quot;Pon aquí tu nombre&quot;</span>
git config <span style="color: #660033;">--global</span> user.email <span style="color: #ff0000;">&quot;pon@aqui.tu.correo&quot;</span></pre></td></tr></table></div>

<p align="justify">Para tener texto en color:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">git config <span style="color: #660033;">--global</span> color.ui <span style="color: #ff0000;">&quot;auto&quot;</span></pre></td></tr></table></div>

<p align="justify">Para habilitar la autodetección del número de hilos a usar al empacar los repositorios (bueno para computadoras multi-CPU o multi-núcleo):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">git config <span style="color: #660033;">--global</span> pack.threads <span style="color: #ff0000;">&quot;0&quot;</span></pre></td></tr></table></div>

<h3><a href="http://github.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Secure source code hosting and collaborative development"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">GitHub</a> Social Code Hosting</h3>
<p align="justify">Si tienes un proyecto open source y quieres un servicio de hospedaje de código y control de versiones premium sin pagar un centavo, prueba con <a href="http://github.com/">GitHub</a>.<br />
Aunque si lo tuyo son los proyectos privados, también tienen buenos <a href="http://github.com/plans">planes</a>.</p>
<h3>Git con git</h3>
<p align="justify">Ya que cuentes con git podrás mantenerte actualizado fácilmente.<br />
Descarga el código fuente directamente desde su repositorio:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">git clone git:<span style="color: #000000; font-weight: bold;">//</span>git.kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>scm<span style="color: #000000; font-weight: bold;">/</span>git<span style="color: #000000; font-weight: bold;">/</span>git.git</pre></td></tr></table></div>

<p align="justify">Compila e instala con el procedimiento descrito arriba.</p>
<div class="lobo-nota">Acostumbro usar las versiones <em>edge</em> del software con el que trabajo, por tanto decidí crear un directorio especial llamado <strong>~/git</strong> para ahí meter todos los repositorios que descargo. <em>*tip tip* *wink wink* *nudge nudge*</em> <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </div>
<h3>Tutoriales</h3>
<ul>
<li><a href="http://wiki.sourcemage.org/Git_Guide">Git Guide (Excelentes tips y mini how-to&#8217;s)</a></li>
<li><a href="http://jonas.nitro.dk/git/quick-reference.html">Git Quick Reference (Referencia rápida)</a></li>
<li><a href="http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html">Git for everyone (El tutorial del sitio oficial)</a></li>
</ul>
<h3>Referencias</h3>
<p><a href="http://joaquin.axai.com.mx/2008/02/10/compilando-git-en-ubuntu-710">Compilando git en ubuntu 7.10</a><br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/05/24/sistemas-de-control-de-versiones-subversion-y-git/' title='Sistemas de control de versiones: Subversion y git'>Sistemas de control de versiones: Subversion y git</a></li>
<li><a href='http://lobotuerto.com/blog/2009/11/17/como-cambiar-el-editor-por-defecto-que-usa-git/' title='Cómo cambiar el editor por defecto que usa git'>Cómo cambiar el editor por defecto que usa git</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/' title='Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo'>Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/' title='Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04'>Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Software para descargas en Linux</title>
		<link>http://lobotuerto.com/blog/2008/06/12/software-para-descargas-en-linux/</link>
		<comments>http://lobotuerto.com/blog/2008/06/12/software-para-descargas-en-linux/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 03:16:56 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bittorrent]]></category>
		<category><![CDATA[descargas]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[torrents]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=14</guid>
		<description><![CDATA[Ubuntu 8.04 incluye el Transmission como cliente de BitTorrent por defecto (en lo personal me gusta mucho su estilo minimalista), sin embargo mi arsenal no estaría completo sin el eMule. En Linux no existe el eMule, pero si el aMule. Puedes buscarlo e instalarlo desde: Aplicaciones &#8594; Añadir y quitar&#8230; En esta página hay instrucciones [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/downloads.png" title="" class="thickbox" rel="singlepic557" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=557&amp;width=120&amp;height=&amp;mode=" alt="downloads.png" title="downloads.png" />
</a>

<p align="justify"><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> 8.04 incluye el <strong>Transmission</strong> como cliente de BitTorrent por defecto (en lo personal me gusta mucho su estilo <em>minimalista</em>), sin embargo mi arsenal no estaría completo sin el eMule.</p>
<p align="justify">En Linux no existe el eMule, pero si el <strong>aMule.</strong> <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="justify">Puedes buscarlo e instalarlo desde:<br />
<strong>Aplicaciones</strong> &#8594; <strong>Añadir y quitar&#8230;</strong></p>
<p align="left">En <a href="http://azkena.wordpress.com/2007/10/22/tutorial-enlaces-ed2k-firefox-amule/">esta página</a> hay instrucciones para instalarlo desde la línea de comando y de cómo configurar el <a href="http://www.mozilla.com/firefox/"  class="alinks_links" onclick="return alinks_click(this);" title="Firefox web browser"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Firefox</a> para que abra los enlaces de forma automática.</p>
<p align="justify">Y bueno, ya para terminar, si quieres <em>probar si funciona bien</em> tu Transmission, aquí te dejo una <a href="http://btjunkie.org/">buena página</a> con torrents de prueba (wink, wink). <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/05/15/firefox-error-203/' title='Firefox error 203'>Firefox error 203</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/17/como-entrar-a-bancanet-desde-linux-con-firefox/' title='Cómo entrar a BancaNet desde Linux con Firefox'>Cómo entrar a BancaNet desde Linux con Firefox</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/10/xmind-hacer-mapas-mentales-nunca-fue-tan-facil/' title='XMind &#8212; Hacer mapas mentales nunca fue tan fácil'>XMind &#8212; Hacer mapas mentales nunca fue tan fácil</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/06/12/software-para-descargas-en-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cómo cambiar la distribución del teclado en Ubuntu Server</title>
		<link>http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/</link>
		<comments>http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 01:40:55 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=74</guid>
		<description><![CDATA[Hace poco instalé el Ubuntu 8.04 Server Edition en una PC del trabajo y se me pasó configurarle adecuadamente la distribución del teclado. Con este comando arreglé el problema: 1 sudo dpkg-reconfigure console-setup Para configurar el teclado en la versión desktop ve a: Sistema &#8594; Preferencias &#8594; Teclado &#8594; Distribuciones Artículos relacionados: El utilísimo comando [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=90&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Hace poco instalé el <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> 8.04 Server Edition</strong> en una PC del trabajo y se me pasó configurarle adecuadamente la distribución del teclado.</p>
<div style="clear: both;"></div>
<p align="justify">Con este comando arreglé el problema:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> dpkg-reconfigure console-setup</pre></td></tr></table></div>

<p align="justify">Para configurar el teclado en la versión desktop ve a:<br />
<strong>Sistema</strong> &#8594; <strong>Preferencias</strong> &#8594; <strong>Teclado</strong> &#8594; <strong>Distribuciones</strong></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/' title='Un par de comandos útiles en Ubuntu'>Un par de comandos útiles en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/' title='Cómo borrar recursivamente todos los subdirectorios .svn'>Cómo borrar recursivamente todos los subdirectorios .svn</a></li>
<li><a href='http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/' title='Cómo descomprimir archivos .tar.bz2 y .tar.gzip'>Cómo descomprimir archivos .tar.bz2 y .tar.gzip</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Edición de video en Linux</title>
		<link>http://lobotuerto.com/blog/2008/06/11/edicion-de-video-en-linux/</link>
		<comments>http://lobotuerto.com/blog/2008/06/11/edicion-de-video-en-linux/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 02:27:22 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[edición de video]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[videos]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/?p=95</guid>
		<description><![CDATA[No sólo la Mac y Windows tienen programas para editar video. ¡También los hay para Linux! ¿lo mejor? no tienes que pagar un quinto para poder usarlos &#8212;de manera legal, claro. Si andas buscando información acerca de software para hacer edición de video en Linux, no busques más, en este artículo, encontrarás algunas reseñas de [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/edicion-de-video-en-linux.jpg" title="" class="thickbox" rel="singlepic555" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=555&amp;width=120&amp;height=&amp;mode=" alt="edicion-de-video-en-linux.jpg" title="edicion-de-video-en-linux.jpg" />
</a>

<p align="justify">No sólo la <strong>Mac</strong> y <strong>Windows</strong> tienen programas para editar video. ¡También los hay para <strong>Linux</strong>! ¿lo mejor? no tienes que pagar un quinto para poder usarlos &#8212;de manera legal, claro. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p align="justify">Si andas buscando información acerca de software para hacer edición de video en <strong>Linux,</strong> no busques más, en <a href="http://www.ginatonic.net/2008/02/11/editores-de-video-en-linux/">este artículo,</a> encontrarás algunas reseñas de los más sobresalientes.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2010/08/10/nutrias-agarrandose-la-mano/' title='Nutrias agarrándose la mano'>Nutrias agarrándose la mano</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/29/george-carlin-salvando-el-planeta/' title='George Carlin &#8212; Salvando el planeta'>George Carlin &#8212; Salvando el planeta</a></li>
<li><a href='http://lobotuerto.com/blog/2010/04/08/como-montar-una-particion-de-windows-en-ubuntu/' title='Cómo montar una partición de Windows en Ubuntu'>Cómo montar una partición de Windows en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2010/03/29/long-life-to-you-my-friend/' title='Long life to you my friend!'>Long life to you my friend!</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/06/11/edicion-de-video-en-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox error 203</title>
		<link>http://lobotuerto.com/blog/2008/05/15/firefox-error-203/</link>
		<comments>http://lobotuerto.com/blog/2008/05/15/firefox-error-203/#comments</comments>
		<pubDate>Fri, 16 May 2008 00:54:52 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[203]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/05/15/firefox-error-203/</guid>
		<description><![CDATA[Aunque traté de usar a Firefox 3 beta 5 como mi ambiente de desarrollo web, no pude. Aún le falta mucho trabajo al Firebug alpha para ser realmente útil. Sin embargo, decidí dejarlo en mi máquina para seguirlo calando, y procedí a instalar Firefox 2. Pero al intentar instalarle alguna extensión (add-on) siempre me aparecía [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/firefox.jpg" title="" class="thickbox" rel="singlepic475" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=475&amp;width=64&amp;height=&amp;mode=" alt="firefox.jpg" title="firefox.jpg" />
</a>

<p align="justify">Aunque <a href="http://lobotuerto.com/blog/2008/04/29/firebug-12-en-firefox-3-beta-5/">traté de usar</a> a <strong><a href="http://www.mozilla.com/firefox/"  class="alinks_links" onclick="return alinks_click(this);" title="Firefox web browser"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Firefox</a> 3 beta 5</strong> como mi ambiente de desarrollo web, no pude. Aún le falta mucho trabajo al <strong><a href="http://www.getfirebug.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Firebug - Web Development Evolved"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Firebug</a></strong> alpha para ser realmente útil. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p align="justify">Sin embargo, decidí dejarlo en mi máquina para seguirlo <em>calando</em>, y procedí a instalar <strong>Firefox 2.</strong> Pero al intentar instalarle alguna extensión (add-on) siempre me aparecía el mensaje de error número <strong>203.</strong></p>
<p align="justify">Hay quien propone borrar todo el directorio <strong>.mozilla</strong> de tu <em>home</em> (~). Funciona, pero no es necesario. La solución es más simple, sólo necesitas eliminar el archivo: <strong>extensions.rdf</strong> que se encuentra en: <strong>~/.mozilla/firefox/80x821ay.default</strong></p>
<p align="justify">Recuerda presionar <strong>Ctrl + H</strong> para ver los archivos ocultos.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/07/recopilador-de-complementos-para-firefox/' title='Recopilador de complementos para Firefox'>Recopilador de complementos para Firefox</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/software-para-descargas-en-linux/' title='Software para descargas en Linux'>Software para descargas en Linux</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/29/firebug-12-en-firefox-3-beta-5/' title='Firebug 1.2 en Firefox 3 beta 5'>Firebug 1.2 en Firefox 3 beta 5</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/17/como-entrar-a-bancanet-desde-linux-con-firefox/' title='Cómo entrar a BancaNet desde Linux con Firefox'>Cómo entrar a BancaNet desde Linux con Firefox</a></li>
<li><a href='http://lobotuerto.com/blog/2010/05/14/convertir-archivos-otf-a-ttf-en-ubuntu/' title='Convertir archivos .otf a .ttf en Ubuntu'>Convertir archivos .otf a .ttf en Ubuntu</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/05/15/firefox-error-203/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo</title>
		<link>http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/</link>
		<comments>http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/#comments</comments>
		<pubDate>Sat, 10 May 2008 06:28:07 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[game development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[gamedev]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[irrlicht]]></category>
		<category><![CDATA[netbeans]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/</guid>
		<description><![CDATA[¿Por qué NetBeans? porque me gusta. Lo he estado usando para el último proyecto Rails en el que he trabajado y se me hace un IDE muy bueno. Si quieren leer sobre sus capacidades específicas para C/C++ pueden hacerlo aquí: C/C++ features. Se que muchos han escuchado que necesita grandes cantidades de recursos, que es [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/gamedev/irrlicht_new_logo.png" title="" class="thickbox" rel="singlepic537" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=537&amp;width=140&amp;height=&amp;mode=" alt="irrlicht_new_logo.png" title="irrlicht_new_logo.png" />
</a>

<p align="justify">¿Por qué <a href="http://www.netbeans.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Fully-featured Java IDE written completely in Java"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">NetBeans</a>? porque me gusta.</p>
<p align="justify">Lo he estado usando para el último proyecto <a href="http://www.rubyonrails.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Ruby on Rails"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Rails</a> en el que he trabajado y se me hace un IDE muy bueno. Si quieren leer sobre sus capacidades específicas para C/C++ pueden hacerlo aquí: <a href="http://www.netbeans.org/features/cpp/index.html">C/C++ features.</a></p>
<p align="justify">Se que muchos han escuchado que necesita grandes cantidades de recursos, que es muy lento y otras tantas cosas más, yo solo les digo que antes de juzgar lo prueben.</p>
<p align="justify">Aprovechen, acaba de salir la versión <strong>6.1.</strong> <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Objetivo</h3>
<p align="justify">El objetivo de este tutorial es configurar NetBeans para poder compilar desde ahí nuestras aplicaciones basadas en <a href="http://irrlicht.sourceforge.net/"  class="alinks_links" onclick="return alinks_click(this);" title="The Irrlicht Engine is an open source high performance realtime 3D engine."  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Irrlicht</a>.<br />
Y crearemos nuestro primer programa usando este poderoso motor gráfico, así es, ¡un Hola Mundo con Irrlicht!</p>
<h3>Tutoriales pasados</h3>
<p><a href="http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/">Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</a></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/' title='Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04'>Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2009/03/04/tutorial-4-de-irrlicht-como-controlar-con-el-teclado-un-nodo-de-escena/' title='Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena'>Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/' title='Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron'>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</title>
		<link>http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/</link>
		<comments>http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/#comments</comments>
		<pubDate>Sun, 04 May 2008 03:29:55 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[game development]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[gamedev]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[irrlicht]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-instalando-irrlicht-en-ubuntu-804/</guid>
		<description><![CDATA[Este tutorial es el primero de una serie que escribiré acerca de este excelente motor gráfico. Los artículos me servirán como apuntes de lo que he aprendido y si alguien más se beneficia con ellos pues qué mejor. Objetivo El objetivo de este primer tutorial es descargar, compilar e instalar las bibliotecas de la versión [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/gamedev/irrlicht_new_logo.png" title="" class="thickbox" rel="singlepic537" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=537&amp;width=140&amp;height=&amp;mode=" alt="irrlicht_new_logo.png" title="irrlicht_new_logo.png" />
</a>

<p align="justify">Este tutorial es el primero de una serie que escribiré acerca de este excelente motor gráfico.<br />
Los artículos me servirán como apuntes de lo que he aprendido y si alguien más se beneficia con ellos pues qué mejor.</p>
<h3>Objetivo</h3>
<p align="justify">El objetivo de este primer tutorial es descargar, compilar e instalar las bibliotecas de la versión más reciente de <a href="http://irrlicht.sourceforge.net/"  class="alinks_links" onclick="return alinks_click(this);" title="The Irrlicht Engine is an open source high performance realtime 3D engine."  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Irrlicht</a> en mi sistema operativo favorito: <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a></strong> en su versión más reciente la <strong>8.04 Hardy Heron</strong>. Como paso opcional compilaremos los ejemplos y ejecutaremos el famoso &#8220;Hello world&#8221;.</p>
<p align="justify">A darle, que pa&#8217; luego es tarde&#8230; <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-82"></span></p>
<h3>Descargar y compilar Irrlicht</h3>
<p align="justify">Si no cuentas con <strong>SVN</strong> (Subversion) necesitas instalarlo, lo ocuparás para descargar el código fuente de Irrlicht.<br />
Abre una terminal y en ella teclea lo siguiente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion</pre></td></tr></table></div>

<p align="justify">También necesitamos instalar ciertos paquetes en nuestro sistema para poder compilar Irrlicht.<br />
Teclea lo siguiente en la terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential xserver-xorg-dev x11proto-xf86vidmode-dev libxxf86vm-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxext-dev</pre></td></tr></table></div>

<p align="justify">Ya con SVN en nuestro equipo y los requisitos previos cubiertos, procedemos a crear un directorio donde almacenaremos el código fuente de Irrlicht que descargaremos desde su repositorio.<br />
En tu terminal teclea los siguiente comandos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> src
<span style="color: #7a0874; font-weight: bold;">cd</span> src
<span style="color: #c20cb9; font-weight: bold;">svn</span> checkout https:<span style="color: #000000; font-weight: bold;">//</span>irrlicht.svn.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>svnroot<span style="color: #000000; font-weight: bold;">/</span>irrlicht<span style="color: #000000; font-weight: bold;">/</span>trunk irrlicht</pre></td></tr></table></div>

<p align="justify">Para compilar Irrlicht:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> irrlicht<span style="color: #000000; font-weight: bold;">/</span>source<span style="color: #000000; font-weight: bold;">/</span>Irrlicht
<span style="color: #c20cb9; font-weight: bold;">make</span></pre></td></tr></table></div>

<h4>Opcional: Compilar los ejemplos</h4>
<p align="justify">Después de compilar Irrlicht, inmediatamente puedes compilar los ejemplos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>..<span style="color: #000000; font-weight: bold;">/</span>examples
.<span style="color: #000000; font-weight: bold;">/</span>buildAllExamples.sh
<span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>Linux</pre></td></tr></table></div>

<p align="justify">Para ejecutar el <strong>Hello World</strong> de ejemplo que trae Irrlicht, escribe lo siguiente en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>01.HelloWorld</pre></td></tr></table></div>

<h3>Instalar Irrlicht en Ubuntu</h3>
<p align="justify">Ahora vamos a instalar la biblioteca compilada y los archivos de cabecera en nuestro sistema:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>..
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> lib<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>libIrrlicht.a <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-r</span> include<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>include<span style="color: #000000; font-weight: bold;">/</span></pre></td></tr></table></div>

<p align="justify">Listo, ya contamos con lo necesario para experimentar y comenzar a develar los misterios de la programación de videojuegos. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>Lo que sigue</h3>
<p align="justify">El tutorial #2 ya viene en camino y muestra cómo configurar <a href="http://www.netbeans.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Fully-featured Java IDE written completely in Java"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">NetBeans</a> &#8212;mi IDE favorita&#8212; para compilar programas basados en Irrlicht.</p>
<p align="justify">¡Hasta la próxima!</p>
<h3>Referencia</h3>
<p><a href="http://www.irrlicht3d.org/wiki/index.php?n=Main.InstallingIrrlicht">Installing Irrlicht</a></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/' title='Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo'>Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2009/03/04/tutorial-4-de-irrlicht-como-controlar-con-el-teclado-un-nodo-de-escena/' title='Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena'>Tutorial #4 de Irrlicht: Cómo controlar con el teclado un nodo de escena</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/' title='Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron'>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</title>
		<link>http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/</link>
		<comments>http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/#comments</comments>
		<pubDate>Thu, 01 May 2008 03:19:50 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[desarrollo web]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[8.04]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[9.04]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[jaunty jackalope]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/</guid>
		<description><![CDATA[Instalar LAMP (Linux Apache MySQL PHP) en tu máquina con Ubuntu no podría ser más fácil. Con esta guía aprenderás cómo hacerlo en unos cuantos minutos. El procedimiento se divide en tres partes: Instalar y probar Apache, después PHP y finalmente MySQL. Comencemos con Apache En tu terminal (Aplicaciones &#8594; Accesorios &#8594; Terminal) teclea: 1 [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/apache.jpg" title="" class="thickbox" rel="singlepic485" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=485&amp;width=80&amp;height=&amp;mode=" alt="apache.jpg" title="apache.jpg" />
</a>

<p align="justify">Instalar LAMP (Linux <a href="http://httpd.apache.org/"  class="alinks_links" onclick="return alinks_click(this);" title="The Number One HTTP Server On The Internet"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Apache</a> <a href="http://www.mysql.com/"  class="alinks_links" onclick="return alinks_click(this);" title="The world's most popular open source database"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">MySQL</a> <a href="http://www.php.net/"  class="alinks_links" onclick="return alinks_click(this);" title="PHP Hypertext Preprocessor"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">PHP</a>) en tu máquina con <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> no podría ser más fácil.</p>
<p align="justify">Con esta guía aprenderás cómo hacerlo en unos cuantos minutos. El procedimiento se divide en tres partes: Instalar y probar Apache, después PHP y finalmente MySQL.</p>
<h3>Comencemos con Apache</h3>
<p align="justify">En tu terminal (Aplicaciones &#8594; Accesorios &#8594; Terminal) teclea:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> apache2</pre></td></tr></table></div>

<p align="justify">Listo, ya tienes instalado Apache 2 en tu máquina.</p>
<p><span id="more-41"></span></p>
<p align="justify">Por lo regular después de la instalación el servidor web será iniciado automáticamente, pero si necesitas iniciarlo de manera manual teclea esto en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 start</pre></td></tr></table></div>

<p align="justify">Si por alguna razón necesitas detener el servicio, escribe en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 stop</pre></td></tr></table></div>

<p align="justify">El directorio donde se almacenan tus documentos web es: <strong>/var/www</strong></p>
<p align="justify">Si todo resultó bien, debes ver una página web ordinaria al escribir <strong>http://localhost</strong> en la barra de direcciones de tu navegador.</p>
<h3>Hemos terminado con Apache, ahora a la conquista de PHP</h3>
<p align="justify">Escribe en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5 libapache2-mod-php5 php5-cli php5-mysql</pre></td></tr></table></div>

<p align="justify">Reinicia Apache con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></td></tr></table></div>

<p align="justify">Terminamos con PHP. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p align="justify">Para probar que se haya instalado correctamente vamos a crear un pequeño script en PHP. Escribe en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>test.php</pre></td></tr></table></div>

<p align="justify">Ponle este contenido y guárdalo:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
    <span style="color: #990000;">phpinfo</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p align="justify">Para ejecutar el script ve a esta dirección: <strong>http://localhost/test.php</strong> &#8212; debes ver una página con información sobre tu instalación de PHP.</p>
<h3>66% concluido, continuemos con MySQL</h3>
<p align="justify">De nuevo, escribe en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-server</pre></td></tr></table></div>

<p></p>
<div class="lobo-nota">Para otras aplicaciones es posible que necesites instalar estos otros paquetes (por ejemplo para instalar la gema de mysql en <strong>RubyGems</strong>).</div>
<p></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-client mysql-admin mysql-query-browser libmysqlclient15-dev</pre></td></tr></table></div>

<p align="justify">Probemos si todo funciona correctamente:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">mysql <span style="color: #660033;">-uroot</span> <span style="color: #660033;">-pxxx</span></pre></td></tr></table></div>

<p align="justify">Donde <strong>xxx</strong> es la contraseña que ingresaste durante la instalación de MySQL.</p>
<p align="justify">Si deseas cambiar la contraseña de la cuenta root, ejecuta el siguiente comando después de ingresar a MySQL:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">SET</span> <span style="color: #000099;">PASSWORD</span> FOR <span style="color: #008000;">'root'</span>@<span style="color: #008000;">'localhost'</span> <span style="color: #CC0099;">=</span> <span style="color: #000099;">PASSWORD</span><span style="color: #FF00FF;">&#40;</span><span style="color: #008000;">'yyy'</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span></pre></td></tr></table></div>

<p align="justify">Sustituye <strong>yyy</strong> por tu nueva contraseña.</p>
<h4>Esto es opcional</h4>
<p align="justify">Si quieres acceder a MySQL por medio de scripts remotos (es decir, no albergados en tu propio servidor) debes editar el <strong>bind-address</strong> en <strong>/etc/mysql/my.cnf</strong> y reemplazar el valor que trae por defecto (127.0.0.1) por tu dirección IP.</p>
<p align="justify">Si hiciste algún cambio en <strong>my.cnf</strong> reinicia MySQL con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart</pre></td></tr></table></div>

<p align="justify">Felicidades, tu sistema LAMP está instalado y listo para utilizarse. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Misceláneos</h3>
<h4>phpMyAdmin</h4>
<p align="justify">phpMyAdmin es un administrador gráfico para MySQL, yo lo uso con frecuencia. Para instalarlo teclea en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> phpmyadmin</pre></td></tr></table></div>

<p align="justify">Para acceder a él visita: <strong>http://localhost/phpmyadmin</strong></p>
<div class="lobo-nota">No olvides presionar la barra espaciadora en la pantalla de configuración para seleccionar a <strong>Apache2</strong> como el servidor web que deseamos configurar automáticamente.</div>
<h4>gd library</h4>
<p align="justify">Si deseas soporte para generación y manipulación de gráficos en PHP, escribe en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> php5-gd</pre></td></tr></table></div>

<h4>SSL en Apache 2</h4>
<p align="justify">Para activar el módulo SSL (Secure Socket Layer) en Apache 2, ingresa en tu terminal:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod ssl</pre></td></tr></table></div>

<p align="justify">Reinicia Apache con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></td></tr></table></div>

<h3>Referencia</h3>
<p align="justify"><a href="http://joeabiraad.com/linuxunix/installing-lamp-on-ubuntu-710-linuxapachemysqlphp/100">Installing LAMP on Ubuntu 7.10 (Linux,Apache,MySQL,PHP)</a></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/20/como-instalar-postgresql-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10'>Cómo instalar PostgreSQL en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/10/instalar-ruby-1-9-junto-a-ruby-1-8-en-ubuntu-9-04-jaunty-jackalope/' title='Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10'>Instalar Ruby 1.9 junto a Ruby 1.8 en Ubuntu 9.04 y 9.10</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/24/como-instalar-java-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope'>Cómo instalar Java en Ubuntu 9.04 (y 9.10) Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2009/07/14/como-instalar-rubygosu-en-ubuntu-9-04-jaunty-jackalope/' title='Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope'>Cómo instalar Ruby/Gosu en Ubuntu 9.04 Jaunty Jackalope</a></li>
<li><a href='http://lobotuerto.com/blog/2009/06/19/instalar-filezilla-en-ubuntu-9-04/' title='Instalar FileZilla en Ubuntu 9.04'>Instalar FileZilla en Ubuntu 9.04</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>113</slash:comments>
		</item>
		<item>
		<title>Un par de comandos útiles en Ubuntu</title>
		<link>http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/</link>
		<comments>http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 14:31:02 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/</guid>
		<description><![CDATA[Aquí les dejo un par de comandos que les pueden ser útiles si llegan a desconfigurar su sistema &#8212;como yo jeje. Hace rato al estar moviéndole a los drivers de mi tarjeta de video me quedé básicamente sin soporte gráfico. Con esto lo solucioné: sudo dpkg-reconfigure xserver-xorg Al instalar la edición servidor de Ubuntu 8.04 [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=100&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Aquí les dejo un par de comandos que les pueden ser útiles si llegan a desconfigurar su sistema &#8212;como yo jeje.</p>
<p align="justify">Hace rato al estar moviéndole a los <em>drivers</em> de mi tarjeta de video me quedé básicamente sin soporte gráfico. Con esto lo solucioné:</p>
<pre class="brush: css">
sudo dpkg-reconfigure xserver-xorg
</pre>
<p align="justify">Al instalar la edición servidor de <strong><a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a> 8.04</strong> en otra PC, se me pasó elegir la distribución de teclado a emplear, ¿la solución? ejecutar este comando:</p>
<pre class="brush: css">
sudo dpkg-reconfigure console-setup
</pre>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/' title='Cómo borrar recursivamente todos los subdirectorios .svn'>Cómo borrar recursivamente todos los subdirectorios .svn</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/' title='Cómo descomprimir archivos .tar.bz2 y .tar.gzip'>Cómo descomprimir archivos .tar.bz2 y .tar.gzip</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cómo borrar recursivamente todos los subdirectorios .svn</title>
		<link>http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/</link>
		<comments>http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 23:39:41 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/</guid>
		<description><![CDATA[Habiéndome cambiado a git ya no tenía uso para los directorios .svn que plagaban mis proyectos. Así que me dí a la tarea de buscar una forma de borrarlos rápidamente y sin hacer mucha talacha. Por cierto, ya viene un artículo sobre software de control de versiones. No sé como he podido vivir sin git [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/delete2.jpg" title="" class="thickbox" rel="singlepic536" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=536&amp;width=90&amp;height=&amp;mode=" alt="delete2.jpg" title="delete2.jpg" />
</a>

<p align="justify">Habiéndome cambiado a <strong><a href="http://git.or.cz/"  class="alinks_links" onclick="return alinks_click(this);" title="Git&#8194;&#8211;&#8194;Fast Version Control System"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">git</a></strong> ya no tenía uso para los directorios <strong>.svn</strong> que plagaban mis proyectos. Así que me dí a la tarea de buscar una forma de borrarlos rápidamente y sin hacer mucha talacha.</p>
<p align="justify">Por cierto, ya viene un artículo sobre software de control de versiones. No sé como he podido vivir sin <strong>git</strong> todo este tiempo jejeje. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="clear: both;"></div>
<p align="justify">He aquí la solución:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> .svn<span style="color: #000000; font-weight: bold;">`</span></pre></td></tr></table></div>

<p align="justify">Otras formas de hacerlo (que no probé):</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-type</span> d <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'.svn'</span> <span style="color: #660033;">-print0</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">-0</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rdf</span> 
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> .svn <span style="color: #660033;">-print0</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #660033;">-0</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span>
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> .svn <span style="color: #660033;">-exec</span> <span style="color: #ff0000;">'rm -rf {}\;'</span></pre></td></tr></table></div>

<p align="justify"><strong>Referencias</strong><br />
<a href="http://www.anyexample.com/linux_bsd/bash/recursively_delete__svn_directories.xml">Recursively delete .svn directories</a><br />
<a href="http://devnulled.com/content/2005/10/unix-command-to-remove-subversion-svn-directories/">Unix Command To Remove Subversion .svn Directories</a><br />
<a href="http://textsnippets.com/posts/show/104">Recursively remove all .svn directories</a></p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/' title='Un par de comandos útiles en Ubuntu'>Un par de comandos útiles en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/' title='Cómo descomprimir archivos .tar.bz2 y .tar.gzip'>Cómo descomprimir archivos .tar.bz2 y .tar.gzip</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Programa para recuperar datos e imágenes en Ubuntu</title>
		<link>http://lobotuerto.com/blog/2008/04/27/programa-para-recuperar-datos-e-imagenes-en-ubuntu/</link>
		<comments>http://lobotuerto.com/blog/2008/04/27/programa-para-recuperar-datos-e-imagenes-en-ubuntu/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 02:31:47 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/04/27/programa-para-recuperar-datos-e-imagenes-en-ubuntu/</guid>
		<description><![CDATA[Después de buscar un rato en la red encontré un programa excepcionalmente bueno, ¿lo mejor de todo? es opensource y fácil de utilizar. El software lo quería para recuperar una imagen que me hicieron borrar de mi teléfono celular, aunque pude recuperar unas imágenes que borré desde Ubuntu, me fue imposible recuperar una que borré [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/logo-ubuntu-2.jpg" title="" class="thickbox" rel="singlepic522" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=522&amp;width=100&amp;height=&amp;mode=" alt="logo-ubuntu-2.jpg" title="logo-ubuntu-2.jpg" />
</a>

<p align="justify">Después de buscar un rato en la red encontré un programa excepcionalmente bueno, ¿lo mejor de todo? es opensource y fácil de utilizar.</p>
<p align="justify">El software lo quería para recuperar una imagen que me hicieron borrar de mi teléfono celular, aunque pude recuperar unas imágenes que borré desde <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>, me fue imposible recuperar una que borré desde el mismo teléfono. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p align="justify">Para instalarlo sólo escribe esto en una terminal:</p>
<pre class="brush: css">
sudo apt-get install testdisk
</pre>
<p align="justify">Para recuperar archivos ejecutas el comando:</p>
<pre class="brush: css">
sudo photorec /d directorio_para_guardar_lo_recuperado
</pre>
<p align="justify">Necesitas ponerle <strong>sudo</strong> para que el software pueda reconocer tus unidades de disco.</p>
<p align="justify">Si deseas conocer un poco más sobre el funcionamiento de <strong>PhotoRec</strong> te recomiendo este artículo: <a href="http://redavalon.blogspot.com/2007/04/como-recuperar-datos-perdidos.html">Cómo recuperar datos perdidos</a>.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/' title='Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron'>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/' title='Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo'>Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/' title='Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04'>Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/04/27/programa-para-recuperar-datos-e-imagenes-en-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>¡Ubuntu 8.04 Hardy Heron se acerca!</title>
		<link>http://lobotuerto.com/blog/2008/04/23/%c2%a1ubuntu-804-hardy-heron-se-acerca/</link>
		<comments>http://lobotuerto.com/blog/2008/04/23/%c2%a1ubuntu-804-hardy-heron-se-acerca/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 16:03:49 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/04/23/%c2%a1ubuntu-804-hardy-heron-se-acerca/</guid>
		<description><![CDATA[Falta solo un día para que vea la luz la nueva versión de Ubuntu. ¡No puedo esperar! Actualización ¡La garza ha despegado! checa este enlace para ver todas las descargas disponibles, de paso puedes ver como independizar tu directorio /home para no perder la configuración de todos tus programas si reinstalas Ubuntu desde cero. Artículos [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Falta solo un día para que vea la luz la nueva versión de <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>.</p>
<p align="justify">¡No puedo esperar! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p align="justify"><strong>Actualización</strong></p>
<p>¡La garza ha despegado! checa <a href="http://tuxpepino.wordpress.com/2008/04/24/%c2%a1publicado-ubuntu-804-hardy-heron-final/">este enlace</a> para ver todas las descargas disponibles, de paso puedes ver <a href="http://tuxpepino.wordpress.com/2007/09/18/independizando-el-home/">como independizar tu directorio /home</a> para no perder la configuración de todos tus programas si reinstalas Ubuntu desde cero.<br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/08/20/como-compilar-e-instalar-git-160-en-ubuntu-804-hardy-heron/' title='Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron'>Cómo compilar e instalar git 1.6.0 en Ubuntu 8.04 Hardy Heron</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/10/tutorial-2-de-irrlicht-como-configurar-netbeans-61-y-hacer-un-hola-mundo/' title='Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo'>Tutorial #2 de Irrlicht: Cómo configurar NetBeans 6.1 y hacer un Hola Mundo</a></li>
<li><a href='http://lobotuerto.com/blog/2008/05/03/tutorial-1-de-irrlicht-como-compilar-e-instalar-irrlicht-en-ubuntu-804/' title='Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04'>Tutorial #1 de Irrlicht: Cómo compilar e instalar Irrlicht en Ubuntu 8.04</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/30/como-instalar-lamp-en-ubuntu-804/' title='Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10'>Cómo instalar LAMP en Ubuntu 8.04, 8.10, 9.04, 9.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/04/23/%c2%a1ubuntu-804-hardy-heron-se-acerca/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cómo descomprimir archivos .tar.bz2 y .tar.gzip</title>
		<link>http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/</link>
		<comments>http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 14:45:05 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/</guid>
		<description><![CDATA[En mi quehacer diario a veces tengo que descomprimir archivos a través de la línea de comandos &#8212;como cuando hago un SSH al servidor para instalar Joomla para algún sitio nuevo&#8212; sin embargo siempre pasa lo mismo, recurro a Google je. Así, para no tener que estarlo buscando lo anotaré aquí, y pues si alguien [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/utils22.png" title="" class="thickbox" rel="singlepic514" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=514&amp;width=90&amp;height=&amp;mode=" alt="utils22.png" title="utils22.png" />
</a>

<p align="justify">En mi quehacer diario a veces tengo que descomprimir archivos a través de la línea de comandos &#8212;como cuando hago un <strong>SSH</strong> al servidor para instalar <a href="http://www.joomla.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Joomla! is an award-winning Content Management System (CMS) that will help you build websites and other powerful online applications."  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Joomla</a> para algún sitio nuevo&#8212; sin embargo siempre pasa lo mismo, recurro a <a href="http://www.google.com.mx/"  class="alinks_links" onclick="return alinks_click(this);" title="El mejor buscador del momento."  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Google</a> je.</p>
<p align="justify">Así, para no tener que estarlo buscando lo anotaré aquí, y pues si alguien se beneficia del tip, vamos de gane. <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p align="justify"><strong>Descomprimir archivo .tar.bz2</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xjvf</span> example.tar.bz2</pre></td></tr></table></div>

<p align="justify"><strong>Descomprimir archivo tar.gzip</strong></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> example.tar.gzip</pre></td></tr></table></div>

<p align="justify">Chequen que usamos la opción <strong>j</strong> para descomprimir archivos <strong>bzip2</strong> y la cambiamos por <strong>z</strong> para los archivos <strong>gzip</strong>.</p>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/' title='Un par de comandos útiles en Ubuntu'>Un par de comandos útiles en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/' title='Cómo borrar recursivamente todos los subdirectorios .svn'>Cómo borrar recursivamente todos los subdirectorios .svn</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/' title='Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10'>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/03/12/como-descomprimir-archivos-tarbz2-y-targzip/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Cómo cambiar el tamaño a un lote de imágenes en Ubuntu Gutsy Gibbon 7.10</title>
		<link>http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/</link>
		<comments>http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 16:35:03 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[conjunto]]></category>
		<category><![CDATA[convertir]]></category>
		<category><![CDATA[foto]]></category>
		<category><![CDATA[grupo]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[imágenes]]></category>
		<category><![CDATA[lotes]]></category>
		<category><![CDATA[modificar]]></category>
		<category><![CDATA[muchas]]></category>
		<category><![CDATA[procesar]]></category>
		<category><![CDATA[processing]]></category>
		<category><![CDATA[tamaño]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes/</guid>
		<description><![CDATA[Hace unos días tuve que cambiar el tamaño y la calidad de compresión a un numeroso grupo de imágenes JPG que había tomado con mi cámara digital. Y la verdad me daba una flojera enorme abrir una por una en el GIMP y hacer el proceso a mano&#8230; hasta que me topé con un script [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://lobotuerto.com/blog/wp-content/gallery/misc/pentax-ist-ds.jpg" title="" class="thickbox" rel="singlepic480" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=480&amp;width=120&amp;height=&amp;mode=" alt="pentax-ist-ds.jpg" title="pentax-ist-ds.jpg" />
</a>

<p align="justify">Hace unos días tuve que cambiar el tamaño y la calidad de compresión a un numeroso grupo de imágenes JPG que había tomado con mi cámara digital.</p>
<p align="justify">Y la verdad me daba una flojera enorme abrir una por una en el <a href="http://www.gimp.org/"  class="alinks_links" onclick="return alinks_click(this);" title="GIMP is the GNU Image Manipulation Program"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">GIMP</a> y hacer el proceso a mano&#8230; hasta que me topé con un script muy útil.</p>
<p align="justify">Primero debemos instalar <strong>Image Magick</strong>:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> imagemagick</pre></td></tr></table></div>

<p align="justify">El script en cuestión es:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> i <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">ls</span><span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> convert <span style="color: #660033;">-resize</span> 900x900 <span style="color: #660033;">-quality</span> <span style="color: #000000;">85</span> <span style="color: #007800;">$i</span> resized_<span style="color: #007800;">$i</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p align="justify">Para utilizarlo abre una terminal y ve al directorio donde estén las imágenes que deseas convertir. Copia y pega el script de arriba en la terminal y edita los valores a tu gusto (el 900&#215;900 son valores máximos, la imagen no pierde proporción).</p>
<p align="justify">Los nombres de los archivos convertidos comenzarán con <em>resized_</em> (también lo puedes cambiar editando el script).</p>
<p>¡Tan tan! <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2009/07/19/como-convertir-archivos-de-imagenes-raw-pef-a-jpg/' title='Cómo convertir archivos de imágenes RAW .pef a .jpg'>Cómo convertir archivos de imágenes RAW .pef a .jpg</a></li>
<li><a href='http://lobotuerto.com/blog/2008/10/24/el-utilisimo-comando-screen/' title='El utilísimo comando screen'>El utilísimo comando screen</a></li>
<li><a href='http://lobotuerto.com/blog/2008/06/12/como-cambiar-la-distribucion-del-teclado-en-ubuntu-server/' title='Cómo cambiar la distribución del teclado en Ubuntu Server'>Cómo cambiar la distribución del teclado en Ubuntu Server</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/29/un-par-de-comandos-utiles-en-ubuntu/' title='Un par de comandos útiles en Ubuntu'>Un par de comandos útiles en Ubuntu</a></li>
<li><a href='http://lobotuerto.com/blog/2008/04/28/como-borrar-recursivamente-todos-los-subdirectorios-svn/' title='Cómo borrar recursivamente todos los subdirectorios .svn'>Cómo borrar recursivamente todos los subdirectorios .svn</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/02/26/como-cambiar-el-tamano-a-un-lote-de-imagenes-en-ubuntu-gutsy-gibbon-710/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Configurar un sistema con pantalla dual en Ubuntu 7.10 Gutsy Gibbon</title>
		<link>http://lobotuerto.com/blog/2008/02/03/configurar-un-sistema-con-pantalla-dual-en-ubuntu-710-gutsy-gibbon/</link>
		<comments>http://lobotuerto.com/blog/2008/02/03/configurar-un-sistema-con-pantalla-dual-en-ubuntu-710-gutsy-gibbon/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 00:53:01 +0000</pubDate>
		<dc:creator>lobo_tuerto</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tutoriales]]></category>
		<category><![CDATA[compiz fusion]]></category>
		<category><![CDATA[dos]]></category>
		<category><![CDATA[emerald]]></category>
		<category><![CDATA[guias]]></category>
		<category><![CDATA[gutsy gibbon]]></category>
		<category><![CDATA[monitores]]></category>
		<category><![CDATA[pantalla dual]]></category>
		<category><![CDATA[pantallas]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://lobotuerto.com/blog/2008/02/03/configurar-un-sistema-con-pantalla-dual-en-ubuntu-710-gutsy-gibbon/</guid>
		<description><![CDATA[En mi entorno de trabajo siempre me ha gustado usar dos monitores. Se me hace mucho muy cómodo el tener abierto en un monitor NetBeans y en el otro mi navegador con el proyecto actual en el que estoy trabajando. Esa es sólo una forma de aprovechar dos pantallas, también en lugar del Firefox se [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://lobotuerto.com/blog/wp-content/gallery/linux-tutorials/mi-equipo.jpg" title="" class="thickbox" rel="singlepic28" >
	<img class="ngg-singlepic ngg-left" src="http://lobotuerto.com/blog/index.php?callback=image&amp;pid=28&amp;width=160&amp;height=&amp;mode=" alt="mi-equipo.jpg" title="mi-equipo.jpg" />
</a>

<p align="justify">En mi entorno de trabajo siempre me ha gustado usar dos monitores. Se me hace mucho muy cómodo el tener abierto en un monitor <strong><a href="http://www.netbeans.org/"  class="alinks_links" onclick="return alinks_click(this);" title="Fully-featured Java IDE written completely in Java"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">NetBeans</a></strong> y en el otro mi navegador con el proyecto actual en el que estoy trabajando.</p>
<p align="justify">Esa es sólo una forma de aprovechar dos pantallas, también en lugar del <a href="http://www.mozilla.com/firefox/"  class="alinks_links" onclick="return alinks_click(this);" title="Firefox web browser"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Firefox</a> se puede tener algún PDF con documentación, o algún tutorial e irlo siguiendo sin necesidad de minimizar y maximizar ventanas mientras se trabaja.</p>
<p align="justify">A continuación indico cómo configuré mi sistema con dos monitores y como resolví un par de problemas que se me presentaron.</p>
<p align="justify">Esta guía es para sistemas <strong>NVIDIA.</strong> <img src='http://lobotuerto.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span id="more-26"></span></p>
<h4>Configurando la pantalla dual</h4>
<p align="justify">Uno de mis monitores lo tengo a 1920&#215;1200 de resolución y el otro a 1440&#215;900, ambos con una profundidad de color de 32bits.</p>
<p align="justify">Existen varias formas de configurar un sistema con pantalla dual, por el momento mi preferida es <strong>Separate X screen.</strong> La razón es que con esa opción tengo dos cubos independientes, uno en cada monitor &#8212;ya saben con 4 escritorios virtuales cada uno&#8212; y a diferente resolución.</p>
<p align="justify">El primer paso es abrir los <strong>NVIDIA X Server Settings,</strong> para lograrlo presiona <strong>ALT+F2</strong> y escribe:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">gksudo nvidia-settings</pre></td></tr></table></div>

<p align="justify">Para los que no sepan, <strong>gksudo</strong> es la versión <em>gráfica</em> de <strong>sudo</strong>.</p>
<p align="justify">Ahora ve a la sección de <strong>X Server Display Configuration</strong> y da clic sobre <strong>Configure&#8230;</strong> elige <strong>Separate X screen</strong> y da clic en <strong>Aceptar.</strong> Por último da clic en <strong>Apply</strong> para aplicar tus cambios y listo.</p>
<p align="justify">Ahora necesitas reiniciar tu ambiente gráfico, guarda cualquier archivo que tengas abierto y presiona <strong>CTRL+ALT+BACKSPACE</strong>.</p>
<div class="lobo_nota">
<p align="justify">Dentro del modo <strong>Separate X screen</strong> se puede activar <strong>Xinerama</strong>, pero no me agradó tanto porque básicamente hace de tus dos pantallas una grandota. Otro modo es el <strong>Twin View</strong> pero parece que da algunos problemas con pantallas de diferente resolución.</p>
</div>
<p align="justify">A continuación vienen algunos problemas con los que me encontré después de tener mis monitores en el modo <strong>Separate X screen.</strong></p>
<h4>Problema 1: No hay decoración de ventanas en el segundo monitor</h4>
<p align="justify">Con mi nueva configuración en efecto no tardó en aparecer un problema: las ventanas en mi segunda pantalla aparecían sin decoración, los botones y bordes para manipularlas no estaban presentes.</p>
<p align="justify">&#8212; ¿La bronca?</p>
<p align="justify"><strong>Emerald</strong> no había sido cargado en el segundo monitor.</p>
<p align="justify">Después de indagar por la red durante unos minutos, descubrí que tenía que activar <em>a mano</em> <strong>Emerald</strong> en el otro dispositivo con:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">emerald <span style="color: #660033;">--screen</span> <span style="color: #000000;">1</span></pre></td></tr></table></div>

<p align="justify">Si deseas que ese comando se ejecute cada vez que se inicie tu sistema, entonces debes ir al menú <strong>Sistema &#8594; Preferencias &#8594; Sesiones &#8594; Añadir.</strong></p>
<p align="justify">Ahí debes llenar la ventana con los siguientes datos:</p>
<p><code>Nombre: Cargar Emerald en el otro monitor<br />
Comando: emerald --screen 1<br />
Comentario: Sirve para cargar Emerald en los dos monitores</code></p>
<p align="justify">Sin embargo, había otro problema, después de unos instantes me di cuenta que los menús en el primer monitor tenían un cierto <em>retraso</em> al aparecer.</p>
<h4>Problema 2: Retraso en la aparición de menús y ventanas en el primer monitor</h4>
<p align="justify">No es nada del otro mundo pero estoy acostumbrado a la respuesta inmediata después de dar clic sobre un menú, y el leve retraso que había &#8212;un segundo más o menos&#8212; comenzó a desesperarme, decidí entonces que era hora de encontrar una solución a este problema.</p>
<p align="justify">Después de pasearme por los foros de <a href="http://www.ubuntu.com/"  class="alinks_links" onclick="return alinks_click(this);" title="Linux Ubuntu"  style="padding-right: 13px; background: url(http://lobotuerto.com/blog/wp-content/plugins/alinks/images/external.png) center right no-repeat;" rel="external">Ubuntu</a>, descubrí que no hay una solución concreta, sino más bien lo que existe es un <em>hack</em>, el cual consiste en ejecutar un par de comandos al momento de iniciar nuestro sistema.</p>
<p align="justify">En este caso como son dos los comandos que necesitamos ejecutar, tomaremos otro curso de acción y los meteremos en un archivo, el cual agregaremos después a nuestro inicio de sesión.</p>
<p align="justify">Ve a tu directorio <em>home</em> (~/) y crea un archivo vacío, nómbralo <strong>.menu-lag-fix.sh</strong>.</p>
<div class="lobo_nota">
<p align="justify">Los archivos cuyo nombre comienzan con &#8220;.&#8221; son archivos ocultos.</p>
<p align="justify">Para mostrar los archivos ocultos en nuestro <strong>Nautilus</strong>, debemos presionar <strong>CTRL+H</strong>.</p>
</div>
<p align="justify">Abrimos nuestro recién creado archivo <strong>.menu-lag-fix.sh</strong> y le agregamos:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">DISPLAY</span>=:<span style="color: #000000;">0.0</span> compiz <span style="color: #660033;">--only-current-screen</span> <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">DISPLAY</span>=:<span style="color: #000000;">0.1</span> compiz <span style="color: #660033;">--only-current-screen</span> <span style="color: #000000; font-weight: bold;">&amp;</span></pre></td></tr></table></div>

<p align="justify">Lo guardamos y cerramos.</p>
<p align="justify">Vamos al menú <strong>Sistema &#8594; Preferencias &#8594; Sesiones &#8594; Añadir.</strong></p>
<p align="justify">Ahí debemos llenar la ventana con los siguientes datos:</p>
<p><code>Nombre: No retraso en Dual-Screen<br />
Comando: /home/lobo-tuerto/.menu-lag-fix.sh<br />
<em>(sustituye lobo-tuerto por tu usuario)</em><br />
Comentario: Corrige el problema del retraso en el monitor principal</code></p>
<p align="justify">Listo, ya que nuestro nuevo script <em>No retraso en Dual-Screen (.menu-lag-fix.sh)</em> también nos carga <strong>Emerald</strong> en el segundo monitor, debemos asegurarnos de que nuestro primer script <em>Cargar Emerald en el otro monitor</em> esté desactivado.</p>
<div class="lobo_nota">
<p align="justify">Para desactivar un script del inicio de sesión sólo hay que quitarle la <em>palomita</em> que tiene al lado del nombre en <strong>Sistema &#8594; Preferencias &#8594; Sesiones.</strong></p>
</div>
<h3 class='related_post_title'>Artículos relacionados:</h3>
<ul class='related_post'>
<li><a href='http://lobotuerto.com/blog/2008/01/12/instalando-ubuntu-710-gutsy-gibbon-compiz-fusion-emerald/' title='Instalando Ubuntu 7.10 Gutsy Gibbon + Compiz Fusion + Emerald'>Instalando Ubuntu 7.10 Gutsy Gibbon + Compiz Fusion + Emerald</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/13/configuracion-de-compiz-fusion-y-sus-plugins-en-ubuntu-710-gutsy-gibbon/' title='Configuración de Compiz Fusion y sus plugins en Ubuntu 7.10 Gutsy Gibbon'>Configuración de Compiz Fusion y sus plugins en Ubuntu 7.10 Gutsy Gibbon</a></li>
<li><a href='http://lobotuerto.com/blog/2008/02/03/como-descomprimir-archivos-rar-en-ubuntu-710-gutsy-gibbon/' title='Cómo descomprimir archivos RAR en Ubuntu 7.10 Gutsy Gibbon'>Cómo descomprimir archivos RAR en Ubuntu 7.10 Gutsy Gibbon</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/26/como-instalar-ruby-rubygems-y-rails-en-ubuntu-710-gutsy-gibbon/' title='Cómo instalar Ruby, RubyGems y Rails en Ubuntu 7.10 Gutsy Gibbon'>Cómo instalar Ruby, RubyGems y Rails en Ubuntu 7.10 Gutsy Gibbon</a></li>
<li><a href='http://lobotuerto.com/blog/2008/01/15/como-ver-peliculas-divx-y-dvd-en-ubuntu-710-gutsy-gibbon/' title='Cómo ver películas DivX y DVD en Ubuntu 7.10 Gutsy Gibbon'>Cómo ver películas DivX y DVD en Ubuntu 7.10 Gutsy Gibbon</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://lobotuerto.com/blog/2008/02/03/configurar-un-sistema-con-pantalla-dual-en-ubuntu-710-gutsy-gibbon/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>
