<?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>Colin Harrington &#187; Ubuntu</title>
	<atom:link href="http://colinharrington.net/blog/category/linux/ubuntu-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://colinharrington.net/blog</link>
	<description>Technologist, Consultant, Software Engineer, Entrepreneur and Musician</description>
	<lastBuildDate>Fri, 17 Feb 2012 18:17:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SSH without passwords (Public/Private Keys)</title>
		<link>http://colinharrington.net/blog/2011/10/ssh-without-passwords-publicprivate-keys/</link>
		<comments>http://colinharrington.net/blog/2011/10/ssh-without-passwords-publicprivate-keys/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 01:46:57 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[pki]]></category>
		<category><![CDATA[public private keys]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=250</guid>
		<description><![CDATA[Public/Private Key Cryptography isn&#8217;t exactly new stuff in the world of Computing. It makes our world go round. It is the basis for secure communication in today&#8217;s world. HTTPS, SSL, TLS, SSH are all cryptographic protocols that use Public/Private key infrastructures. Without these protocols, we would think twice about using credit card, banking or any [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://dl.dropbox.com/u/129843/opi/System-lock-screen.png" style="float: right; margin: 5px 0 5px 10px;" alt="Secure" title="security"><a href="http://en.wikipedia.org/wiki/Public-key_cryptography"> Public/Private Key Cryptography</a> isn&#8217;t exactly new stuff in the world of Computing.  It makes our world go round.  It is the basis for secure communication in today&#8217;s world. HTTPS, SSL, TLS, SSH are all <a href="http://en.wikipedia.org/wiki/Cryptographic_protocol ">cryptographic protocols</a> that use Public/Private key infrastructures.  Without these protocols, we would think twice about using credit card, banking or any other sensitive information on the Internet.</p>
<p>We all know that passwords aren&#8217;t very secure.  If you choose a password that is easy to remember then its easier to guess via brute force.  If you choose a password that is random or hard to remember then you are more likely to write it down.  Any well-versed digital community member already has many username/password credentials to remember so we are less likely to remember extremely difficult random passwords.  This is the password paradox, which leads me to look into managing access via public/private key pairs instead.</p>
<h2>Generate a public/private key pair (if you don&#8217;t have one already)</h2>
<p><a href="https://github.com/">Github</a> has an <a href="http://help.github.com/linux-set-up-git/#_set_up_ssh_keys">excellent tutorial with good illustrations</a> on how to generate ssh keys with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&amp;sektion=1">ssh-keygen</a>, but here is an overview:</p>
<ul>
<li><em><strong>*Backup your existing keys*</strong></em> &#8212; if they exists so that you don&#8217;t overwrite them.</li>
<li>generate a new key with ssh-keygen</li>
</ul>
<p><em>Definitely setup a passphrase!</em> &#8211; Its like a password for your private key.  The passphrase is a second line of defence if anyone were to acquire your private key.</p>
<p>The <code>.pub</code> is your public key, you can safely share this anywhere, whereas the private key is entirely private!   <em>DO NOT</em> show anyone, don&#8217;t copy it anywhere and only securely back it up.. This is your new password and large liability if it fell into the wrong hands.</p>
<p>Example:<br />
<script src="https://gist.github.com/890007.js?file=gistfile1.txt"></script> Some folks like to generate and manage keypairs for each location, or at least manage certain levels of keys, but I&#8217;m not going to dive into that topic.</p>
<h2>Configure the Server (if needed)</h2>
<p>Make sure that the server has Public key authentication enabled (most do). for <a href="http://www.openssh.com/">OpenSSH</a> it would be the following in the <code>sshd_config</code>:</p>
<p style="padding-left: 30px;"><code>RSAAuthentication yes<br />
PubkeyAuthentication yes<br />
AuthorizedKeysFile	.ssh/authorized_keys</code></p>
<p>Then all you have to do is:</p>
<ul>
<li> Put your public key (the one ending in <code>.pub</code>) as a line in the <code>~/.ssh/authorized_keys</code> file (create it if it doesn&#8217;t exist)</li>
<li> Restart your SSH server</li>
<li> Log in without being prompted for a password</li>
</ul>
<p>This is really handy for managing servers especially on <a href="http://aws.amazon.com/ec2/">Amazon&#8217;s EC2</a>, local access between machines, <a href="http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol">SFTP</a>, SSH tunneling, or even getting access to a jailbroken iPhone or any other device with <a href="http://www.openssh.com/">OpenSSH</a> installed on it.</p>
<p>The guys over at <a href="http://www.debian-administration.org">debian-administrator.org</a> wrote a good guide to <a href="http://www.debian-administration.org/articles/152 ">Password-less logins with OpenSSH</a> that is worth looking into if you have issues or want to dive deeper.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">Passwords aren’t very secure, you already know this. If you use one  that’s easy to remember, it’s easier to guess or brute-force (try many  options until one works). If you use one that’s random it’s hard to  remember, and thus you’re more inclined to write the password down. Both  of these are Very Bad Things™. This is why you’re using ssh keys.</div>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2011/10/ssh-without-passwords-publicprivate-keys/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Arduino + Ubuntu 10.10 Maverick Meerkat :: no rxtxSerial in java.library.path</title>
		<link>http://colinharrington.net/blog/2010/11/arduino-ubuntu-10-10-maverick-meerkat-no-rxtxserial/</link>
		<comments>http://colinharrington.net/blog/2010/11/arduino-ubuntu-10-10-maverick-meerkat-no-rxtxserial/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 07:13:43 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=186</guid>
		<description><![CDATA[I&#8217;m just getting into the Arduino, and have an awesome project that I&#8217;m working on with some friends. I found the Arduino IDE in package manager, and went to install it sudo apt-get install arduino Or Via Synaptic: When I went to run it died with the following exception: A little googling turned up the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just getting into the <a href="http://www.arduino.cc/" target="_blank">Arduino</a>, and have an awesome project that I&#8217;m working on with <a href="http://heath-bar.com/">some</a> <a href="http://twitter.com/#!/BassmanJB2">friends</a>.</p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="Playing with a multi-color LED" src="http://www.colinharrington.net/images/multi-color-led.png" alt="Playing with a multi-color LED" width="500" height="373" /><p class="wp-caption-text">Playing with a multi-color LED</p></div>
<p>I found the Arduino IDE in package manager, and went to install it<br />
<code>sudo apt-get install arduino</code></p>
<p style="text-align: left;">Or Via Synaptic:<img class="aligncenter" title="Arduino via Synaptic" src="http://www.colinharrington.net/images/arduino-synaptic.png" alt="Arduino via Synaptic" width="464" height="76" /></p>
<p>When I went to run it died with the following exception:<br />
<script src="https://gist.github.com/706195.js?file=Arduino%20Error"></script></p>
<p>A little googling turned up the <a href="https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/664309">this bug</a>.  It basically describes that there is an issue with Ubuntu 10.10 + sun-java not including the jni directory in the classpath.  There are several solutions, but basically <a href="https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/664309/comments/7">this comment</a> sums it up the best:</p>
<blockquote><p>1) don&#8217;t use sun-java but default-jre instead. This bug is actually a known bug in sun-java. (<a href="https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/325506">bug #325506</a>)<br />
2) add export LD_LIBRARY_PATH=/usr/lib/jni to your .bashrc, the .deskop file (in /usr/share/desktop), or on the command line before starting arduino<br />
3) add the new package (instructions are above).</p></blockquote>
<p>I opted for #2 so far&#8230;Â  The idea flow for potential projects are unending.Â  I should try some CI build Lights/lamps next <img src='http://colinharrington.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2010/11/arduino-ubuntu-10-10-maverick-meerkat-no-rxtxserial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hulu Desktop for Linux! 32 &amp; 64bit versions for Ubuntu &amp; Fedora</title>
		<link>http://colinharrington.net/blog/2009/10/hulu-desktop-for-linux/</link>
		<comments>http://colinharrington.net/blog/2009/10/hulu-desktop-for-linux/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 04:44:31 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Streaming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[Hulu]]></category>
		<category><![CDATA[Hulu-Desktop]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=116</guid>
		<description><![CDATA[Hulu Desktop (currently Beta) is now available on Linux!&#160; A&#160;friend tipped me off to an article on TechCrunch about it.&#160; Downloading it and setting it up was pretty easy.&#160; I went to Hulu Desktop and selected download for linux.&#160; From there It gave me choices for Fedora and Ubuntu (both 32 &#38; 64bit versions!)&#160; Since [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http:// http://www.hulu.com/labs/hulu-desktop">Hulu Desktop</a> (currently Beta) is now available on Linux!&nbsp; A&nbsp;friend tipped me off to an <a href="http://www.techcrunch.com/2009/10/08/hulu-labs-cooks-up-linux-support-for-hulu-desktop-new-publisher-tools/">article on TechCrunch</a> about it.&nbsp;</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/hulu-desktop-linux-heroes1-1920x1200.png"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/hulu-desktop-linux-heroes1.png" alt="Wohoo Hulu Desktop on Linux" /></a></p>
<p>Downloading it and setting it up was pretty easy.&nbsp; I went to <a href="http://www.hulu.com/labs/hulu-desktop">Hulu Desktop</a> and selected <a href="http:// http://www.hulu.com/labs/hulu-desktop-linux">download for linux</a>.&nbsp; From there It gave me choices for Fedora and Ubuntu (both 32 &amp; 64bit versions!)&nbsp; Since I&nbsp;run Ubuntu I downloaded and installed the deb &#8211; easy enough.</p>
<p>When you first launch it it asks you to accept the EULA.</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/hulu-desktop-linux-eula.png"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/hulu-desktop-linux-eula-512.png" alt="Eula" /></a></p>
<p>The first time I launched Hulu Desktop I&nbsp;got an error, that &quot;<em>Hulu Desktop could not locate the Flash plugin.&nbsp; If you do not have it installed, please modify ~/.huludesktop with the correct location of libflashplayer.so.</em>&quot; (remember the beta sticker?)</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" alt="Hulu Desktop error : Flash Plugin" src="http://www.colinharrington.net/images/hulu-desktop-linux-flashplugin-error.png" /></p>
<p>I had to edit the <code>~/.huludesktop</code> file to use the wrapped version of the Flash plugin <code>/var/lib/flashplugin-installer/npwrapper.libflashplayer.so</code> and it worked like a charm!</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" alt=".huludesktop" src="http://www.colinharrington.net/images/hulu-desktop-linux-.huludesktop.png" /></p>
<p>Playback worked great, probably better than the in-browser experience.&nbsp; The interface is slick, better than the web-interface and more along the lines of Boxee.&nbsp; Fullscreen worked well for me.</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/hulu-desktop-linux-screenshot-heroes-1024.png"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/hulu-desktop-linux-screenshot-heroes-512.png" alt="Hulu Desktop -&gt; Heroes menu" /></a></p>
<p>Props to Hulu for providing a Linux version.&nbsp; The Linux desktop is a first class citizen.&nbsp; Skype has a <a href="http://www.skype.com/download/skype/linux/choose/">Beta version</a> that rocks on Linux.&nbsp; <a href="http://dev.chromium.org/getting-involved/dev-channel">Google Chrome</a>, Firefox, etc. Who is next? Adobe?&nbsp; CS5?&nbsp; I&#8217;d pay for Adobe CS5 on Linux.</p>
<p>So far its been pretty good stuff for Beta Software!&nbsp; I&#8217;ll definitely be using Hulu more now.&nbsp;</p>
<p>Here is a shot of the opening screen:</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/hulu-desktop-linux-openingscreen-1920x1200.png"><img vspace="4" hspace="4" border="0" alt="Opening Image" src="http://www.colinharrington.net/images/hulu-desktop-linux-openingscreen-512.png" /></a></p>
<p>And another of the Menu (while watching media):</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/hulu-desktop-linux-popular-menu-1024.png"><img vspace="4" hspace="4" border="0" alt="Popular menu" src="http://www.colinharrington.net/images/hulu-desktop-linux-popular-menu-512.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2009/10/hulu-desktop-for-linux/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Grails Growl-like notifications in Linux (Ubuntu, 9.04)</title>
		<link>http://colinharrington.net/blog/2009/05/grails-growl-like-notifications-in-linux-ubuntu-904/</link>
		<comments>http://colinharrington.net/blog/2009/05/grails-growl-like-notifications-in-linux-ubuntu-904/#comments</comments>
		<pubDate>Sun, 24 May 2009 22:30:12 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Groovy-Grails]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Growl]]></category>
		<category><![CDATA[Jaunty]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=86</guid>
		<description><![CDATA[When I was developing on OSX, a fellow developer&#160;Ted Naleid tipped me off to a script that does Growl notifications for Grails events that Marc Palmer had written.&#160;&#160; The Growl notifications were handy, but now that I&#8217;ve been working on Linux, I&#8217;ve definitely missed them. I first used a tool called Mumbles, which attempted to [...]]]></description>
			<content:encoded><![CDATA[<p>When I was developing on OSX, a fellow developer&nbsp;<a href="http://naleid.com/blog/">Ted Naleid</a> tipped me off to a script that does <a href="http://www.anyware.co.uk/2005/2007/06/08/some-grails-055-script-enhancements/">Growl notifications for Grails events</a> that Marc Palmer had written.&nbsp;&nbsp; The Growl notifications were handy, but now that I&#8217;ve been working on Linux, I&#8217;ve definitely missed them.</p>
<p>I first used a tool called <a href="http://www.mumbles-project.org/">Mumbles</a>, which attempted to be a clone of <a href="http://growl.info/">Growl</a>, but I later realized that the built in notification system is probably the way to go.&nbsp; After I learned of Ubuntu 9.04 (Jaunty Jackalope) had some major visualization enhancements to the notifications, I thought that it was definitely the way to go.&nbsp;</p>
<p style="text-align: left;">This is what I currently have with Ubuntu 9.04:</p>
<p style="text-align: center;">
<img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/jaunty-grails-plugins.png" alt="Jaunty Grails notification Plugins" /></p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/jaunty-grails-final.png" alt="Jaunty Grails notification final" /></p>
<p style="text-align: left;">Implementing this is very simple, you simply create an <code>_Events.groovy</code> file in your <code>~/.grails/scripts</code>&nbsp; directory (create it if it doesn&#8217;t exist) with the following contents (modified from the Growl Script):</p>
<p style="text-align: left;"><code>eventStatusFinal = { msg -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Final status', msg)<br />
}<br />
eventStatusUpdate = { msg -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Status', msg)<br />
} <br />
eventCreatedFile = { fileName -&gt;<br />
&nbsp;&nbsp;&nbsp; //libNotify('Created file', fileName)<br />
}<br />
eventStatusError = { message -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Error', message)<br />
}<br />
eventExiting = { code -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Exit', &quot;Return code $code&quot;)<br />
}<br />
eventCreatedArtefact = { type, file -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Created artefct', &quot;$type with name $file&quot;)<br />
}<br />
eventCompileStart = { kind -&gt;<br />
&nbsp;&nbsp;&nbsp; //libNotify('Compiling', &quot;Compiling $kind&quot;)<br />
}<br />
eventCompileEnd = { kind -&gt;<br />
&nbsp;&nbsp;&nbsp; //libNotify('Compilation complete', &quot;Compiled $kind&quot;)<br />
}<br />
eventPluginInstalled = { pluginName -&gt;<br />
&nbsp;&nbsp;&nbsp; libNotify('Plugin installed', pluginName)<br />
}<br />
// Do the notification<br />
void libNotify(title, message) {<br />
&nbsp;&nbsp;&nbsp; def cmd = [<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'notify-send',<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; title,<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message,<br />
&nbsp;&nbsp;&nbsp; '-i',<br />
&nbsp;&nbsp;&nbsp; 'grails'<br />
&nbsp;&nbsp;&nbsp; ]<br />
&nbsp;&nbsp;&nbsp; cmd.execute()<br />
}</code></p>
<p>It is simply using Groovy to execute &quot;<code>notify-send $title $message -i grails</code>&quot;.&nbsp;&nbsp; if you don&#8217;t have <code>notify-send</code>, it is part of libnotify so <code>sudo apt-get install libnotify-bin</code> will get you what you need.&nbsp; If I get some time I&#8217;d like to find a way to take advantage of a <a href="http://dbus.freedesktop.org/doc/dbus-java/">Java Dbus implementation</a> to talk to the notification system without having to go through libnotify.</p>
<p>If you want mumbles notifications just do something like this:</p>
<p><code>void mumblesNotify(title, message) {<br />
&nbsp;&nbsp;&nbsp; def cmd = [<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;mumbles-send&quot;,<br />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;-l&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; title,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; message<br />
&nbsp;&nbsp;&nbsp; ]<br />
&nbsp;&nbsp;&nbsp; cmd.execute()<br />
}</code></p>
<p>Occasionally I&#8217;ll get a failure that there are too many files open (using .execute() in Groovy) and that should be cleared up by using a Java implementation of the DBus notifications.</p>
<p>Let me know what you think.&nbsp; Anything that could be done better?</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2009/05/grails-growl-like-notifications-in-linux-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Customizing rEFIt (an EFI Bootloader &#8211; Intel Macs) Slick!</title>
		<link>http://colinharrington.net/blog/2009/05/customizing-refit-an-efi-bootloader-intel-macs-slick/</link>
		<comments>http://colinharrington.net/blog/2009/05/customizing-refit-an-efi-bootloader-intel-macs-slick/#comments</comments>
		<pubDate>Tue, 05 May 2009 21:07:57 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[rEFIt]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=62</guid>
		<description><![CDATA[I recently installed Ubuntu 9.04(Jaunty Jackalope) on a 17&#34; Macbook pro and as a part of that process, I had to install a bootloader called rEFIt.&#160; You could think of EFI&#160;is just a next-gen BIOS. Even though the bootloader looks decent, I don&#8217;t like the look of silver/grey color, so I decided to customize it. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed <a href="http://ubuntu.com">Ubuntu 9.04</a>(<a href="http://en.wikipedia.org/wiki/History_of_Ubuntu#Ubuntu_9.04_.28Jaunty_Jackalope.29">Jaunty Jackalope</a>) on a 17&quot; Macbook pro and as a part of that process, I had to install a bootloader called <a href="http://refit.sourceforge.net/">rEFIt</a>.&nbsp; You could think of <a href="http://en.wikipedia.org/wiki/Extensible_Firmware_Interface">EFI</a>&nbsp;is just a next-gen <a href="http://en.wikipedia.org/wiki/BIOS">BIOS</a>.</p>
<p>Even though the bootloader looks decent, I don&#8217;t like the look of <a href="http://refit.sourceforge.net/screen.html">silver/grey</a> color, so I decided to customize it. &nbsp;The process to customize rEFIt was relatively straight forward and the result is beautiful.</p>
<p>This is what I came up with:</p>
<p style="text-align: center;"><a target="_blank" href="http://www.colinharrington.net/images/refit-screen.png"><img vspace="4" hspace="4" border="0" alt="background" src="http://www.colinharrington.net/images/refit-2-icons-500px.png" style="border: 1px solid rgb(255, 255, 255);" /></a></p>
<p>This is what it looks like with a Windows Partition:</p>
<p style="text-align: center;"><a target="_blank" href="http://www.colinharrington.net/images/refit-3-icons-1920x1200.png"><img vspace="4" hspace="4" border="0" alt="boot screen with 3 icons" src="http://www.colinharrington.net/images/refit-screen-500px.png" style="border: 1px solid rgb(255, 255, 255);" /></a></p>
<p>I love the simplicity of it!!</p>
<p>Here is a closeup of the icons / OS&nbsp;Choices:</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" alt="" src="http://www.colinharrington.net/images/refit-choices.png" /></p>
<p>&nbsp;</p>
<p>I don&#8217;t really know where the icons came from, but they look tasty <img src='http://colinharrington.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  &nbsp;On Linux there is a <a href="http://icns.sourceforge.net/">decent package</a> for working with mac icons (.icns) or <code><strong>sudo apt-get install icnsutils</strong></code>&nbsp; which will get you some useful tools (png2icns and icns2png)</p>
<p>I did have to make a few modifications to the Tux icon [<a href="http://www.colinharrington.net/images/os_linux.icns">os_linux.icns</a>] to give him a &#8216;glow&#8217; so that he doesn&#8217;t fade into the black on black:</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/os_linux.png" alt="Tux Crystal Modified by Colin" /></p>
<p style="text-align: left;">This windows Icon [<a href="http://www.colinharrington.net/images/os_win.icns">os_win.icns</a>] is the stock version I think (send me a link to the author if you know):</p>
<p style="text-align: center;">&nbsp;<img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/os_win.png" alt="" /></p>
<p style="text-align: left;">I did add a slight &#8216;glow&#8217; to the apple icon [<a href="http://www.colinharrington.net/images/os_mac.icns">os_mac.icns</a>] (send me a link to the author if you know):</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/os_mac.png" alt="" /></p>
<p>I tried a number of custom &#8216;selected&#8217; themes but gradients didn&#8217;t look right, so I went with the simple plan.&nbsp; The selection bitmap can be found <a href="http://www.colinharrington.net/images/refit-background-ring.bmp">here</a>:</p>
<p style="text-align: center;"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/refit-background-ring.bmp" alt="selection_big.bmp" /></p>
<p>&nbsp;</p>
<p>the process is simple once rEFIt is installed:&nbsp; modify the refit.conf with the icons in place, and you are done!</p>
<p>Here is what I came up with for my refit.conf (comments removed):</p>
<p><code>timeout 5<br />
banner hostname.bmp<br />
selection_big&nbsp;&nbsp; selection-big-ring.bmp<br />
hideui tools shell funcs hdbadges label<br />
legacyfirst</code></p>
<p>The original comments in the refit.conf file are helpful!&nbsp; Its straight forward if you can read <img src='http://colinharrington.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<ul>
<li>timeout = the number of seconds before it automatically chooses for you</li>
<li>banner = the bitmap of the upper part of the screen (top left pixel = background color)</li>
<li>selection_big = the grey &#8216;ring&#8217; that indicated the selection</li>
<li>hideui = Hide elements of rEFIt so we can get a clean interface</li>
<li>legacyfirst = Legacy OS first (Linux)</li>
</ul>
<p>Use at your own risk!!</p>
<p>If I had the time, it would be fun to build/enhance rEFIt to have an all-black fill instead of the grey/silver.</p>
<p>I&#8217;ve had a good experience with Ubuntu 9.04 on a 17&quot;&nbsp;Macbook Pro, and I&#8217;ll Blog about it &#8211; and see what I can do to help update the documentation &#8211; look for an upcoming post.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2009/05/customizing-refit-an-efi-bootloader-intel-macs-slick/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Ubuntu Logo</title>
		<link>http://colinharrington.net/blog/2009/05/ubuntu-logo/</link>
		<comments>http://colinharrington.net/blog/2009/05/ubuntu-logo/#comments</comments>
		<pubDate>Mon, 04 May 2009 05:17:45 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[rEFIt]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/?p=57</guid>
		<description><![CDATA[I&#160;spent a little bit of time customizing rEFIt, which is an EFI&#160;Bootloader that&#160; can be used on intel macs.&#160; So far I like it.&#160; Its not 100% feature complete (imho), but its open source &#160; I&#160;found myself looking for a good logo for Ubuntu that it shows after you make your OS&#160;Choice in rEFIt.&#160; There [...]]]></description>
			<content:encoded><![CDATA[<p>I&nbsp;spent a little bit of time customizing <a href="http://refit.sourceforge.net/">rEFIt</a>, which is an <a href="http://en.wikipedia.org/wiki/Extensible_Firmware_Interface">EFI</a>&nbsp;Bootloader that&nbsp; can be used on intel macs.&nbsp; So far I like it.&nbsp; Its not 100% feature complete (imho), but its open source <img src='http://colinharrington.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> &nbsp; </p>
<p>I&nbsp;found myself looking for a good logo for Ubuntu that it shows after you make your OS&nbsp;Choice in rEFIt.&nbsp; There was plenty of good artwork on <a href="http://deviantart.com">deviantart.com</a>, but I decided to make my own <img src='http://colinharrington.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>So this is what I&nbsp;came up with based on one of the <a href="https://wiki.ubuntu.com/Artwork/Official">official logos</a>:</p>
<p style="text-align: center;"><a href="http://www.colinharrington.net/images/ubuntu-logo-transparent-shine.png" target="_blank"><img vspace="4" hspace="4" border="0" src="http://www.colinharrington.net/images/ubuntu-logo-transparent-shiney-128.png" alt="Ubuntu Logo" /></a></p>
<p style="text-align: left;"><a href="http://www.colinharrington.net/images/ubuntu-logo-transparent-shine.png">Click to enlarge (668&#215;668)</a></p>
<p style="text-align: left;">ps, I&nbsp;also have a post coming on customizing rEFIt (it looks juicy)</p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2009/05/ubuntu-logo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Customizing the Gnome Clock Panel (Ubuntu 8.10)</title>
		<link>http://colinharrington.net/blog/2008/12/customizing-the-gnome-clock-panel-ubuntu-810/</link>
		<comments>http://colinharrington.net/blog/2008/12/customizing-the-gnome-clock-panel-ubuntu-810/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 21:42:00 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gconf-editor]]></category>
		<category><![CDATA[Gnome]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/index.php/2008/12/18/customizing-the-gnome-clock-panel-ubuntu-810/</guid>
		<description><![CDATA[One of the incredible benefits of running an open source operating system is the fact that you can customize just about everything. I ran across a posting on Lifehacker about how to Customize your Linux Panel Clock.&#160; The Lifehacker article referenced another article that gives an example of how to customize it with some simple [...]]]></description>
			<content:encoded><![CDATA[<p><img hspace="4" align="right" vspace="4" src="http://www.colinharrington.net/images/ubuntu-feeblemind.tuxfamily.org.png" alt="Ubuntu" />One of the incredible benefits of running an open source operating system is the fact that you can customize just about everything.</p>
<p>I ran across a posting on Lifehacker about how to <a href="http://lifehacker.com/5113092/customize-your-linux-panel-clock">Customize your Linux Panel Clock</a>.&nbsp; The Lifehacker article referenced <a href="http://tips4linux.com/custom-clock-in-gnome/">another article</a> that gives an example of how to customize it with some simple HTML tags and <a href="http://php.net/strftime">pretty standard time formatter values</a>.&nbsp; The article isn&#8217;t exact for Ubuntu 8.10, but its there if you <a href="http://snuxoll.com/post/2008/11/16/custom-time-format-gnome-panel-clock">look for it</a> (<a href="http://ubuntuforums.org/showthread.php?t=780676"><b>/apps/panel/applets/clock_screen0/prefs</b></a>)&nbsp; I wasn&#8217;t able to get it to do the span tags in Ubuntu 8.10, but it might be more flexible in the near future <a href="http://pijulius.blogspot.com/2006/05/gnome-panel-clock-applet-with-markup.html">according to this post</a>.</p>
<p>* Note to self, play around with <a href="http://en.wikipedia.org/wiki/Gconf-editor">gconf-editor</a> some more&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2008/12/customizing-the-gnome-clock-panel-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy Ubuntu Upgrade :: Hardy Heron Hits Home! Hurray!!</title>
		<link>http://colinharrington.net/blog/2008/07/easy-ubuntu-upgrade-hardy-heron-hits-home-hurray/</link>
		<comments>http://colinharrington.net/blog/2008/07/easy-ubuntu-upgrade-hardy-heron-hits-home-hurray/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 23:14:42 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Gutsy]]></category>
		<category><![CDATA[Hardy]]></category>

		<guid isPermaLink="false">http://colinharrington.net/blog/index.php/2008/07/02/easy-ubuntu-upgrade-hardy-heron-hits-home-hurray/</guid>
		<description><![CDATA[My experience in upgrading Ubuntu Gutsy Gibbon to Hardy Heron was a fairly smooth one.&#160; It was a straight forward process, The System Updater told me that there was a distribution upgrade.&#160; I followed the assigned steps and shortly had upgraded my whole system.&#160; The status bar was horribly in-accurate, changing from 4 minutes all [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" alt="Good work!! -&gt; Credit to http://feeblemind.tuxfamily.org/dotclear/index.php/2006/05/17/64-humanity-to-others" src="http://www.colinharrington.net/images/ubuntu-feeblemind.tuxfamily.org.png" />My experience in upgrading Ubuntu Gutsy Gibbon to Hardy Heron was a fairly smooth one.&nbsp; It was a straight forward process, The System Updater told me that there was a distribution upgrade.&nbsp; I followed the assigned steps and shortly had upgraded my whole system.&nbsp; The status bar was horribly in-accurate, changing from 4 minutes all the way to 54 minutes and back again in the matter of 30 seconds, but it was nothing that I haven&#8217;t seen on other operating systems.&nbsp;</p>
<p>The Installer maintained all of my current customizations (since they are in my home directory ~/ ).&nbsp; I was surprised to see that even my Compiz settings were all exactly how I had left them.&nbsp; I was happy that the Installer asked me what to do with merge conflicts in my /etc files, (samba.conf, php.ini, apache2.conf, etc.).&nbsp; There were only a few things that I had to tidy up</p>
<ul>
<li>Configuring the Launch Size of my Terminal window (<a href="http://ubuntuforums.org/showthread.php?t=465670">Ubuntu Forums</a>)</li>
<li>blacklisting the pcspkr kernel module (by adding the line &quot;blacklist pcspkr&quot; to /etc/modprobe.d/blacklist &#8211; <a href="http://ubuntuforums.org/showthread.php?t=316427">see ubuntuforums</a> for more discussion)</li>
</ul>
<p>I can now reliably use the standby functionality.&nbsp; I have a dual Monitor setup and it works well.&nbsp;</p>
<p>Is Ubuntu ready for mom?&nbsp; no, but its definitely on the right course!&nbsp; In my opinion, ubuntu is ready for the little brother, and the wife of a geek.&nbsp; It doesn&#8217;t test the Mom test, nor the Grandma test yet.&nbsp;</p>
<p>*Update* After a few months of using Hardy Heron, I have realized that Linux is my primary OS.&nbsp; I&#8217;ve taken the jump &#8211; its working out great. I still have some things that I would like to see ironed out a bit more, but its worth much more than I paid for it!!</p>
<p>It had been a while since I re-imaged. I finally got a chance to buy a larger hard drive for my laptop.&nbsp; I was suprised on how easy it was to get NTFS rw support with linux using NTFS-3G.&nbsp; I decided a while ago to give Windows and Linux each their own partitions along with a shared Data Drive now in NTFS.</p>
<p>So the Partition Table looks like this:&nbsp;</p>
<pre class="code">
$ sudo fdisk -l /dev/sda

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2d24c9d9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        6266    50331613+   7  HPFS/NTFS
/dev/sda2            6267       15150    71360730    7  HPFS/NTFS
/dev/sda3           15151       23942    70621740   83  Linux
/dev/sda4           23943       24321     3044317+   5  Extended
/dev/sda5           23943       24321     3044286   82  Linux swap / Solaris
</pre>
<p>&nbsp;<a href="http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html">Here is a good article about setting up NTFS Support</a> in Ubuntu.&nbsp; Linux is getting better every Day.</p>
]]></content:encoded>
			<wfw:commentRss>http://colinharrington.net/blog/2008/07/easy-ubuntu-upgrade-hardy-heron-hits-home-hurray/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

