<?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>TipsInBox &#187; Linux</title>
	<atom:link href="http://www.didiergalland.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.didiergalland.com</link>
	<description>Hints and tips of a web worker</description>
	<lastBuildDate>Wed, 04 Jan 2012 00:35:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Save system with dd</title>
		<link>http://www.didiergalland.com/2010/05/14/save-system-with-dd/</link>
		<comments>http://www.didiergalland.com/2010/05/14/save-system-with-dd/#comments</comments>
		<pubDate>Thu, 13 May 2010 23:19:32 +0000</pubDate>
		<dc:creator>didier</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.didiergalland.com/2010/05/14/save-system-with-dd/</guid>
		<description><![CDATA[dd if=/dev/sda &#124; bzip2 -c -9 &#62; /mnt/server/image.bz2]]></description>
			<content:encoded><![CDATA[<p>dd if=/dev/sda | bzip2 -c -9 &gt; /mnt/server/image.bz2</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.didiergalland.com%2F2010%2F05%2F14%2Fsave-system-with-dd%2F&amp;title=Save%20system%20with%20dd" id="wpa2a_2"><img src="http://www.didiergalland.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.didiergalland.com/2010/05/14/save-system-with-dd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch graphic cards on laptop sony serie z and ubuntu 10.04</title>
		<link>http://www.didiergalland.com/2010/05/06/switch-graphic-cards-on-laptop-sony-serie-z-and-ubuntu-10-04/</link>
		<comments>http://www.didiergalland.com/2010/05/06/switch-graphic-cards-on-laptop-sony-serie-z-and-ubuntu-10-04/#comments</comments>
		<pubDate>Thu, 06 May 2010 10:53:44 +0000</pubDate>
		<dc:creator>didier</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sony-vaio]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[sony]]></category>

		<guid isPermaLink="false">http://www.didiergalland.com/?p=207</guid>
		<description><![CDATA[Be very careful if you upgrade the bios with the Sony utility (in windows) and install nvidia drivers (on the ubuntu size) : you would end up with no screen at all (no console either). But things are going easier for series Z owners, as there is an automated script now. Thanks ernolf ! The [...]]]></description>
			<content:encoded><![CDATA[<p>Be very careful if you upgrade the bios with the Sony utility (in windows) and install nvidia drivers (on the ubuntu size) : you would end up with no screen at all (no console either).</p>
<p>But things are going easier for series Z owners, as there is an automated script now. Thanks ernolf !<br />
The good practice is to use the <a href="http://global-social.net/tiki-view_blog.php?blogId=3#sony-VGN-Zseries-janitor">VGN-Zseries-janitor script</a>. It installs all the stuff correctly, and allows to switch between the nvidia and intel cards by using the slider (before the reboot). No hot switch for the moment, but that&#8217;s not a real issue. I heard there are some issues with a windows 7 dual boot, because of the bios upgrade needed (<a href="http://0xc0dedbad.com/blog/2010/01/30/dual-boot-linux-and-windows-7-on-sony-vaio-z/">read this</a>). But, actually, I&#8217;ve already upgraded my own BIOS (I know, I&#8217;m adventurous), and there were no problem with the script.</p>
<p>One thing I think the script doesn&#8217;t do (I guess, the explanation at the end of the script is not very clear), is to add this kernel instruction :</p>
<p>In /etc/default/grub :</p>
<p><code>RUB_CMDLINE_LINUX="acpi_osi=\\\"!Windows 2006\\\""</code></p>
<p>And then run <code>sudo update-grub</code> to create a new  /boot/grub/grub.cfg</p>
<p>(In my install, there was already an empty instruction (RUB_CMDLINE_LINUX=&#8221;"), so I just filled it with the value (string acpi_osi=\\\&#8221;!Windows 2006\\\&#8221;)</p>
<p>(You also can do it at boot time by hitting the &#8220;e&#8221; key.)</p>
<p>An other thing <span style="text-decoration: line-through;">I haven&#8217;t done/tested</span> useful is to customize screnn config (xorg.conf or nvidia-settings), as they describe it :</p>
<p>&#8220;To make a complicated xorg.conf-file unnecessary (after nvidia installation is ready and everything is running well) one can use nvidia-settings  as root (sudo nvidia-settings) or as normal user, make the settings you want and then save them in an rc-file. Now enter the path to this rc-file into /etc/default/switch-x-to&#8221;. You must save the file generated by nvidia-settings in <code>/home/&lt;username&gt;/.nvidia-settings-rc</code>, and uncomment the matching line in /etc/default/switch-x-to (change &#8220;&lt;username&#8221; by your actual username of course) :<br />
<code>NVIDIASETTINGS_RC='/home/&lt;username&gt;/.nvidia-settings-rc'</code></p>
<p>Make a backup of this file, if it already exists (was the case for me).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.didiergalland.com%2F2010%2F05%2F06%2Fswitch-graphic-cards-on-laptop-sony-serie-z-and-ubuntu-10-04%2F&amp;title=Switch%20graphic%20cards%20on%20laptop%20sony%20serie%20z%20and%20ubuntu%2010.04" id="wpa2a_4"><img src="http://www.didiergalland.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.didiergalland.com/2010/05/06/switch-graphic-cards-on-laptop-sony-serie-z-and-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Install lamp with tasksel in ubuntu</title>
		<link>http://www.didiergalland.com/2010/02/18/install-lamp-with-tasksel-in-ubuntu/</link>
		<comments>http://www.didiergalland.com/2010/02/18/install-lamp-with-tasksel-in-ubuntu/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 23:45:19 +0000</pubDate>
		<dc:creator>didier</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.didiergalland.com/?p=191</guid>
		<description><![CDATA[(https://help.ubuntu.com/community/ApacheMySQLPHP#Virtual%20Hosts) $ sudo tasksel install lamp-server]]></description>
			<content:encoded><![CDATA[<p>(https://help.ubuntu.com/community/ApacheMySQLPHP#Virtual%20Hosts)</p>
<p> $ sudo tasksel install lamp-server </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.didiergalland.com%2F2010%2F02%2F18%2Finstall-lamp-with-tasksel-in-ubuntu%2F&amp;title=Install%20lamp%20with%20tasksel%20in%20ubuntu" id="wpa2a_6"><img src="http://www.didiergalland.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.didiergalland.com/2010/02/18/install-lamp-with-tasksel-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JungleDisk as a service</title>
		<link>http://www.didiergalland.com/2009/12/16/jungledisk-as-a-service/</link>
		<comments>http://www.didiergalland.com/2009/12/16/jungledisk-as-a-service/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 13:14:01 +0000</pubDate>
		<dc:creator>didier</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[jungleDisk]]></category>

		<guid isPermaLink="false">http://www.didiergalland.com/2009/12/16/jungledisk-as-a-service/</guid>
		<description><![CDATA[http://rickguyer.com/starting-jungle-disk-on-boot-in-ubuntu/ http://support.jungledisk.com/forums/30235/entries/83116 http://kswantech.com/blog/how-setup-jungledisk-ubuntu-server http://blog.kenweiner.com/2008/03/jungle-disk-on-linux.html]]></description>
			<content:encoded><![CDATA[<p><a href="http://rickguyer.com/starting-jungle-disk-on-boot-in-ubuntu/" target="_blank">http://rickguyer.com/starting-<wbr />jungle-disk-on-boot-in-ubuntu/</a>
<div><a href="http://support.jungledisk.com/forums/30235/entries/83116" target="_blank">http://support.jungledisk.com/<wbr />forums/30235/entries/83116</a></div>
<div><a href="http://kswantech.com/blog/how-setup-jungledisk-ubuntu-server" target="_blank">http://kswantech.com/blog/how-<wbr />setup-jungledisk-ubuntu-server</a></div>
<div><a href="http://blog.kenweiner.com/2008/03/jungle-disk-on-linux.html" target="_blank">http://blog.kenweiner.com/<wbr />2008/03/jungle-disk-on-linux.<wbr />html</a></div>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=8821743b-636c-819b-8cf8-ed3d796ee1c4" /></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.didiergalland.com%2F2009%2F12%2F16%2Fjungledisk-as-a-service%2F&amp;title=JungleDisk%20as%20a%20service" id="wpa2a_8"><img src="http://www.didiergalland.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.didiergalland.com/2009/12/16/jungledisk-as-a-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Adobe Air Linux 1.5 on 64-bit Ubuntu</title>
		<link>http://www.didiergalland.com/2009/12/16/install-adobe-air-linux-1-5-on-64-bit-ubuntu/</link>
		<comments>http://www.didiergalland.com/2009/12/16/install-adobe-air-linux-1-5-on-64-bit-ubuntu/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 13:09:04 +0000</pubDate>
		<dc:creator>didier</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.didiergalland.com/2009/12/16/install-adobe-air-linux-1-5-on-64-bit-ubuntu/</guid>
		<description><![CDATA[Install Adobe AIR Linux 1.5 on 64-bit Linux distributions Summary : Uninstall any previous version of air installer (Applications &#62; Accessories &#62; Adobe Air Uninstaller) Install getlibs Download AdobeAIRInstaller and cd to the download directory sudo getlibs ./AdobeAIRInstaller.bin $ sudo getlibs -l libgnome-keyring.so $ sudo getlibs -l libgnome-keyring.so.0 $ sudo getlibs -l libgnome-keyring.so.0.1.1 Download libnss3 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://kb2.adobe.com/cps/408/kb408084.html">Install Adobe AIR Linux 1.5 on 64-bit Linux distributions</a><br />
Summary :</p>
<ol>
<li>Uninstall any previous version of air installer (Applications &gt; Accessories &gt; Adobe Air Uninstaller)</li>
<li>Install <a href="http://frozenfox.freehostia.com/cappy/getlibs-all.deb">getlibs</a></li>
<li><a href="http://get.adobe.com/air/" target="_blank">Download AdobeAIRInstaller</a> and cd to the download directory</li>
<li>
<pre>sudo getlibs ./AdobeAIRInstaller.bin
$ sudo getlibs -l libgnome-keyring.so
$ sudo getlibs -l libgnome-keyring.so.0
$ sudo getlibs -l libgnome-keyring.so.0.1.1</pre>
</li>
<li>Download libnss3 32b : 		<a href="http://mirrors.kernel.org/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0%7Ebeta3-0ubuntu1_i386.deb" target="_blank">http://mirrors.kernel.org/ubuntu/pool/main/n/nss/libnss3-1d_3.12.0~beta3-0ubuntu1_i386.deb</a></li>
<li>Download libnspr4 32 : <a href="http://mirrors.kernel.org/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1%7Ebeta2-0ubuntu1_i386.deb" target="_blank">http://mirrors.kernel.org/ubuntu/pool/main/n/nspr/libnspr4-0d_4.7.1~beta2-0ubuntu1_i386.deb</a></li>
<li>
<pre class="pre">&lt;code&gt;Extract libnss $ sudo file-roller ./libnss3-1d_3.12.0~beta3-0ubuntu1_i386.deb&lt;/code&gt;</pre>
</li>
<li>Double click data.tar.gz (choose open with file-roller if you are asked)</li>
<li>select these files in ./usr/lib folder :
<pre>libnss3.so.1d&lt;br /&gt;libnssutil3.so.1d&lt;br /&gt;libsmime3.so.1d&lt;br /&gt;libssl3.so.1d</pre>
</li>
<li>Extract to /usr/lib32 and close file-roller</li>
<li>Enter :
<pre>$ sudo ln -s /usr/lib32/libnss3.so.1d /usr/lib32/libnss3.so
$ sudo ln -s /usr/lib32/libssl3.so.1d /usr/lib32/libssl3.so
$ sudo ln -s /usr/lib32/libnspr4.so.0d /usr/lib32/libnspr4.so</pre>
</li>
<li>Then :
<pre class="pre">&lt;code&gt;$ ./AdobeAIRIntaller.bin&lt;/code&gt;</pre>
</li>
<li>
<pre class="pre">&lt;code&gt;sudo cp /usr/lib/libadobecertstore.so /usr/lib32&lt;/code&gt;</pre>
</li>
<li>
<pre class="pre">sudo apt-get install lib32nss-mdns</pre>
</li>
</ol>
<p>Done !<br />
Accept any update on first launch</p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" src="http://img.zemanta.com/pixy.gif?x-id=43c4db9b-385f-8c75-b239-b63e8cdd87bc" alt="" /></div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.didiergalland.com%2F2009%2F12%2F16%2Finstall-adobe-air-linux-1-5-on-64-bit-ubuntu%2F&amp;title=Install%20Adobe%20Air%20Linux%201.5%20on%2064-bit%20Ubuntu" id="wpa2a_10"><img src="http://www.didiergalland.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.didiergalland.com/2009/12/16/install-adobe-air-linux-1-5-on-64-bit-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

