<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>crashsystems.net &#187; Ubuntu</title>
	<atom:link href="http://crashsystems.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://crashsystems.net</link>
	<description>Home of Crashsystems LLC, and a blog about miscellaneous things</description>
	<lastBuildDate>Sun, 20 Jun 2010 19:28:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.5.3" -->
	<copyright>2006-2007 </copyright>
	<managingEditor>crashsystems@gmail.com (Douglass Clem)</managingEditor>
	<webMaster>crashsystems@gmail.com (Douglass Clem)</webMaster>
	<category>posts</category>
	<ttl>1440</ttl>
	<image>
		<url>http://crashsystems.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>crashsystems.net &#187; Ubuntu</title>
		<link>http://crashsystems.net</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>A blog about technology, world travel, spirituality, and random combinations of these themes.</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &amp; Culture" />
	<itunes:author>Douglass Clem</itunes:author>
	<itunes:owner>
		<itunes:name>Douglass Clem</itunes:name>
		<itunes:email>crashsystems@gmail.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://crashsystems.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg" />
		<item>
		<title>Telling Students Linux != Windows with pyinotify and pynotify</title>
		<link>http://crashsystems.net/2010/05/pyinotify_and_pynotify/</link>
		<comments>http://crashsystems.net/2010/05/pyinotify_and_pynotify/#comments</comments>
		<pubDate>Thu, 13 May 2010 19:44:04 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=348</guid>
		<description><![CDATA[While doing pro bono Ubuntu system administration for a local private school, something that has always annoyed me is that students frequently download installer files for Windows programs (games, iTunes etc). The computers obviously don&#8217;t look like they run Windows, and they&#8217;ve been told on many occasions that Linux != Windows. So today, I decided [...]]]></description>
			<content:encoded><![CDATA[<p>While doing pro bono Ubuntu system administration for a local private school, something that has always annoyed me is that students frequently download installer files for Windows programs (games, iTunes etc). The computers obviously don&#8217;t <em>look</em> like they run Windows, and they&#8217;ve been told on many occasions that Linux != Windows. So today, I decided to automate this explanation:</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#!/usr/bin/python</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">import</span> pyinotify, pynotify
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">subprocess</span> <span style="color: #ff7700;font-weight:bold;">import</span> Popen
<span style="color: #ff7700;font-weight:bold;">from</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span> <span style="color: #ff7700;font-weight:bold;">import</span> expanduser
&nbsp;
pynotify.<span style="color: black;">init</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'Windows program notifier'</span><span style="color: black;">&#41;</span> <span style="color: #808080; font-style: italic;"># Not sure what this does</span>
&nbsp;
PATH = expanduser<span style="color: black;">&#40;</span><span style="color: #483d8b;">'~'</span><span style="color: black;">&#41;</span>
NAUGHTY_EXTENSIONS = <span style="color: black;">&#91;</span><span style="color: #483d8b;">'exe'</span>,<span style="color: #483d8b;">'bat'</span>, <span style="color: #483d8b;">'com'</span>, <span style="color: #483d8b;">'dll'</span>, <span style="color: #483d8b;">'msi'</span>, <span style="color: #483d8b;">'ocx'</span>, <span style="color: #483d8b;">'reg'</span>, <span style="color: #483d8b;">'scr'</span><span style="color: black;">&#93;</span>
MESSAGE = <span style="color: #483d8b;">&quot;You just tried to download a Windows program. This is Linux. Bugger off!&quot;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">def</span> notifyAndDelete<span style="color: black;">&#40;</span>path, showNotification<span style="color: black;">&#41;</span>:
    <span style="color: #483d8b;">&quot;&quot;&quot;Delete any file with the forbben extensions.&quot;&quot;&quot;</span>
    <span style="color: #ff7700;font-weight:bold;">if</span> path.<span style="color: black;">split</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'.'</span><span style="color: black;">&#41;</span><span style="color: black;">&#91;</span>-<span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span>.<span style="color: black;">lower</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span> <span style="color: #ff7700;font-weight:bold;">in</span> NAUGHTY_EXTENSIONS:
        <span style="color: #ff7700;font-weight:bold;">print</span> <span style="color: #483d8b;">'Deleting '</span> + path
        Popen<span style="color: black;">&#40;</span><span style="color: black;">&#91;</span><span style="color: #483d8b;">'rm'</span>, path<span style="color: black;">&#93;</span><span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">if</span> showNotification == <span style="color: #008000;">True</span>:
            n = pynotify.<span style="color: black;">Notification</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Windows Program Fail&quot;</span>, MESSAGE<span style="color: black;">&#41;</span>
            n.<span style="color: black;">show</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">class</span> HandleEvents<span style="color: black;">&#40;</span>pyinotify.<span style="color: black;">ProcessEvent</span><span style="color: black;">&#41;</span>:
    <span style="color: #ff7700;font-weight:bold;">def</span> process_IN_CREATE<span style="color: black;">&#40;</span><span style="color: #008000;">self</span>, event<span style="color: black;">&#41;</span>:
        notifyAndDelete<span style="color: black;">&#40;</span>event.<span style="color: black;">pathname</span>, <span style="color: #008000;">True</span><span style="color: black;">&#41;</span>
    <span style="color: #ff7700;font-weight:bold;">def</span> process_IN_MOVED_TO<span style="color: black;">&#40;</span><span style="color: #008000;">self</span>, event<span style="color: black;">&#41;</span>:
        notifyAndDelete<span style="color: black;">&#40;</span>event.<span style="color: black;">pathname</span>, <span style="color: #008000;">False</span><span style="color: black;">&#41;</span>
&nbsp;
<span style="color: #ff7700;font-weight:bold;">if</span> __name__ == <span style="color: #483d8b;">'__main__'</span>:
    wm = pyinotify.<span style="color: black;">WatchManager</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>  <span style="color: #808080; font-style: italic;"># Watch Manager</span>
    mask = pyinotify.<span style="color: black;">IN_CREATE</span> | pyinotify.<span style="color: black;">IN_MOVED_TO</span>  <span style="color: #808080; font-style: italic;"># watched events</span>
&nbsp;
    p = HandleEvents<span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
    notifier = pyinotify.<span style="color: black;">Notifier</span><span style="color: black;">&#40;</span>wm, p<span style="color: black;">&#41;</span>
    wdd = wm.<span style="color: black;">add_watch</span><span style="color: black;">&#40;</span>PATH, mask, rec=<span style="color: #008000;">True</span><span style="color: black;">&#41;</span>
&nbsp;
    notifier.<span style="color: black;">loop</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div>

<p>When a user tries to download a program with an extension found in NAUGHTY_EXTENSIONS, They will get a Notify OSD popup informing them that they are not using Windows, and Windows programs won&#8217;t work on school computers. Of course, when I go to deploy this code, MESSAGE will be a little more appropriately worded.</p>
<p>This program is a combination of code I found from <a href="http://trac.dbzteam.org/pyinotify/wiki/Tutorial" target="_blank">this pyinotify tutorial</a> and a Notify OSD snippet I found in <a href="http://aciresnippets.wordpress.com" target="_blank">Acire</a>.</p>
<p><strong>Edit June 8 2010</strong></p>
<p><em>Thanks to the anonymous commenter that pointed out the bug that allowed arbitrary code execution, and to </em><a href="https://wiki.ubuntu.com/mhall119" target="_blank"><em>Michael Hall</em></a><em> for explaining it in more detail. The problem has been fixed.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2010/05/pyinotify_and_pynotify/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Changing Plymouth Themes In Ubuntu 10.04</title>
		<link>http://crashsystems.net/2010/04/changing-plymouth-themes/</link>
		<comments>http://crashsystems.net/2010/04/changing-plymouth-themes/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 00:28:04 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=332</guid>
		<description><![CDATA[One of the major changes in Ubuntu 10.04 is that Plymouth is now managing the fancy boot graphics, instead of xsplash. While the default Plymouth theme is decent, I wanted something different. Fortunately, changing the Plymouth theme only takes a few lines on the CLI. If you run apt-cache search plymouth-theme, you&#8217;ll see which themes [...]]]></description>
			<content:encoded><![CDATA[<p>One of the major changes in Ubuntu 10.04 is that Plymouth is now managing the fancy boot graphics, instead of xsplash. While the default Plymouth theme is decent, I wanted something different. Fortunately, changing the Plymouth theme only takes a few lines on the CLI.</p>
<p>If you run <em>apt-cache search plymouth-theme</em>, you&#8217;ll see which themes are available in the default repositories. This <a href="http://www.youtube.com/results?search_query=ubuntu+plymouth&amp;aq=0" target="_blank">Youtube search</a> has some videos of what is available. I chose the <em>plymouth-theme-solar</em> package, which has a nice solar flare animation. Next, run the following code, which I found <a href="http://ubuntuforums.org/showpost.php?p=9034192&amp;postcount=510" target="_blank">here</a>. Keep in mind that you need to change it to point to the plymouth theme you want to use.</p>
<pre>sudo update-alternatives --install \
/lib/plymouth/themes/default.plymouth default.plymouth \
/lib/plymouth/themes/solar/solar.plymouth 100</pre>
<p>(note: Line warping was only used to make it look pretty on a blog post.)</p>
<p>Next run <em>sudo update-alternatives &#8211;config default.plymouth</em>. You&#8217;ll see a numbered menu of the themes currently installed. Type the number for the one you want and hit enter. Finally, use <em>sudo update-initramfs -u</em> to apply your changes.</p>
<p>Here is the result:</p>
<p><a href="http://www.youtube.com/watch?v=GUY_wvpBtHY"><img src="http://img.youtube.com/vi/GUY_wvpBtHY/default.jpg" width="130" height="97" border=0></a></p>
<p>There are not many themes available currently. However, once 10.04 is released and has been out for a little while, I think there will be many more options.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2010/04/changing-plymouth-themes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Using x2x on Linux for KVM like goodness</title>
		<link>http://crashsystems.net/2010/01/x2x/</link>
		<comments>http://crashsystems.net/2010/01/x2x/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 00:57:00 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=303</guid>
		<description><![CDATA[Recently I purchased one of those little &#8220;nettop&#8221; computers to plug into my HDTV and act as my multimedia center (more on that when it arrives). I also purchased a IR remote, but I wanted a way to be able to use a keyboard and mouse on it as well, as it is more than [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I purchased one of those little &#8220;nettop&#8221; computers to plug into my HDTV and act as my multimedia center (more on that when it arrives). I also purchased a IR remote, but I wanted a way to be able to use a keyboard and mouse on it as well, as it is more than just a movie player. However, I didn&#8217;t want a physical keyboard/mouse, as that would look out of place.</p>
<p>After reading up on the subject, I decided to give <a href="http://synergy2.sourceforge.net/" target="_blank">Synergy</a> a try. Synergy lets you use use your keyboard and mouse on another computer over a network, just as if it was a second screen attached. Synergy looked promising, but several things about it did not work out for me.</p>
<p>Being a network application, Synergy consists of both a client app and a server app. It turns out that with Synergy the &#8220;server&#8221; is the computer with the keyboard and mouse you want to use on multiple machines. I&#8217;m sure this works fine for most people, but it does not make sense for my multimedia system. This computer will be on most of the time, being controlled by several different machines For my setup, the logical place for the &#8220;server&#8221; would be the multimedia system. I probably could have hacked it to make the client (running on my server) act more like a server, except each time the client app fails to connect to the server (running on my laptops), the time it waits for another connection increments.</p>
<p>When looking for Synergy alternatives, I found <a href="http://x2x.dottedmag.net/" target="_blank">x2x</a>. x2x is only designed for Linux, so it would not be usable for someone who needs to use a keyboard and mouse on multiple operating systems. I only use Ubuntu Linux at home, so this was not a problem for me. An advantage of x2x is that setup is very simple. First, install the x2x package (&#8220;x2x&#8221; in Ubuntu) on both machines, and openssh-server on the computer you want to control remotely. Then, from the computer with the keyboard and mouse you want to use on another system, run:</p>
<pre>ssh -X user@server x2x -south -to :0</pre>
<p>With this, you can now move your cursor beyond the bottom of your screen, onto the remote system. If you want to use a different edge of your screen, replace -south with -north, -east or -west. If you have key based authentication set up for ssh, you could stick this into the applications menu.</p>
<h3>Updated 08 January 2010</h3>
<p>It seems there is a bit of an <a href="https://bugs.edge.launchpad.net/ubuntu/+bug/471726" target="_blank">issue</a> with x2x in Ubuntu 9.10. Some people are seeing the following error when they try to run x2x:</p>
<pre>No protocol specified</pre>
<pre>x2x - error: can not open display :0</pre>
<p>To work around this issue until it is fixed, SSH into the box you want to remotely control, then run the following command:</p>
<pre>xauth merge /var/run/gdm/auth-for-$USER-*/database</pre>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2010/01/x2x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android Screenshots</title>
		<link>http://crashsystems.net/2009/07/android-screenshots/</link>
		<comments>http://crashsystems.net/2009/07/android-screenshots/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 01:07:29 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[multmedia]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=267</guid>
		<description><![CDATA[I just got done taking some screenshots of my snazzy Android phone. I ran into a bit of difficulty getting the DDMS (Dalvik Debug Monitor Service) tool running in Ubuntu 9.04 64 bit, but post #2 on this thread helped. To summarize: Use the package manager of your choice to install ia32-sun-java6-bin. Download the Android [...]]]></description>
			<content:encoded><![CDATA[<p>I just got done taking some screenshots of my snazzy Android phone. I ran into a bit of difficulty getting the DDMS (Dalvik Debug Monitor Service) tool running in Ubuntu 9.04 64 bit, but post #2 on <a href="http://groups.google.com/group/android-developers/browse_thread/thread/2077f2d8b385f54b/c855391abf432aee?pli=1" target="_blank">this thread</a> helped. To summarize:</p>
<ol>
<li>Use the package manager of your choice to install ia32-sun-java6-bin.</li>
<li><a href="http://developer.android.com/index.html" target="_blank">Download</a> the Android SDK for Linux, then extract the zip file.</li>
<li>In the SDK tools folder, open up the ddms file in your favorite text editor.</li>
<li>Modify line #72 to the following: java_cmd=&#8221;/usr/lib/jvm/ia32-java-6-sun/bin/java&#8221;</li>
</ol>
<p>Here are the screenshots I took:</p>

<div class="ngg-galleryoverview" id="ngg-gallery-10-267">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-158" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/1.png" title=" " class="thickbox" rel="set_10" >
								<img title="Home screen - Portrait" alt="Home screen - Portrait" src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_1.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-159" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/2.png" title=" " class="thickbox" rel="set_10" >
								<img title="Home screen- Landscape" alt="Home screen- Landscape" src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_2.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-160" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/3.png" title=" " class="thickbox" rel="set_10" >
								<img title="Application list on the move" alt="Application list on the move" src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_3.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-161" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/4.png" title=" " class="thickbox" rel="set_10" >
								<img title="Application list. Gmote is awesome!" alt="Application list. Gmote is awesome!" src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_4.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-162" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/5.png" title=" " class="thickbox" rel="set_10" >
								<img title="usic app. Unlike iPhone, I can use whatever music app I want." alt="usic app. Unlike iPhone, I can use whatever music app I want." src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_5.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-163" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://crashsystems.net/wp-content/gallery/android-screenshots/6.png" title=" " class="thickbox" rel="set_10" >
								<img title="Full web browser." alt="Full web browser." src="http://crashsystems.net/wp-content/gallery/android-screenshots/thumbs/thumbs_6.png" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>


<p>As you can see, I&#8217;m running a clone of the theme on <a href="http://www.htc.com/www/product/hero/overview.html" target="_blank">HTC&#8217;s Hero</a> Android phone. This theme can be downloaded <a href="http://forum.xda-developers.com/showthread.php?t=520629">here</a>. All the install took was downloading the theme, putting it on my phone&#8217;s SD card as update.zip, booting into recovery mode and flashing the update. Of course, you&#8217;ll need a rooted G1 for this to work. I&#8217;m running JesusFreke&#8217;s wonderful 1.5 build. Read <a href="http://androidandme.com/2009/05/guides/beginners-guide-for-rooting-your-android-g1-to-install-cupcake/" target="_blank">this guide</a> for instructions for rooting your G1.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2009/07/android-screenshots/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Does High Price Attract Mac Users?</title>
		<link>http://crashsystems.net/2009/05/mac-high-price/</link>
		<comments>http://crashsystems.net/2009/05/mac-high-price/#comments</comments>
		<pubDate>Sun, 10 May 2009 20:49:31 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=234</guid>
		<description><![CDATA[I was on the #ubuntu-us-fl IRC channel recently, when one of my fellow geeks put forward an interesting theory: People are attracted to Apple products by a high price. The theory assumes that in our society people usually equate price with quality, and not always accurately. Today I decided to do a little price comparison. [...]]]></description>
			<content:encoded><![CDATA[<p>I was on the <a href="http://www.mibbit.com/?server=irc.freenode.net&amp;channel=%23ubuntu-us-fl" target="_blank">#ubuntu-us-fl</a> IRC channel recently, when one of my fellow geeks put forward an interesting theory: People are attracted to Apple products by a high price. The theory assumes that in our society people usually equate price with quality, and not always accurately. Today I decided to do a little price comparison. I gladly admit that I have a bias towards the Linux operating system, specifically the <a href="http://ubuntu.com" target="_blank">Ubuntu</a> distribution. However, in this post I will try to let hopefully unbiased numbers speak for themselves, with the exception of my summary at the end.</p>
<p>Below I have the configurations and prices for four machines: an <a href="http://apple.com" target="_blank">Apple</a> Mac Pro, a <a href="http://dell.com" target="_blank">Dell</a> XPS 630, The Wild Dog performance desktop from <a href="http://system76.com/" target="_blank">System76</a>, and finally a custom built machine with parts from <a href="http://newegg.com" target="_blank">Newegg</a> (thanks to <a href="http://excid3.com/" target="_blank">excid3</a> for the build specs). Though the machines are from four different <a href="http://en.wikipedia.org/wiki/Original_equipment_manufacturer" target="_blank">OEM</a>s (aka companies that build computers), I configured each to be as close as possible in specifications and performance.</p>
<h2><a href="http://store.apple.com/us_smb_78313/configure/MB871LL/A?mco=NDE4NDIwNA" target="_blank">Apple Mac Pro</a>, $2,849.00</h2>
<ul>
<li>Processor: One 2.66GHz Quad-Core Intel Xeon</li>
<li>RAM: 8GB (4x2GB)</li>
<li>Hard drive: 1TB 7200-rpm Serial ATA 3Gb</li>
<li>Graphics card: NVIDIA GeForce GT 120 512MB</li>
<li>DVD burner: One 18x SuperDrive</li>
</ul>
<h2><a href="http://configure.us.dell.com/dellstore/config.aspx?oc=dxcw64c&amp;c=us&amp;l=en&amp;s=dhs&amp;cs=19&amp;kc=productdetails~xpsdt_630" target="_blank">Dell XPS 630</a>, $1,679</h2>
<ul>
<li>Processor: Intel® Core™2 Q9550 (12MB,2.83GHz, 1333FSB) (Also a quad core)</li>
<li>RAM: 8GB Dual Channel DDR2 SDRAM at 800MHz (4 DIMM)</li>
<li>Hard drive: 1TB Performance RAID 0 (2 x 500GB SATA 3Gb/s 7200 RPM HDDs)</li>
<li>Graphics card: SLi, Dual nVidia GeForce 9800GT 512MB</li>
<li>DVD burner: 16X CD/DVD burner (DVD+/-RW) w/double layer write capability</li>
</ul>
<h2>System76 <a href="http://system76.com/product_info.php?cPath=27&amp;products_id=82" target="_blank">Wild Dog Performance Desktop</a>, $1,089.00</h2>
<ul>
<li>Processor: Quad Core Q6600 2.40 GHz FSB 1066 MHz L2 8 MB</li>
<li>RAM: 8 GB &#8211; 4 x 2 GB &#8211; DDR3 &#8211; 1333 MHz</li>
<li>Hard Drive:  1 TB SATA II 300Mbps &#8211; 7200 rpm 32 MB Buffer</li>
<li>Graphics card: 512 MB ATI Radeon 4550 PCI-Express x16 GDDR3 (DVI, VGA, S-Video, DVI to HDMI, DVI to VGA)</li>
<li>DVD burner: CD-RW / DVD-RW</li>
</ul>
<h2>Custom built machine, $608.90</h2>
<p>Note: If you wanted Windows Vista on this machine (not recommended), just <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16832116493" target="_blank">add $179.99</a> to the price. Also, the links to all the parts are listed below, seeing as there is a lot more customization that goes into a custom build.</p>
<ul>
<li><span><a href="http://www.newegg.com/Product/Product.aspx?item=N82E16819103244" target="_blank">AMD Phenom 9600 Agena 2.3GHz Socket AM2+ 95W Quad-Core Processor Model HD960ZWCGDBOX &#8211; Retail</a> </span></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820104072" target="_blank"><span>Kingston HyperX 2GB 240-Pin DDR2 SDRAM DDR2 1066 Desktop Memory Model KHX8500D2/2G &#8211; Retail</span></a> (x4)</li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817371007" target="_blank"></a><a href="http://www.newegg.com/Product/Product.aspx?item=N82E16817371007" target="_blank">Antec earthwatts EA500 500W Continuous Power ATX12V v2.0 SLI Certified CrossFire Ready 80 PLUS Certified Active PFC Power &#8230; &#8211; Retail</a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131382" target="_blank"><span> ASUS M4N78 Pro AM3/AM2+/AM2 NVIDIA GeForce 8300 HDMI ATX AMD Motherboard &#8211; Retail </span></a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822136284" target="_blank"><span>Western Digital Caviar Black WD1001FALS 1TB 7200 RPM SATA 3.0Gb/s 3.5&#8243; Hard Drive &#8211; OEM </span></a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811146035" target="_blank"><span>NZXT HUSH Black SECC Steel/ Aluminum/ Plastic ATX Mid Tower Computer Case &#8211; Retail </span></a></li>
<li><a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827249037" target="_blank"><span>PLEXTOR 20X DVD Super Multi Qflix Drive Black SATA Model PX-806SA SW &#8211; Retail</span></a></li>
</ul>
<h1>Biased Summary</h1>
<p>I&#8217;ll start off with the most obvious and least controversial conclusion: you&#8217;d be crazy not to get a custom built machine. Due to the geeky tendencies of this blog, most people reading this are likely to be fellow geeks. Any geek worth their weight in <a href="http://en.wikipedia.org/wiki/Cathode_ray_tube" target="_blank">old CRT monitors</a> can put that machine together. If however you are not a geek, surely you know someone who is. For $200 and a few hours to play with all the shiny parts, any geek would be glad to put this machine together for you, and you&#8217;d still be saving a huge amount of money.</p>
<p>Now for the slightly more controversial conclusions. I believe that a higher price does play a role in a person&#8217;s decision to buy a Mac. It is certainly not the only factor, since as far as OEM equipment goes, Apple is fairly nice. I agree that Apple has some very high quality hardware. However, the hardware in each of these machines is very similar, and all high quality, and yet the Apple machine is $1,170 more expensive than the second most expensive and yet very similar machine. You could even get any one of these machines and put OSX on it yourself if Apple would let you (or you felt like using <a href="https://thepiratebay.org" target="_blank">The Pirate Bay</a>).</p>
<p>Given the fact that all four machines are very similar, lets assume for a moment that the custom built machine represents the price each manufacturer pays to build their computer (not quite accurate, as the OEM&#8217;s save money by buying parts in bulk). This would mean that what you are really buying from an OEM is the convenience of having someone else put a computer together for you. That convenience costs you $2,240 if Apple builds it and $1,070 if Dell builds it. The lowest OEM service price is from System76, at $480, which is just over twice my recommended build price from the friendly neighborhood geek.</p>
<p>My numbers are certianly not perfect, especially since it is impossible to get an exactly identical machine from two OEMs. However, even after doing tweaking for any innacuracies in my calculations or configurations, I think your findings will be the same: all OEMs are expensive, but Apple is by far the most expensive.</p>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2009/05/mac-high-price/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Boot Performance In Ubuntu 9.04</title>
		<link>http://crashsystems.net/2009/03/boot-performance-in-ubuntu-904/</link>
		<comments>http://crashsystems.net/2009/03/boot-performance-in-ubuntu-904/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 23:00:59 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=213</guid>
		<description><![CDATA[For several weeks I've been enjoying the Jaunty bootup goodness. Today I ran bootchart to see just how fast that boot is.]]></description>
			<content:encoded><![CDATA[<p>Inspired by a meme making it&#8217;s rounds on <a href="http://planet.ubuntu.com/" target="_blank">Planet Ubuntu</a> and elsewhere on the interwebs, I decided to profile my boot. For several weeks now I have been running the development version of Ubuntu 9.04, and reporting the occasional bug. So far everything has been very stable.</p>
<p>I have 9.04 installed on my Inspiron 1420, using the ext4 filesystem (also quite stable in my experience), with noatime set in /etc/fstab. My CPU is an Intel Core 2 Duo clocked at 1.5 GHz, 4GB of ram and a very average 80GB SATA hard drive.</p>
<p>Profiling a boot with bootchart was as simple as &#8220;sudo apt-get install bootchart&#8221;. With that done, I just rebooted my machine. Once I was back up, there was a .png file in /var/log/bootchart containing the details of my boot process.</p>
<p><strong>Boot time == 20.27 seconds!</strong></p>
<p>And now for the gory details&#8230;</p>
<p><a href="http://crashsystems.net/wp-content/uploads/2009/03/bootchart.png"><img class="aligncenter size-full wp-image-214" title="bootchart" src="http://crashsystems.net/wp-content/uploads/2009/03/bootchart.png" alt="bootchart" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2009/03/boot-performance-in-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keryx Tutorial: Bringing Updates Home</title>
		<link>http://crashsystems.net/2009/01/keryx-tutorial/</link>
		<comments>http://crashsystems.net/2009/01/keryx-tutorial/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 21:34:18 +0000</pubDate>
		<dc:creator>Douglass Clem</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[keryx]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://crashsystems.net/?p=125</guid>
		<description><![CDATA[Update 20/2/09: Keryx 0.92 has been released, with several new features and a few important bug fixes. If you are using the previous version, please upgrade now. Check out the release notes for a list of what has changed. For a screenshot walk-through of the changes, check out this blog post. Translations / Tutorials In [...]]]></description>
			<content:encoded><![CDATA[<p><em>Update 20/2/09: Keryx 0.92 has been released, with several new features and a few important bug fixes. If you are using the previous version, please upgrade now. Check out the <a href="http://keryxproject.org/forum/index.php/topic,43.msg253.html" target="_blank">release notes</a> for a list of what has changed. For a screenshot walk-through of the changes, check out <a href="http://excid3.betaserver.org/2009/02/20/keryx-092-release/" target="_blank">this blog post</a>.</em></p>
<p><em>Translations / Tutorials In Other Languages:<br />
</em></p>
<ul>
<li><em> </em><em><a href="http://keryxproject.org/wiki/index.php?title=Tutorial_de_Keryx" target="_blank">Espanol</a></em></li>
<li><em><a href="http://ovroniil.wordpress.com/2010/06/10/%E0%A6%85%E0%A6%AB%E0%A6%B2%E0%A6%BE%E0%A6%87%E0%A6%A8%E0%A7%87-%E0%A6%95%E0%A7%87%E0%A6%B0%E0%A6%BE%E0%A6%87%E0%A6%95%E0%A7%8D%E0%A6%B8-keryx-%E0%A6%A6%E0%A6%BF%E0%A7%9F%E0%A7%87-%E0%A6%B8%E0%A6%AB/" target="_blank">Bengali</a></em></li>
</ul>
<p>Though in most North American cities one cannot find a spot <em>without</em> at least a weak WiFi signal, many of us Linux geeks still live in rural areas with less Internet connectivity. Also, in various non-Westernized nations, there is a growing number of Linux users who may have a computer at home, but cannot afford a decent connection. For both groups, software updates typically demand an Internet connection, which can make updating difficult if not impossible. There is now a solution though, a new program called Keryx.</p>
<p><a href="http://keryxproject.org/" target="_blank">Keryx</a> was written by Southern Illinois University computer science student <a href="http://excid3.betaserver.org/" target="_blank">Chris Oliver</a>, who wanted a way  to download software and updates for Ubuntu systems that had little or no connectivity. Simply put Keryx on your pen drive, use it to create a new project file which retains a copy of your software sources and other system details, then take the pen drive to a computer with a better connection. Via it&#8217;s Synaptic like interface, users can then select all updates for download, plus select any other software they may want to install, complete with dependency resolution.</p>
<p>Because it is written in Python, and utilizes wxWidgets for it&#8217;s interface, Keryx can run on Linux, OSX and Windows. Pre-compiled binaries for Windows are included in the download (meaning you don&#8217;t need to install Python and wxWidgets first), and similar binaries for OSX and Linux are in the development road-map, along with Debian/Ubuntu packages.</p>
<h1><a name="using-keryx"></a><a href="#using-keryx">.</a></h1>
<p>This tutorial will walk you through the simple process of using Keryx to get updates and new software. Keryx currently only works for Debian based distros, but there are plans for adding support for a number of other package management systems. The system being updated is running Ubuntu 8.10, with no network connectivity. The system that will be grabbing the updates is running Windows XP, though it could just as easily be Windows 95 through Vista, OSX, or another Linux box.</p>
<h2><a name="download-keryx"></a><a href="#download-keryx">.</a></h2>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-1.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-1.png" alt="Extract the zip file" width="55" height="100" /></a><br />
Go to the <a href="http://keryxproject.org/" target="_blank">Keryx</a> website and click the <a href="http://keryxproject.org/download/keryx_0.92.3.zip" target="_blank">download</a> link. Once the download is complete, put it on a USB pen drive that has a decent amount of free space, and unzip it.</p>
<h2><a name="create-a-project"></a><a href="#create-a-project">.</a></h2>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-cli-new.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-cli-new.png" alt="Starting a project from the CLI" width="100" height="55" /></a><br />
Keryx uses wxWidgets for it&#8217;s graphical interface, and a default Ubuntu install does not have wxWidgets installed. Therefore you must create your project file in a terminal window. Fear not, as it is really quite quick and painless.</p>
<p>Simply open up your terminal, and then navigate into the &#8220;linux&#8221; directory inside the Keryx folder. On my computer this was &#8220;/media/disk/keryx/linux&#8221; but it will look a little different for you, depending upon what your pen drive is called. Once you are in that directory, enter in the following, making sure to replace &lt;project&gt; for whatever you want to call your project and &lt;plugin&gt; for they type of system you are updating, in this case debian.</p>
<blockquote><p>python keryx.py &#8211;create &lt;project&gt; &lt;plugin&gt;</p>
<p>note: the above is <em>two dashes</em>, but my font makes it look like one.</p></blockquote>
<p>In a few moments the project will be made. When this happens, close out of the terminal and safely remove your pen drive, to take to another computer.</p>
<p><em>Note: For some people, Keryx may experience difficulty fetching the package list files in the next step, if their repository mirror is set to the regional default. If you experience this, consider selecting a different mirror in System/Administration/Software_Sources and then repeating step #2.</em></p>
<h2><a name="opening-keryx"></a><a href="#opening-keryx">.</a></h2>
<p>In this tutorial I am using a computer running Windows XP as the computer with a high speed connection. However, this could just as easily be done on any Linux or OSX computer, so long as they both had Python and wxWidgets installed.</p>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-3.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-3.png" alt="The Keryx main window" width="100" height="75" /></a><br />
On your Windows computer, plug in the pen drive and open up the Keryx folder. In this folder you will see a &#8220;win32&#8243; folder containing prepackaged binaries for Keryx. Using these you can run Keryx without having to first install Python and wxWidgets, making Keryx a very portable application. The file you need to run is called &#8220;keryx.exe,&#8221; though Windows may hide the .exe part from you. When Keryx opens, click &#8220;Open Project&#8221; and find the project file you created a few minutes ago.</p>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-4.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-4.png" alt="Downloading package lists" width="100" height="75" /></a><br />
When you open Keryx, go ahead and let it download the latest package list.</p>
<h2><a name="download-updates"></a><a href="#download-updates">.</a></h2>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-5.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-5.png" alt="The package list" width="100" height="75" /></a><br />
Once the package lists have been downloaded, you&#8217;ll see the full Synaptic-like package list in Keryx. This list can be sorted by package name, status (not installed, installed, needs updating, etc.), etc. The first thing you&#8217;ll want to do is click &#8220;Get Updates&#8221; near the top of the window.</p>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-6.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-6.png" alt="Snarfing 210 updates..." width="100" height="75" /></a><br />
When I started the download, Keryx had 210 files to download. Your number will vary, but you are likely to have a lot of updates if you have a fresh install. Keryx will tell you when it is finished, so you might want to go get some coffee.</p>
<h2><a name="download-wxwidgets"></a><a href="#download-wxwidgets">.</a></h2>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-7.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-7.png" alt="Searching for a package" width="100" height="75" /></a><br />
You probably want to be able to install wxWidgets on your Ubuntu system, so that you can run the Keryx graphical interface on it. Near the top of the window, start typing &#8220;wxversion&#8221; in the search field. Because the Keryx package search tool is so amazingly fast, you&#8217;ll only need to type the first few letters before you see python-wxversion. Right-click this package and then click download. It has several dependencies that Keryx will tell you about, so go ahead and let the program download those as well.</p>
<h2><a name="install-packages"></a><a href="#install-packages">.</a></h2>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-8.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-8.png" alt="Installing updates via dpkg" width="125" height="65" /></a><br />
With all your packages downloaded, close Keryx, safely remove your pen drive, and go back to your Ubuntu machine. When you plug the pen drive back into your Ubuntu machine, you&#8217;ll notice that the package are stored in projects/&lt;project&gt;/packages (where &lt;project&gt; is the name you gave the project). You&#8217;ll need to open up your terminal again, and navigate to this directory. Once there, run the following:</p>
<blockquote><p>sudo dpkg -i &#8211;force-depends *.deb</p></blockquote>
<p><a class="thickbox" href="http://crashsystems.net/wp-content/uploads/2009/01/keryx-9.png"><img class="ngg-singlepic ngg-right alignright" src="http://crashsystems.net/wp-content/uploads/2009/01/keryx-9.png" alt="Running updates" width="100" height="75" /></a><br />
This line will install and/or update all the packages in that directory. The &#8220;force-depends&#8221; parameter is necessary in this case, as we are installing the wxWidgets packages, which have a circular dependency. Without this parameter, dpkg will start whining at you. If you have as many packages as I had, this may take a while. Go refill your coffee, and by the time you get back, the install might be done. Thats all there is to it!</p>
<h1><a name="keryx-next-steps"></a><a href="#keryx-next-steps">.</a></h1>
<p>Despite already being a rather useful tool, there are a lot of enhancements planed for the near future with Keryx. Most of it&#8217;s features, including it&#8217;s package management support, are implemented via a very flexible plugin infrastructure. So if you are a Python hacker and would like to help implement some of the new features, or have some ideas of your own, feel free to check out the code and dive in!</p>
<p>If you run into any problems using Keryx, or would like to report a bug, check out the <a href="http://keryxproject.org/forum" target="_blank">friendly forums</a>.</p>
<h2><a name="upcoming-features"></a><a href="#upcoming-features">.</a></h2>
<ul>
<li>Support for more distributions, such as Fedora, Red Hat, Mandriva et al.</li>
<li>Package management like support for downloading and installing useful Open Source Windows software.</li>
<li>Built-in installation of downloaded packages, so the user need not mess with the CLI</li>
<li>Pre-compiled self contained binaries for Linux and OSX (like what already exists in the win32 folder), so that no matter what OS a user is running, they will be able to simply plug in their USB drive and run the graphical interface.</li>
<li>Improved documentation</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://crashsystems.net/2009/01/keryx-tutorial/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
	</channel>
</rss>
