<?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>Interphero Miscellany</title>
	<atom:link href="http://www.interphero.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.interphero.com</link>
	<description>Nothing to see here, please move along...</description>
	<lastBuildDate>Thu, 19 Aug 2010 22:37:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Execute Commands in Linux Before/After Suspend</title>
		<link>http://www.interphero.com/?p=231</link>
		<comments>http://www.interphero.com/?p=231#comments</comments>
		<pubDate>Wed, 18 Aug 2010 19:28:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[resume]]></category>
		<category><![CDATA[suspend]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=231</guid>
		<description><![CDATA[In my never ending pursuit to make my HTPC into an &#8220;appliance,&#8221; I ran into issues with autofs (the automounter) after resuming from standby.  To correct this, I created a script that kills it prior to suspend and launches a &#8230; <a href="http://www.interphero.com/?p=231">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In my never ending pursuit to make my HTPC into an &#8220;appliance,&#8221; I ran into issues with autofs (the automounter) after resuming from standby.  To correct this, I created a script that kills it prior to suspend and launches a new instance when the HTPC resumes from suspend.</p>
<p>#!/bin/bash<br />
#Script kills autofs when going into standby to eliminate issues with it<br />
case $1 in<br />
suspend)<br />
#suspending to RAM<br />
/etc/init.d/./autofs stop<br />
;;<br />
resume)<br />
#resume from suspend<br />
sleep 3<br />
/etc/init.d/./autofs start<br />
;;<br />
esac</p>
<p>The script can be easily modified to execute different commands to suit your needs.  Simply place it in the following location:</p>
<p>etc/pm/sleep.d/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=231</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make the Jetway AD3RTLAN-G Daughter Board Work</title>
		<link>http://www.interphero.com/?p=228</link>
		<comments>http://www.interphero.com/?p=228#comments</comments>
		<pubDate>Wed, 18 Aug 2010 01:54:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AD3RTLAN-G]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[daughter board]]></category>
		<category><![CDATA[jetway]]></category>
		<category><![CDATA[JNF91]]></category>
		<category><![CDATA[show up]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=228</guid>
		<description><![CDATA[I recently upgraded my firewall hardware to a Jetway JNF91-600 motherboard.  Jetway boards are great for such projects because they are cheap and they offer some great daughter board options.  The AD3RTLAN-G offers three additional 10/100/1000 NIC ports for a &#8230; <a href="http://www.interphero.com/?p=228">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded my firewall hardware to a Jetway JNF91-600 motherboard.  Jetway boards are great for such projects because they are cheap and they offer some great <a href="http://www.jetwaycomputer.com/Daughter_Board.html" target="_blank">daughter board</a> options.  The AD3RTLAN-G offers three additional 10/100/1000 NIC ports for a very reasonable price ~ $50.  Unfortunately, it does not appear as if that particular daughter board and motherboard are plug and play.  I was unable to find any documentation on how to get them to work, but luckily, after a few hours of tinkering, was able to get it to work.</p>
<p>To do so, I modified the BIOS settings as such:</p>
<p>PnP/PCI Configurations -&gt; IRQ Resources -&gt; IRQ-7 assigned to (change this value from &#8220;Reserved&#8221; to &#8220;PCI Device&#8221;).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=228</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Refresh conky when Network Becomes Available</title>
		<link>http://www.interphero.com/?p=227</link>
		<comments>http://www.interphero.com/?p=227#comments</comments>
		<pubDate>Sun, 11 Jul 2010 00:44:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[conky]]></category>
		<category><![CDATA[network up]]></category>
		<category><![CDATA[refresh]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=227</guid>
		<description><![CDATA[For those of you using conky, you probably already realize that it allows you to pull a lot of useful information from other machines, or Internet sources, such as Google Calendar or Remember the Milk.  But, those pieces of information &#8230; <a href="http://www.interphero.com/?p=227">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For those of you using conky, you probably already realize that it allows you to pull a lot of useful information from other machines, or Internet sources, such as Google Calendar or Remember the Milk.  But, those pieces of information aren&#8217;t typically polled very often so lapses in network connectivity can cause those portions of your conky display to remain un-updated or showing blank, even after you regain network connectivity.  Fortunately, Debian based systems provide a script directory that is executed whenever a network interface is brought up, i.e., it regains network connectivity.  This directory is: <em>/etc/network/if-up.d/</em>.  Copy the following to a script in the directory and it will update all of your conky instances every time you regain network connectivity:</p>
<p>#! /bin/bash<br />
killall -SIGUSR1 conky</p>
<p>Don&#8217;t forget to change the ownership to root:root and to set the permissions to 755.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=227</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix it: anacron doesn&#039;t run after resuming from suspend</title>
		<link>http://www.interphero.com/?p=225</link>
		<comments>http://www.interphero.com/?p=225#comments</comments>
		<pubDate>Fri, 09 Jul 2010 16:26:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[acer aspire revo]]></category>
		<category><![CDATA[anacron]]></category>
		<category><![CDATA[resume]]></category>
		<category><![CDATA[resuming]]></category>
		<category><![CDATA[standby]]></category>
		<category><![CDATA[suspend]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=225</guid>
		<description><![CDATA[Anacron is a very useful tool for systems that aren&#8217;t left on constantly.  It works in conjunction with cron to make sure that your scheduled jobs get run, even if your computer is off when they are supposed to run.  &#8230; <a href="http://www.interphero.com/?p=225">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Anacron is a very useful tool for systems that aren&#8217;t left on constantly.  It works in conjunction with cron to make sure that your scheduled jobs get run, even if your computer is off when they are supposed to run.  Essentially, anacron will wait for a set period after your computer is turned back on, then it will run any jobs that were supposed to be run.  Tux Radar has a great, in-depth <a href="http://www.tuxradar.com/content/automate-linux-cron-and-anacron" target="_blank">article</a> about how they interact.</p>
<p>I personally use anacron on my HTPC (an Acer Aspire Revo), which is running XBMC 9.11, which is based on Ubuntu 9.10.  Anacron was not installed by default, so if you are running a similar setup, you can install it by running the following from the command line:</p>
<p>sudo apt-get install anacron</p>
<p>I am in the process of setting my HTPC to go into standby when I&#8217;m not using it, as opposed to leaving it on all of the time.  Obviously, having the HTPC in standby most of the time would interfere with my cron jobs.  One job in particular &#8211; updating my XBMC media library &#8211; is important, and needs to be run daily.  Luckily, anacron comes setup, out of the box, to run not just when you reboot the machine, but also when it resumes from standby.  Unfortunately, an issue exists that was preventing anacron from running &#8211; both at startup and when resuming from standby.</p>
<p>It turns out that anacron will not run if your computer is operating on battery power.  I&#8217;m assuming that the idea was that you don&#8217;t want to burn precious laptop battery power on background tasks.  But my HTPC was reporting that it wasn&#8217;t on AC power, even though it is incapable of operating any other way!  This was preventing anacron from running my jobs.  I was able to see the behavior by parsing my <em>/var/log/syslog:</em></p>
<p>Jul  9 11:39:29 ***** anacron[2577]: Anacron 2.3 started on 2010-07-09<br />
Jul  9 11:39:29 ***** anacron[2577]: Will run job `cron.daily&#8217; in 5 min.<br />
Jul  9 11:39:29 ***** anacron[2577]: Jobs will be executed sequentially<br />
Jul  9 11:39:29 ***** init: anacron main process (2577) killed by TERM signal</p>
<p>As you can see, the anacron process was being started, and then immediately killed, because the HTPC thought that it was running on battery.  After a little more digging, I determined that the culprit was a script named <em>on_ac_power</em>.  On my system, this script was located in two locations: <em>/sbin/</em> and <em>/usr/bin/</em>.  To fix the issue, I simply replaced both instances with my own <em>on_ac_power</em> script which contains the following 2 lines:</p>
<p>#!/bin/sh<br />
return 0</p>
<p>This simply returns the value 0, which corresponds to the computer being on AC power.  Make sure to set the ownership for the file to root:root and the permissions to 755.  After making the replacement, anacron worked like a champ!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=225</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04: Touchpad Only Works on Login Screen</title>
		<link>http://www.interphero.com/?p=223</link>
		<comments>http://www.interphero.com/?p=223#comments</comments>
		<pubDate>Tue, 22 Jun 2010 16:53:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[login screen]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=223</guid>
		<description><![CDATA[For some reason, my laptop touchpad stopped working in Ubuntu 10.04, but would work on the login screen.  Here is a quick fix, just type the following command into a terminal window: gconftool-2 &#8211;set &#8211;type boolean /desktop/gnome/peripherals/touchpad/touchpad_enabled true]]></description>
			<content:encoded><![CDATA[<p>For some reason, my laptop touchpad stopped working in Ubuntu 10.04, but would work on the login screen.  Here is a quick fix, just type the following command into a terminal window:</p>
<p>gconftool-2 &#8211;set &#8211;type boolean /desktop/gnome/peripherals/touchpad/touchpad_enabled true</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=223</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gmail on Postfix: Updating your Certificates</title>
		<link>http://www.interphero.com/?p=221</link>
		<comments>http://www.interphero.com/?p=221#comments</comments>
		<pubDate>Mon, 21 Jun 2010 19:15:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=221</guid>
		<description><![CDATA[There are many guides on the web for setting up a postfix mail server to work with gmail, for example: http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/ I have a separate gmail account for sending server notifications, such as mdadm failures, SMART warnings, etc.  Step 4 &#8230; <a href="http://www.interphero.com/?p=221">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are many guides on the web for setting up a postfix mail server to work with gmail, for example:</p>
<p><a href="http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/" target="_blank">http://www.marksanborn.net/linux/send-mail-postfix-through-gmails-smtp-on-a-ubuntu-lts-server/</a></p>
<p>I have a separate gmail account for sending server notifications, such as mdadm failures, SMART warnings, etc.  Step 4 of the guide given above involves copying the Thawte Premium Server Certificate Authority to the end of your server certificate.  Recently, my setup stopped working and I noticed the following errors in <em>/var/log/mail.info</em>:</p>
<p>Jun 11 03:47:38 ******* postfix/smtp[2496]: certificate verification failed for smtp.gmail.com[74.125.113.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority<br />
Jun 11 03:47:38 ******* postfix/smtp[2452]: Untrusted TLS connection established to smtp.gmail.com[74.125.113.109]:587: TLSv1 with cipher RC4-MD5 (128/128 bits)<br />
Jun 11 03:47:38 ******* postfix/smtp[2452]: C702D32C1A7: to=&lt;*******&gt;, relay=smtp.gmail.com[74.125.113.109]:587, delay=420914, delays=420912/0.08/2.5/0, dsn=4.7.5, status=deferred (Server certificate not trusted)<br />
Jun 11 03:47:38 ******* postfix/smtp[2506]: certificate verification failed for smtp.gmail.com[74.125.113.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority<br />
Jun 11 03:47:38 ******* postfix/smtp[2514]: certificate verification failed for smtp.gmail.com[74.125.113.109]:587: untrusted issuer /C=US/O=Equifax/OU=Equifax Secure Certificate Authority<br />
Jun 11 03:47:38 ******* postfix/smtp[2483]: Untrusted TLS connection established to smtp.gmail.com[74.125.113.109]:587: TLSv1 with cipher RC4-MD5 (128/128 bits)<br />
Jun 11 03:47:38 ******* postfix/smtp[2496]: Untrusted TLS connection established to smtp.gmail.com[74.125.113.109]:587: TLSv1 with cipher RC4-MD5 (128/128 bits)</p>
<p>It turns out that gmail now uses a different Certificate Authority: Equifax Secure Certificate Authority.  So, to get things working again, simply use the Equifax certificate in step 4.  The Equifax Secure Certificate Authority can be found here:</p>
<p><a href="https://www.geotrust.com/resources/root-certificates/index.html" target="_blank">https://www.geotrust.com/resources/root-certificates/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=221</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04: Why is ksmd eating CPU cycles?</title>
		<link>http://www.interphero.com/?p=219</link>
		<comments>http://www.interphero.com/?p=219#comments</comments>
		<pubDate>Mon, 14 Jun 2010 21:04:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[high CPU]]></category>
		<category><![CDATA[ksmd]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=219</guid>
		<description><![CDATA[If you use KVM virtualization, under Ubuntu 10.04 Server LTS, with more than one virtual host running at a time, you may have noticed ksmd eating a lot of CPU cycles.  This behavior was not present under 8.04 Server LTS.  &#8230; <a href="http://www.interphero.com/?p=219">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you use KVM virtualization, under Ubuntu 10.04 Server LTS, with more than one virtual host running at a time, you may have noticed <em>ksmd</em> eating a lot of CPU cycles.  This behavior was not present under 8.04 Server LTS.  Apparently, the kmsd functionality was enabled by default in 10.04.  KSM &#8211; Kernel Samepage Merging &#8211; merges memory pages between virtual hosts to save space.  Unfortunately, for some, it also utilizes a lot of CPU resources to perform this function.  For my use case, I don&#8217;t care about the amount of RAM occupied by my virtual hosts, indeed, I installed far more RAM than I need in my server so that I don&#8217;t have to worry about a lack of RAM.  If you would like to disable ksmd, edit your <em>/etc/default/qemu-kvm</em> file as follows:</p>
<p># To disable qemu-kvm&#8217;s page merging feature, set KSM_ENABLED=0 and<br />
# sudo restart qemu-kvm</p>
<p>KSM_ENABLED=0<br />
#SLEEP_MILLISECS=2000</p>
<p>Then, as the comments in the file state, restart qemu-kvm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=219</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Of Gateways and Metric Values</title>
		<link>http://www.interphero.com/?p=217</link>
		<comments>http://www.interphero.com/?p=217#comments</comments>
		<pubDate>Fri, 11 Jun 2010 09:17:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[10.04 lts]]></category>
		<category><![CDATA[8.04 lts]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[metric]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=217</guid>
		<description><![CDATA[I recently diagnosed an interesting issue regarding the default gateway on my server.  I run several network adapters on my server, on different subnets, mostly for the purpose of separating virtual machine traffic from traffic native to the server itself.  &#8230; <a href="http://www.interphero.com/?p=217">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently diagnosed an interesting issue regarding the default gateway on my server.  I run several network adapters on my server, on different subnets, mostly for the purpose of separating virtual machine traffic from traffic native to the server itself.  After upgrade from Ubuntu Server 8.04 LTS to 10.04 LTS, I noticed several strange issues:</p>
<ul>
<li>Using my VPN connection, I could connect to every machine on my network but the server</li>
<li>My postfix server (which relays server alert mails through gmail) stopped working</li>
<li>I couldn&#8217;t reach the Internet (I didn&#8217;t notice this because I use package-cache)</li>
</ul>
<p>My first thought was to make sure that none of my networking related files changed (e.g., /etc/network/interfaces), but they weren&#8217;t touched during the upgrade.  I then followed some guides on the Internet related to network troubleshooting.  The route command, in particular, was of interest, however the output looked correct.  I had a route from the native network adapter to the Internet, through my gateway.  What&#8217;s more, I was able to ping my gateway.  But, just to be sure, I tried the following command, which adds a default route:</p>
<p>sudo route add default gw 192.168.1.1 eth-native</p>
<p>Lo and behold, everything worked and I was able to reach the Internet.  I re-ran the route command and I had a second route to my gateway, but this time, it had a metric of 0.  Metric, apparently, is used to determine the priority of each gateway, and accordingly which one to use as the default.  Prior to making the change, all of my subnets had a metric of 100.  Something must have changed between Ubuntu 8.04 and 10.04 to make this difference.</p>
<p>To make the fix permanent, I added <em>metric 0</em> under my native network adapter in the <em>/etc/network/interfaces</em> file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=217</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Brother Printer Drivers in Ubuntu 10.04</title>
		<link>http://www.interphero.com/?p=215</link>
		<comments>http://www.interphero.com/?p=215#comments</comments>
		<pubDate>Thu, 03 Jun 2010 03:08:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[brother]]></category>
		<category><![CDATA[printer driver]]></category>
		<category><![CDATA[ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=215</guid>
		<description><![CDATA[As I posted about earlier, Brother&#8217;s printer drivers are superior to their open source counterparts in terms of speed.  The open source driver for my printer &#8211; HL-2170w &#8211; is essentially unusable with PDFs as printing takes 4-5 minutes per &#8230; <a href="http://www.interphero.com/?p=215">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As I posted about earlier, Brother&#8217;s printer drivers are superior to their open source counterparts in terms of speed.  The open source driver for my printer &#8211; HL-2170w &#8211; is essentially unusable with PDFs as printing takes 4-5 minutes per page.  I did a fresh install of Ubuntu 10.04 and was unable to get the Brother printer driver working.  The issue is that Ubuntu 10.04 does not have a <em>/usr/share/cups/model/</em> directory, which is where the CUPS Wrapper installs the PPD file.  Luckily, the fix is simple:</p>
<p>sudo mkdir /usr/share/cups/model/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=215</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete Gnome Thumbnails on Shutdown</title>
		<link>http://www.interphero.com/?p=212</link>
		<comments>http://www.interphero.com/?p=212#comments</comments>
		<pubDate>Mon, 31 May 2010 21:35:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[delete thumbnails]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[shutdown]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.interphero.com/?p=212</guid>
		<description><![CDATA[Gnome saves thumbnails for most document types.  This process can speed up subsequent viewing of files, but it can also be problematic: The number of files is not limited (this can be addressed with gnome-tweak) nor is the overall space &#8230; <a href="http://www.interphero.com/?p=212">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Gnome saves thumbnails for most document types.  This process can speed up subsequent viewing of files, but it can also be problematic:</p>
<ol>
<li>The number of files is not limited (this can be addressed with gnome-tweak) nor is the overall space occupied by thumbnails.</li>
<li>Thumbnails leave a trail of what you have been downloading or looking at (<em>cough</em> porn <em>cough</em>).</li>
</ol>
<p>So I put together this really simple script to delete all of my thumbnails at shutdown (replace USERNAME with your username):</p>
<p>#!/bin/sh<br />
#Delete all USERNAME thumbnails when shutting down<br />
rm -rf /home/USERNAME/.thumbnails/normal/*<br />
rm -rf /home/USERNAME/.thumbnails/fail/gnome-thumbnail-factory/*</p>
<p>Place this script in the /etc/init.d/ directory and make sure that it is executable by root by issuing <em>chmod 755</em>.  Then, create symbolic links to the correct run levels (0 and 6):</p>
<p>sudo ln -s /etc/init.d/delete-USERNAME-thumbs /etc/rc0.d/K10delete-USERNAME-thumbs</p>
<p>sudo ln -s /etc/init.d/delete-USERNAME-thumbs /etc/rc6.d/K10delete-USERNAME-thumbs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.interphero.com/?feed=rss2&amp;p=212</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
