<?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>Wojciech Jamrozy blog &#187; Ubuntu</title>
	<atom:link href="http://www.wojtekrj.net/category/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wojtekrj.net</link>
	<description>Blog about computer science, programming and linux</description>
	<lastBuildDate>Sun, 23 Oct 2011 21:57:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[Ubuntu] Solutions to several Ubuntu 11.04 problems</title>
		<link>http://www.wojtekrj.net/2011/07/ubuntu-solutions-to-several-ubuntu-11-04-problems/</link>
		<comments>http://www.wojtekrj.net/2011/07/ubuntu-solutions-to-several-ubuntu-11-04-problems/#comments</comments>
		<pubDate>Wed, 13 Jul 2011 08:08:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=618</guid>
		<description><![CDATA[1. When I use nautilus I&#8217;d like to type addresses by hand. In several Gnome themes this option is disabled. You can fix it: Launch gconf-editor Go to apps/nautilus/preferences Check always_use_location_entry 2. After updating Firestarter stops displaying information about blocked connections. In order to fix: Open /etc/rsyslog.d/50-default.conf Uncomment there: #*.=info;*.=notice;*.=warn;\ # auth,authpriv.none;\ # cron,daemon.none;\ # [...]]]></description>
			<content:encoded><![CDATA[<p>1. When I use nautilus I&#8217;d like to type addresses by hand. In several Gnome themes this option is disabled. You can fix it:</p>
<ul>
<li>Launch <em>gconf-editor</em></li>
<li>Go to <em>apps/nautilus/preferences</em></li>
<li>Check <em>always_use_location_entry</em></li>
</ul>
<p>2. After updating Firestarter stops displaying information about blocked connections.<br />
In order to fix:</p>
<ul>
<li>Open <em>/etc/rsyslog.d/50-default.conf</em> </li>
<li>
Uncomment there:<br />
<code><br />
#*.=info;*.=notice;*.=warn;\<br />
# auth,authpriv.none;\<br />
# cron,daemon.none;\<br />
# mail,news.none -/var/log/messages<br />
</code></p>
<li>Type <em>sudo service rsyslog restart</em> </li>
</ul>
<p>3. In Gnome Unity some tray icons (like Firefox, QuickSynergy or Kadu) are not diplayed.<br />
Type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gsettings <span style="color: #000000; font-weight: bold;">set</span> com.canonical.Unity.Panel systray-whitelist <span style="color: #ff0000;">&quot;['all']&quot;</span>
unity <span style="color: #660033;">--replace</span></pre></div></div>

<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;linkname=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2011%2F07%2Fubuntu-solutions-to-several-ubuntu-11-04-problems%2F&amp;title=%5BUbuntu%5D%20Solutions%20to%20several%20Ubuntu%2011.04%20problems" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2011/07/ubuntu-solutions-to-several-ubuntu-11-04-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Lightning view panel disappears in Thunderbird</title>
		<link>http://www.wojtekrj.net/2010/12/ubuntu-lightning-view-panel-disappears-in-thunderbird/</link>
		<comments>http://www.wojtekrj.net/2010/12/ubuntu-lightning-view-panel-disappears-in-thunderbird/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 20:55:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=605</guid>
		<description><![CDATA[I&#8217;ve noticed a problem with Lightning view panel in Thunderbird. After each restart of Thunderbird it disappears and I must resize it using vertical line on the right. User Skip Head has solved this problem: hover your mouse pointer over the line, in the middle of line where the tiny dots are &#8211; your pointer [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve noticed a problem with Lightning view panel in Thunderbird. After each restart of Thunderbird it disappears and I must resize it using vertical line on the right.<br />
User <em>Skip Head </em>has solved this problem:</p>
<blockquote><p>hover your mouse pointer over the line, in the middle of line where the tiny<br />
dots are &#8211; your pointer will turn into a hand. Click on the dots and<br />
the today pane will jump out to regular size. Now it will stay the<br />
correct size.</p></blockquote>
<p><a href="http://www.pubbs.net/201006/thunderbird/52533-lightning-view-panel-keeps-disappearing.html">Click here for more details<a></p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;linkname=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F12%2Fubuntu-lightning-view-panel-disappears-in-thunderbird%2F&amp;title=%5BUbuntu%5D%20Lightning%20view%20panel%20disappears%20in%20Thunderbird" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2010/12/ubuntu-lightning-view-panel-disappears-in-thunderbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Ubuntu 10.04 upgrade Nautilus, gnome-volume-control and Thunderbird issues</title>
		<link>http://www.wojtekrj.net/2010/05/ubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues/</link>
		<comments>http://www.wojtekrj.net/2010/05/ubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues/#comments</comments>
		<pubDate>Sat, 01 May 2010 18:39:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=478</guid>
		<description><![CDATA[1. If you like having close, maximize and minimize buttons on the right in Nautlius, type : gconftool-2 -s /apps/metacity/general/button_layout -t string &#34;menu:minimize,maximize,close&#34; in your console. 2. If your new Mozilla Thunderbird 3.0 doesn&#8217;t read your old e-mails, please change name of .mozilla-thunderbird in your home directory to .thunderbird. 3. If you don&#8217;t see your [...]]]></description>
			<content:encoded><![CDATA[<p>1. If you like having close, maximize and minimize buttons on the right in Nautlius, type :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gconftool-<span style="color: #000000;">2</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>apps<span style="color: #000000; font-weight: bold;">/</span>metacity<span style="color: #000000; font-weight: bold;">/</span>general<span style="color: #000000; font-weight: bold;">/</span>button_layout <span style="color: #660033;">-t</span> string  <span style="color: #ff0000;">&quot;menu:minimize,maximize,close&quot;</span></pre></div></div>

<p>in your console.</p>
<p>2. If your new Mozilla Thunderbird 3.0 doesn&#8217;t read your old e-mails, please change name of <em>.mozilla-thunderbird </em>in your home directory to <em>.thunderbird</em>.</p>
<p>3. If you don&#8217;t see your gnome-volume-control-applet, please add Notification applet to your gnome panel.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;linkname=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2010%2F05%2Fubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues%2F&amp;title=%5BUbuntu%5D%20Ubuntu%2010.04%20upgrade%20Nautilus%2C%20gnome-volume-control%20and%20Thunderbird%20issues" id="wpa2a_6">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2010/05/ubuntu-ubuntu-10-04-upgrade-nautilus-gnome-volume-control-and-thunderbird-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Ubuntu, Freebsd] How to mount Freebsd 7.2 partition under Ubuntu 9.04</title>
		<link>http://www.wojtekrj.net/2009/09/ubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04/</link>
		<comments>http://www.wojtekrj.net/2009/09/ubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 11:45:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freebsd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[mounting]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[ufs]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=322</guid>
		<description><![CDATA[1. Be sure you have following options checked in your Ubuntu kernel: File systems -&#62; Miscellaneous filesystems -&#62; UFS file system support (read only) (UFS_FS) File systems -&#62; Partition Types -&#62; PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION) -&#62; BSD disklabel (FreeBSD partition tables) support (BSD_DISKLABEL) Default kernel for Ubuntu has already this options. 2. [...]]]></description>
			<content:encoded><![CDATA[<p>1. Be sure you have following options checked in your Ubuntu kernel:<br />
File systems -&gt; Miscellaneous filesystems -&gt; UFS file system support (read only) (UFS_FS)<br />
File systems -&gt; Partition Types -&gt; PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION) -&gt; BSD disklabel (FreeBSD partition tables) support (BSD_DISKLABEL)<br />
Default kernel for Ubuntu has already this options.</p>
<p>2. After rebooting type in console:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">dmesg</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> bsd</pre></div></div>

<p>You shoud receive similar output:</p>
<pre>[ 2.108529] sda4: &lt;bsd: sda8 sda9&gt;</pre>
<p>It means that you have Freebsd installed on sda4 partition, and sda8 and sda9 are so-called &#8220;slices&#8221;</p>
<p>3. Use command similar to:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ufs <span style="color: #660033;">-r</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">ufstype</span>=ufs2 <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda8 <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">free</span></pre></div></div>

<p>For older versions of Freebsd:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ufs <span style="color: #660033;">-r</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">ufstype</span>=44bsd <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda8 <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">free</span></pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-t</span> ufs <span style="color: #660033;">-r</span> <span style="color: #660033;">-o</span> <span style="color: #007800;">ufstype</span>=ufs <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda8 <span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">free</span></pre></div></div>

<p>might be more suitable.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;linkname=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Fubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04%2F&amp;title=%5BUbuntu%2C%20Freebsd%5D%20How%20to%20mount%20Freebsd%207.2%20partition%20under%20Ubuntu%209.04" id="wpa2a_8">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/09/ubuntu-freebsd-how-to-mount-freebsd-7-2-partition-under-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Linux] Random password generator</title>
		<link>http://www.wojtekrj.net/2009/09/linux-random-password-generator/</link>
		<comments>http://www.wojtekrj.net/2009/09/linux-random-password-generator/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 16:42:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[password generator]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=290</guid>
		<description><![CDATA[Here is a script for generating random alphanumeric passwords: #!/bin/bash # passwords.sh if &#91; $# != 2 &#93;; then echo &#34;usage: $0 &#60;length of passwords&#62; &#60;number of passwords&#62; &#34; exit 1 fi tr -cd '[:graph:]' &#60; /dev/urandom &#124; fold -w $1 &#124; head -$2]]></description>
			<content:encoded><![CDATA[<p>Here is a script for generating random alphanumeric passwords:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash </span>
<span style="color: #666666; font-style: italic;"># passwords.sh  </span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$#</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #000000;">2</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
	<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: $0 &lt;length of passwords&gt; &lt;number of passwords&gt; &quot;</span>
	<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #c20cb9; font-weight: bold;">tr</span> <span style="color: #660033;">-cd</span> <span style="color: #ff0000;">'[:graph:]'</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>urandom <span style="color: #000000; font-weight: bold;">|</span> fold <span style="color: #660033;">-w</span> <span style="color: #007800;">$1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">head</span> -<span style="color: #007800;">$2</span></pre></div></div>

<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;linkname=%5BLinux%5D%20Random%20password%20generator" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F09%2Flinux-random-password-generator%2F&amp;title=%5BLinux%5D%20Random%20password%20generator" id="wpa2a_10">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/09/linux-random-password-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Packages auto-purging script</title>
		<link>http://www.wojtekrj.net/2009/08/ubuntu-packages-auto-purging-script/</link>
		<comments>http://www.wojtekrj.net/2009/08/ubuntu-packages-auto-purging-script/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 17:02:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[purging]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=219</guid>
		<description><![CDATA[Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu: #!/bin/sh for i in `dpkg -l &#124; grep ^rc &#124; cut -f 3 -d ' '` do dpkg -P $i; done dpkg -l shows list of packages installed in system grep ^rc print all lines starting [...]]]></description>
			<content:encoded><![CDATA[<p>Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<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;">dpkg</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> ^rc <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">3</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">' '</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">do</span>
    <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-P</span> <span style="color: #007800;">$i</span>;
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p><span id="more-219"></span><br />
<em>dpkg -l</em>  shows list of packages installed in system<br />
<em>grep ^rc </em>   print all lines starting with &#8220;rc&#8221; (in this case print all lines with name of packages which configuration files are still in system)<br />
<em>cut -f 3 -d &#8216; &#8216;</em> Divides lines into fields using space as delimiter and prints 3rd field (in this case retrieve name of packages to delete)<br />
<em>dpkg -P package</em> purges <em>package</em><br />
This <a href="http://www.wojtekrj.net/2009/07/bash-how-to-iterate-over-lines-of-standard-output-of-command/">link</a> explains other things.<br />
Script can also be added to /etc/crontab as:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">09 <span style="color: #000000;">18</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> root <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;">dpkg</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> ^rc <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">3</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">' '</span><span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-P</span> <span style="color: #007800;">$i</span>; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Script will be executed with root privileges everyday at 18:09.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;linkname=%5BUbuntu%5D%20Packages%20auto-purging%20script" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F08%2Fubuntu-packages-auto-purging-script%2F&amp;title=%5BUbuntu%5D%20Packages%20auto-purging%20script" id="wpa2a_12">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/08/ubuntu-packages-auto-purging-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Nice Amarok-like music Player</title>
		<link>http://www.wojtekrj.net/2009/07/ubuntu-nice-amarok-like-music-player/</link>
		<comments>http://www.wojtekrj.net/2009/07/ubuntu-nice-amarok-like-music-player/#comments</comments>
		<pubDate>Fri, 24 Jul 2009 20:26:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[exaile]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=194</guid>
		<description><![CDATA[I&#8217;ve used Amarok for a long time. Unfortunately, interface of Amarok 2 has  been remarkably changed.  I like &#8220;old&#8221; Amarok&#8217;s interface so I&#8217;ve found Exaile &#8211; Amarok like music player for Gnome written in Python. Here is a screenshot: You can find more in: www.exaile.org]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve used Amarok for a long time. Unfortunately, interface of Amarok 2 has  been <span id="dict102_hidden" style="display: block;"><span>remarkably changed.  I like &#8220;old&#8221; Amarok&#8217;s interface so I&#8217;ve found Exaile &#8211; Amarok like music player for Gnome written in Python. <span id="more-194"></span>Here is a screenshot:</span></span></p>
<p><span style="display: block;"><span></p>
<div id="attachment_199" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-199" title="exaile_large" src="http://www.wojtekrj.net/wp-content/uploads/2009/07/exaile_large-300x212.jpg" alt="Exaile screenshot" width="300" height="212" /><p class="wp-caption-text">Exaile screenshot</p></div>
<p></span></span></p>
<p><span style="display: block;"><span> </span></span></p>
<p>You can find more in: <a title="www.exaile.org" href="http://www.exaile.org" target="_blank">www.exaile.org</a></p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;linkname=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F07%2Fubuntu-nice-amarok-like-music-player%2F&amp;title=%5BUbuntu%5D%20Nice%20Amarok-like%20music%20Player" id="wpa2a_14">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/07/ubuntu-nice-amarok-like-music-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Linux] How to execute SQL query on Firefox history</title>
		<link>http://www.wojtekrj.net/2009/04/linux-how/</link>
		<comments>http://www.wojtekrj.net/2009/04/linux-how/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 17:37:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=176</guid>
		<description><![CDATA[1. If you don&#8217;t know anything about SQLite, please read: http://en.wikipedia.org/wiki/SQLite 2. Install sqlitebrowser: sudo apt-get install sqlitebrowser 3. Run sqlitebrowser 4. Open file: /home/your username/.mozilla/firefox/your profile/places.sqlite It&#8217;s a SQLite database where firefox stores information about history. 5. Execute following command: SELECT url FROM moz_places WHERE url LIKE &#34;%wojtekrj.net%&#34; 6. You should have list of [...]]]></description>
			<content:encoded><![CDATA[<p>1. If you don&#8217;t know anything about SQLite, please read:</p>
<p>http://en.wikipedia.org/wiki/SQLite</p>
<p>2. Install sqlitebrowser:</p>

<div class="wp_syntax"><div 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> sqlitebrowser</pre></div></div>

<p>3. Run sqlitebrowser<br />
4. Open file:<br />
/home/your username/.mozilla/firefox/your profile/places.sqlite<br />
It&#8217;s a SQLite database where firefox stores information about history.<br />
5. Execute following command:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> url <span style="color: #993333; font-weight: bold;">FROM</span> moz_places <span style="color: #993333; font-weight: bold;">WHERE</span> url <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">&quot;%wojtekrj.net%&quot;</span></pre></div></div>

<p>6. You should have list of all vistied by you pages from my blog.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;linkname=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2009%2F04%2Flinux-how%2F&amp;title=%5BLinux%5D%20How%20to%20execute%20SQL%20query%20on%20Firefox%20history" id="wpa2a_16">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2009/04/linux-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] High frequency of load/unload cycles after suspend to RAM</title>
		<link>http://www.wojtekrj.net/2008/08/ubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram/</link>
		<comments>http://www.wojtekrj.net/2008/08/ubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 15:51:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Asus]]></category>
		<category><![CDATA[hard drive]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=75</guid>
		<description><![CDATA[There is a known problem in Ubuntu connected with high frequency of load/unload cycles on hard disk. Here are useful links: https://wiki.ubuntu.com/DanielHahler/Bug59695 http://ubuntuforums.org/showpost.php?p=3675960&#38;postcount=26 http://ubuntuforums.org/showpost.php?p=5031046&#38;postcount=3 I used approach from Ubuntu forums and Load_Cycle_Count stopped increasing. Unfortunately, everytime when I woke up my Asus F3F from suspend to RAM (even it was on AC power), Load_Cycle_Count started [...]]]></description>
			<content:encoded><![CDATA[<p>There is a known problem in Ubuntu connected with high frequency of load/unload cycles on hard disk.<br />
Here are useful links:<br />
<a href="https://wiki.ubuntu.com/DanielHahler/Bug59695" target="_blank">https://wiki.ubuntu.com/DanielHahler/Bug59695</a><br />
<a href="http://ubuntuforums.org/showpost.php?p=3675960&amp;postcount=26" target="_blank">http://ubuntuforums.org/showpost.php?p=3675960&amp;postcount=26</a><br />
<a href="http://ubuntuforums.org/showpost.php?p=5031046&amp;postcount=3" target="_blank">http://ubuntuforums.org/showpost.php?p=5031046&amp;postcount=3</a></p>
<p>I used approach from Ubuntu forums and <strong>Load_Cycle_Count</strong> stopped increasing. Unfortunately, everytime when I woke up my Asus F3F from suspend to RAM (even it was on AC power), <strong>Load_Cycle_Count</strong> started dramatically increasing.<span id="more-75"></span><br />
Here is a solution:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #000000; font-weight: bold;">if</span> on_ac_power; <span style="color: #000000; font-weight: bold;">then</span>
  hdparm <span style="color: #660033;">-B</span> <span style="color: #000000;">255</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda
<span style="color: #000000; font-weight: bold;">else</span>
  hdparm <span style="color: #660033;">-B</span> <span style="color: #000000;">128</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>I saved this code as <em>/usr/lib/pm-utils/sleep.d/99-fixhdd.sh</em> and made it executalbe:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>pm-utils<span style="color: #000000; font-weight: bold;">/</span>sleep.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">99</span>-fixhdd.sh</pre></div></div>

<p>Since this fix, everything is OK.</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;linkname=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram%2F&amp;title=%5BUbuntu%5D%20High%20frequency%20of%20load%2Funload%20cycles%20after%20suspend%20to%20RAM" id="wpa2a_18">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2008/08/ubuntu-high-frequency-of-loadunload-cycles-after-suspend-to-ram/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Ubuntu] Checking temperature of hard drive</title>
		<link>http://www.wojtekrj.net/2008/08/ubuntu-checking-temperature-of-hard-drive/</link>
		<comments>http://www.wojtekrj.net/2008/08/ubuntu-checking-temperature-of-hard-drive/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 11:50:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[hard drive]]></category>

		<guid isPermaLink="false">http://www.wojtekrj.net/?p=69</guid>
		<description><![CDATA[You can easily check temperature of your hard drive: Type in command line: sudo apt-get install hddtemp When application Hddtemp is installed, you can use it typing: sudo hddtemp /dev/sda where /dev/sda is your hard drive. It will output something like this: /dev/sda: ST9120822AS: 40°C You can also have a graphical applet on your panel [...]]]></description>
			<content:encoded><![CDATA[<p>You can easily check temperature of your hard drive:<br />
Type in command line:</p>

<div class="wp_syntax"><div 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> hddtemp</pre></div></div>

<p><span id="more-69"></span>When application <strong>Hddtemp</strong> is installed, you can use it typing:</p>

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

<p>where <em>/dev/sda</em> is your hard drive.<br />
It will output something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda: ST9120822AS: <span style="color: #000000;">40</span>°C</pre></div></div>

<p>You can also have a graphical applet on your panel which indicates temperature of HD. Type:</p>

<div class="wp_syntax"><div 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> computertemp</pre></div></div>

<p>Then:</p>
<ol>
<li>Add &#8220;Computer Temperature Monitor&#8221; to your Gnome panel</li>
<li>Click right on applet icon and choose <strong>Preferences</strong></li>
<li>In <strong>Display</strong> tab select <em>HDDTEMP</em> in &#8220;Select Sensor to monitor&#8221; and your drive in &#8220;Select Thermal Zone&#8221;.</li>
</ol>
<div id="attachment_71" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.wojtekrj.net/wp-content/uploads/2008/08/preferencje.png"><img class="size-medium wp-image-71" title="preferencje" src="http://www.wojtekrj.net/wp-content/uploads/2008/08/preferencje-300x295.png" alt="Preferences window" width="300" height="295" /></a><p class="wp-caption-text">Preferences window</p></div>
<p>There is another approach:<br />
Install smartmontools package:</p>

<div class="wp_syntax"><div 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> smartmontools</pre></div></div>

<p>enable SMART monitoring (/dev/sda is a hard drive):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> smartctl  <span style="color: #660033;">-s</span> on  <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda</pre></div></div>

<p>and execute this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> smartctl <span style="color: #660033;">-a</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> Temp</pre></div></div>

<p>it will output something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000;">194</span> Temperature_Celsius     0x0022   040   048   000    Old_age   Always       -       <span style="color: #000000;">40</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0</span> <span style="color: #000000;">22</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>40°C is the temperature of hard drive</p>
<p><a class="a2a_button_wykop" href="http://www.addtoany.com/add_to/wykop?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Wykop" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/wykop.png" width="16" height="16" alt="Wykop"/></a><a class="a2a_button_delicious" href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a><a class="a2a_button_technorati_favorites" href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a><a class="a2a_button_digg" href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Digg" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a><a class="a2a_button_google_bookmarks" href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a><a class="a2a_button_msdn" href="http://www.addtoany.com/add_to/msdn?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="MSDN" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/msdn.png" width="16" height="16" alt="MSDN"/></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a><a class="a2a_button_technotizie" href="http://www.addtoany.com/add_to/technotizie?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="Technotizie" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technotizie.png" width="16" height="16" alt="Technotizie"/></a><a class="a2a_button_technet" href="http://www.addtoany.com/add_to/technet?linkurl=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;linkname=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" title="TechNet" rel="nofollow" target="_blank"><img src="http://www.wojtekrj.net/wp-content/plugins/add-to-any/icons/technet.png" width="16" height="16" alt="TechNet"/></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.wojtekrj.net%2F2008%2F08%2Fubuntu-checking-temperature-of-hard-drive%2F&amp;title=%5BUbuntu%5D%20Checking%20temperature%20of%20hard%20drive" id="wpa2a_20">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wojtekrj.net/2008/08/ubuntu-checking-temperature-of-hard-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

