<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>dambalah &#187; Linux</title>
	<atom:link href="http://dambalah.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dambalah.com</link>
	<description>thoughts of a haitian hacker...</description>
	<lastBuildDate>Sat, 10 Mar 2012 16:53:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dambalah.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>dambalah &#187; Linux</title>
		<link>http://dambalah.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dambalah.com/osd.xml" title="dambalah" />
	<atom:link rel='hub' href='http://dambalah.com/?pushpress=hub'/>
		<item>
		<title>Using cron to treat my strained muscle</title>
		<link>http://dambalah.com/2009/06/04/using-cron-to-treat-my-strained-muscle/</link>
		<comments>http://dambalah.com/2009/06/04/using-cron-to-treat-my-strained-muscle/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:43:40 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[gnome-schedule]]></category>
		<category><![CDATA[libnotify]]></category>

		<guid isPermaLink="false">http://dambalah.com/?p=256</guid>
		<description><![CDATA[Last night, I strained my right thigh 5 minutes into a soccer game. It sucks because it was an important game and I really wanted to win. Had we won, we would have made the playoffs. But we lost and it is the end of the season for the Raiders FC. What sucks even more [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=256&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last night, I strained my right thigh 5 minutes into a soccer game. It sucks because it was an important game and I really wanted to win. Had we won, we would have made the playoffs. But we lost and it is the end of the season for the Raiders FC.</p>
<p>What sucks even more is that I have another big game on Sunday with my other team: Reds United. We are playing the one team that we need to beat to finish on top of the league. That means I have 3 days to recover from my injury. That&#8217;s not a lot so I&#8217;m trying to be as disciplined as possible in treating it.</p>
<p>Based on what I could have found on the web (Wikipedia has been my doctor for years now), I should treat it with ice. However, applying ice for more than 15 minutes is bad and you need to let the leg warm up again for at least 45 minutes before icing it again.</p>
<p>It&#8217;s easy to get lost in work and forget to re-apply the ice, or to stop icing my legs, so I&#8217;m using a combination of <a href="http://gnome-schedule.sourceforge.net/">gnome-schedule</a>, a nice little GUI for cron and <a href="http://dambalah.com/2008/11/23/ubuntu-notifications-using-libnotify-bin/">notify-send</a> to remind me to start/stop icing at the right time.</p>
<p>The GUI is super-simple to use. To install it: <strong>sudo apt-get install gnome-schedule</strong></p>
<p>Then just type <strong>gnome-schedule</strong> on the command line to get it started.</p>
<p><img class="alignnone size-full wp-image-259" title="gnome-schedule" src="http://dambalah.files.wordpress.com/2009/06/gnome-schedule1.png?w=510&h=306" alt="gnome-schedule" width="510" height="306" /></p>
<p>You see my little schedule there, I&#8217;m using libnotify-bin&#8217;s notify-send to show me &#8216;growl-like notifications&#8217; when it&#8217;s time to start or stop icing:</p>
<p><img class="alignnone size-full wp-image-260" title="start_icing" src="http://dambalah.files.wordpress.com/2009/06/start_icing.png?w=510" alt="start_icing"   /></p>
<p>I use gnome-schedule together with notify-send all the time to quickly set up reminders for myself. The point of this whole post was to show you a nice way to set reminders for yourself on a Linux box.</p>
<p>All right, gotta go. It&#8217;s time to start icing again. I really want to play on Sunday!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=256&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2009/06/04/using-cron-to-treat-my-strained-muscle/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2009/06/gnome-schedule1.png" medium="image">
			<media:title type="html">gnome-schedule</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2009/06/start_icing.png" medium="image">
			<media:title type="html">start_icing</media:title>
		</media:content>
	</item>
		<item>
		<title>Install monit from source on Ubuntu</title>
		<link>http://dambalah.com/2009/05/05/install-monit-from-source-on-ubuntu/</link>
		<comments>http://dambalah.com/2009/05/05/install-monit-from-source-on-ubuntu/#comments</comments>
		<pubDate>Tue, 05 May 2009 02:03:50 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[monit]]></category>

		<guid isPermaLink="false">http://dambalah.com/?p=241</guid>
		<description><![CDATA[The Ubuntu package for monit is way out of date on Hardy (8.04 LTS): the package is at version 4.8.1 when the latest version of monit is 5.0.1. Even the Jaunty package is only at version 4.10. There are additional features such as remote mail servers that you cannot use on 4.8.1. Another issue with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=241&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
The Ubuntu package for <a href="http://mmonit.com/monit/">monit</a> is way out of date on Hardy (8.04 LTS): the package is at version 4.8.1 when the latest version of monit is <a href="http://mmonit.com/monit/download/">5.0.1</a>. Even the <a href="http://packages.ubuntu.com/jaunty/monit">Jaunty package</a> is only at version 4.10. There are additional features such as <a href="http://mmonit.com/monit/documentation/monit.html#setting_a_mail_server_for_alert_messages">remote mail servers</a> that you cannot use on 4.8.1. Another issue with using the old monit package on Ubuntu is that it is out of sync with the <a href="http://mmonit.com/monit/documentation/monit.html">monit documentation</a>.
</p>
<p>This post will show you how you can install monit from the latest source on Ubuntu Hardy.</p>
<p>First, we&#8217;ll use a dirty trick to obtain some Ubuntu init scripts for monit: we&#8217;ll install monit using apt-get and then remove it. In the process, the monit init scripts will not be deleted and we will be able to use them with our fresh install of monit from source.</p>
<pre>sudo apt-get install monit</pre>
<p>After installing, make sure that the following files are present: <strong>/etc/init.d/monit</strong>, <strong>/etc/default/monit</strong> and <strong>/etc/monit/monitrc</strong> (that&#8217;s the whole reason why we are installing monit from the package after all. Once we&#8217;ve got that file, we can simply remove the package:</p>
<pre>sudo apt-get remove monit</pre>
<p>Cool now we have an init script and our config files. We will modify them later to work with our new monit install</p>
<p>Before downloading the monit source, let&#8217;s install a few dependencies</p>
<pre>sudo apt-get install libssl-dev bison flex</pre>
<p>Now, get the latest monit package from their <a href="http://mmonit.com/monit/download/">download page</a> and untar it:</p>
<pre>
wget http://mmonit.com/monit/dist/monit-5.0.1.tar.gz
tar xzvf monit-5.0.1.tar.gz
cd monit-5.0.1
</pre>
<p>OK. You are not ready to build and install the source</p>
<pre>./configure</pre>
<p>Watch the output and if everything went smoothly, then:</p>
<pre>
make
sudo make install
</pre>
<p>At this point you should have the latest and greatest version of monit installed. Let&#8217;s verify that:</p>
<pre>monit -V</pre>
<p>It should print:</p>
<pre>
This is monit version 5.0.1
Copyright (C) 2000-2009 by Tildeslash Ltd. All Rights Reserved.
</pre>
<p>Almost there, we just need to make a couple of small changes to the init script. Find the following lines in <strong>/etc/init.d/monit</strong> (should be way on top):</p>
<pre>
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/monit
</pre>
<p>&#8230; and replace them with:</p>
<pre>
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
DAEMON=/usr/local/bin/monit
</pre>
<p>Now open up <strong>/etc/default/monit</strong> and find <strong>startup=0</strong>. Replace that with <strong>startup=1</strong> and save the file.</p>
<p>You can now modify your config file located at <strong>/etc/monit/monitrc</strong> as you see fit. Once you are done, verify that the config file is OK:</p>
<pre>sudo monit -c /etc/monit/monitrc -t</pre>
<p>If the syntax of your file is ok, you are ready to start monit:</p>
<pre>sudo /etc/init.d/monit start</pre>
<p><strong>That&#8217;s It</strong> I hope this helped!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=241&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2009/05/05/install-monit-from-source-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu Notifications using libnotify-bin</title>
		<link>http://dambalah.com/2008/11/23/ubuntu-notifications-using-libnotify-bin/</link>
		<comments>http://dambalah.com/2008/11/23/ubuntu-notifications-using-libnotify-bin/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 09:40:45 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[libnotify]]></category>
		<category><![CDATA[libnotify-bin]]></category>

		<guid isPermaLink="false">http://dambalah.wordpress.com/?p=126</guid>
		<description><![CDATA[Did you ever need to have one of your shell script notify you of something? Do you want to learn a quick way to do this in Ubuntu? Then read this. I wrote a script that backs-up all my files to Amazon S3 using jets3t&#8216;s synchronise tool. It works very well for me. Last week, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=126&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Did you ever need to have one of your shell script notify you of something? Do you want to learn a quick way to do this in Ubuntu? Then read this.</p>
<p>I wrote a script that backs-up all my files to <a href="http://aws.amazon.com/s3/">Amazon S3</a> using <a href="https://jets3t.dev.java.net/">jets3t</a>&#8216;s synchronise tool. It works very well for me. Last week, my laptop got busted: I was upgrading to Ubuntu 8.10 and it overheated and shut down at a bad time (in the middle of the install). I couldn&#8217;t boot it after that. Luckily, I had backed up all my files to S3, so I was able to reinstall Ubuntu 8.10 from scratch and recover all my backed-up files. 3 hours later, I was up and running running Ubuntu 8.10 with all my files recovered. </p>
<p>However the point of this post is about notifications from a shell script. See, when I synchronise my files with S3 it takes some time and I would like to get alerted when everything is done backing up, so I needed a way to do that from my bash script.</p>
<p>Here is a quick way to do it on Ubuntu:</p>
<ol>
<li>Install libnotify-bin:</li>
<p><code>sudo aptitude install libnotify-bin</code></p>
<li>Learn how to use notify-send:</li>
<p><code>notify-send --help</code></p>
<li>In your scripts, just use it like this:</li>
<p><code>notify-send 'title of notification' 'body of notification'</code>
</ol>
<p>Your notification will now show up on your desktop like this:</p>
<p>
<a href="http://dambalah.files.wordpress.com/2008/11/notify-send.png"><img src="http://dambalah.files.wordpress.com/2008/11/notify-send.png?w=510" alt="notify-send" title="notify-send"   class="alignnone size-full wp-image-127" /></a>
</p>
<p>There you go, pretty simple, but very useful in your scripts.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/126/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/126/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/126/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=126&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2008/11/23/ubuntu-notifications-using-libnotify-bin/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/11/notify-send.png" medium="image">
			<media:title type="html">notify-send</media:title>
		</media:content>
	</item>
		<item>
		<title>Autotest Notifications in Ubuntu with Mumbles</title>
		<link>http://dambalah.com/2008/10/07/autotest-notifications-in-ubuntu-with-mumbles/</link>
		<comments>http://dambalah.com/2008/10/07/autotest-notifications-in-ubuntu-with-mumbles/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 23:05:43 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[autotest]]></category>

		<guid isPermaLink="false">http://dambalah.wordpress.com/?p=105</guid>
		<description><![CDATA[Autotest is a nice utility that automatically run your rails tests whenever you make a change to one of your source files. It is part of the ZenTest package from Ryan Davis. It would be nice if you could be notified of the test results without having to switch to the terminal window running AutoTest. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=105&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://www.zenspider.com/ZSS/Products/ZenTest/#rsn">Autotest</a> is a nice utility that automatically run your rails tests whenever you make a change to one of your source files. It is part of the <a href="http://www.zenspider.com/ZSS/Products/ZenTest/">ZenTest</a> package from <a href="http://www.zenspider.com">Ryan Davis</a>.
</p>
<p>It would be nice if you could be notified of the test results without having to switch to the terminal window running AutoTest. <a href="http://marcus.ahnve.net/2007/03/30/rspec-and-autotest/">Some</a> <a href="http://blog.codefront.net/2007/04/01/get-your-testing-results-via-growl-notifications/">Mac</a> <a href="http://blog.internautdesign.com/2006/11/12/autotest-growl-goodness">users</a> already found a way to do this using Growl. However, that only works if you have a Mac, and I don&#8217;t have one, so I figured out a way to do something similar in Ubuntu.  Let&#8217;s get going.
</p>
<h3>Step 1: Install Mumbles</h3>
<p>
<a href="http://www.mumbles-project.org/">Mumbles</a> is a &#8216;plugin-driven, modern notification system for Gnome&#8217;. It is very similar to Growl and even speaks the Growl protocol if you want to receive growl notifications on your Ubuntu/Linux desktop.  Installing Mumbles is a breeze thanks to the deb package that you can download <a href="http://www.mumbles-project.org/download/">here</a>.
</p>
<p>
Once installed, you can start Mumbles by going to Applications -&gt; Accessories &#8211;&gt; Mumbles. You will then see the Mumbles icon Gnome panel applet, as shown in the picture below:</p>
<div id="attachment_106" class="wp-caption alignnone" style="width: 489px"><a href="http://dambalah.files.wordpress.com/2008/10/mumbles-icon.png"><img class="size-full wp-image-106" title="mumbles-icon" src="http://dambalah.files.wordpress.com/2008/10/mumbles-icon.png?w=510" alt="Mumbles Icon in Gnome Panel Applet"   /></a><p class="wp-caption-text">Mumbles Icon in Gnome Panel Applet</p></div>
<p>
You can right-click on the Mumbles icon, and edit the preferences. In particular, you can change the theme of your notifications. I like the <em>mumbles-round</em> theme.  </p>
<div id="attachment_108" class="wp-caption alignnone" style="width: 313px"><a href="http://dambalah.files.wordpress.com/2008/10/mumbles-prefs.png"><img src="http://dambalah.files.wordpress.com/2008/10/mumbles-prefs.png?w=510" alt="Mumble Preferences" title="mumbles-prefs"   class="size-full wp-image-108" /></a><p class="wp-caption-text">Mumble Preferences</p></div>
<p>
If you do not want Mumbles to show up in your Gnome Panel applet, you can start it from a shell using the &#8216;mumbles -d&#8217; command.
</p>
<p>If you want Mumbles to be automatically started when you login, go to System &#8211;&gt; Preferences &#8211;&gt; Session. On the startup tab, add mumbles with the &#8216;mumbles&#8217; command.
</p>
<h3>Step 2: Test Mumbles Installation</h3>
<p>
Mumble ships with a &#8216;mumbles-send&#8217; utility. To test it out, type the following in your shell: <code>mumbles-send --help</code> As you can see, <em>mumbles-send</em> takes in a title and an optional message. Let&#8217;s try it out now: <code>mumbles-send 'Testing Title' 'This is a test of mumble-send'</code> You should see the notification in the top right of the screen:  </p>
<p><a href="http://dambalah.files.wordpress.com/2008/10/mumbles-test.png"><img src="http://dambalah.files.wordpress.com/2008/10/mumbles-test.png?w=510" alt="" title="mumbles-test"   class="alignnone size-full wp-image-109" /></a>
</p>
<h3>Step 3: Installing AutoTest</h3>
<p>
Autotest is part of the ZenTest Ruby gem. To install it, run: <code>sudo gem install ZenTest</code> That&#8217;s about it. Now go to the RAILS_ROOT directory of your application, and run: <code>autotest</code> Autotest should start running your tests.
</p>
<h3>Step 4: Adding Autotest hooks to Mumbles</h3>
<p>
To have Autotest results show up as Mumbles notifications, create a file called <em>.autotest</em> and save it in your $HOME directory. Copy the following content into that file: </p>
<pre><span class="keyword">module </span><span class="module">Autotest::Mumbles</span>
  <span class="keyword">def </span><span class="method">self.mumbles</span> <span class="ident">title</span><span class="punct">,</span> <span class="ident">msg</span>
    <span class="ident">system</span> <span class="punct">&quot;</span><span class="string">mumbles-send <span class="escape">\&quot;</span><span class="expr">#{title}</span><span class="escape">\&quot;</span> <span class="escape">\&quot;</span><span class="expr">#{msg}</span><span class="escape">\&quot;</span></span><span class="punct">&quot;</span>
  <span class="keyword">end</span>

  <span class="constant">Autotest</span><span class="punct">.</span><span class="ident">add_hook</span> <span class="symbol">:red</span> <span class="keyword">do</span> <span class="punct">|</span><span class="ident">at</span><span class="punct">|</span>
    <span class="ident">errors</span> <span class="punct">=</span> <span class="ident">at</span><span class="punct">.</span><span class="ident">files_to_test</span><span class="punct">.</span><span class="ident">map</span> <span class="punct">{</span> <span class="punct">|</span><span class="ident">k</span><span class="punct">,</span> <span class="ident">v</span><span class="punct">|</span> <span class="punct">&quot;</span><span class="string"><span class="expr">#{k}</span>:<span class="escape">\n</span> <span class="expr">#{v.join(&quot;\n &quot;)}</span></span><span class="punct">&quot;}.</span><span class="ident">join</span><span class="punct">(&quot;</span><span class="string"><span class="escape">\n\n</span></span><span class="punct">&quot;)</span>
    <span class="ident">mumbles</span> <span class="punct">&quot;</span><span class="string">TESTS FAILED</span><span class="punct">&quot;,</span> <span class="ident">errors</span>
  <span class="keyword">end</span>
  
  <span class="constant">Autotest</span><span class="punct">.</span><span class="ident">add_hook</span> <span class="symbol">:green</span> <span class="keyword">do</span> <span class="punct">|</span><span class="ident">at</span><span class="punct">|</span>
    <span class="comment">#res = at.results[/\d+ tests.*$/]</span>
    <span class="ident">res</span> <span class="punct">=</span> <span class="ident">at</span><span class="punct">.</span><span class="ident">results</span><span class="punct">.</span><span class="ident">scan</span><span class="punct">(/</span><span class="regex">Finished.*failures</span><span class="punct">/</span><span class="ident">m</span><span class="punct">).</span><span class="ident">to_s</span><span class="punct">.</span><span class="ident">gsub</span><span class="punct">(/</span><span class="regex"><span class="escape">\e\[</span>32m</span><span class="punct">/,'</span><span class="string"></span><span class="punct">')</span>
    <span class="ident">mumbles</span> <span class="punct">&quot;</span><span class="string">TESTS PASSED</span><span class="punct">&quot;,</span> <span class="ident">res</span>
  <span class="keyword">end</span>
<span class="keyword">end</span>
</pre>
</p>
<h3>Step 5: Verify everything is running smoothly</h3>
<p>
At this point, you should be done. Go back to your RAILS_ROOT directory and start autotest. It should now report whether the tests PASSED or FAILED via Mumbles, as shown below:   </p>
<p><a href="http://dambalah.files.wordpress.com/2008/10/mumbles-failed.png"><img src="http://dambalah.files.wordpress.com/2008/10/mumbles-failed.png?w=510" alt="" title="mumbles-failed"   class="alignnone size-full wp-image-111" /></a></p>
<p></p>
<p><a href="http://dambalah.files.wordpress.com/2008/10/mumbles-passed.png"><img src="http://dambalah.files.wordpress.com/2008/10/mumbles-passed.png?w=510" alt="" title="mumbles-passed"   class="alignnone size-full wp-image-112" /></a></p>
<p></p>
<p><em>I hope this helped! Enjoy your Mumbles Autotest notifications</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=105&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2008/10/07/autotest-notifications-in-ubuntu-with-mumbles/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/10/mumbles-icon.png" medium="image">
			<media:title type="html">mumbles-icon</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/10/mumbles-prefs.png" medium="image">
			<media:title type="html">mumbles-prefs</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/10/mumbles-test.png" medium="image">
			<media:title type="html">mumbles-test</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/10/mumbles-failed.png" medium="image">
			<media:title type="html">mumbles-failed</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2008/10/mumbles-passed.png" medium="image">
			<media:title type="html">mumbles-passed</media:title>
		</media:content>
	</item>
		<item>
		<title>History Meme</title>
		<link>http://dambalah.com/2008/04/18/history-meme/</link>
		<comments>http://dambalah.com/2008/04/18/history-meme/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 01:52:34 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dambalah.wordpress.com/?p=67</guid>
		<description><![CDATA[This meme has been going around so I&#8217;m just following along&#8230; $ history &#124; awk &#8216;{a[$2]++}END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; &#124; sort -rn &#124; head 106 c 100 l 61 cd 42 ls 28 b 26 sudo 24 cat 15 xrandr 11 ./dual_monitor.sh 9 e A lot of these are aliases. c is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=67&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This <a title="meme" href="http://en.wikipedia.org/wiki/Meme">meme</a> has been going around so I&#8217;m just following along&#8230;</p>
<p>$ history | awk &#8216;{a[$2]++}END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; | sort -rn | head</p>
<p>106 c<br />
100 l<br />
61 cd<br />
42 ls<br />
28 b<br />
26 sudo<br />
24 cat<br />
15 xrandr<br />
11 ./dual_monitor.sh<br />
9 e</p>
<p>A lot of these are aliases. c is my alias for clear, l for &#8216;ls -ltr&#8217;, b (as in back) for &#8216;cd ..&#8217;, e for &#8216;emacs&#8217;&#8230;</p>
<p>I spent some time recently setting up dual-monitors on my Ubuntu laptop which is why xrandr is there along with the dual_monitor.sh script. It works like a charm now. I&#8217;ll blog about my setup soon.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/67/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/67/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=67&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2008/04/18/history-meme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>
	</item>
		<item>
		<title>Interesting Linux Trends</title>
		<link>http://dambalah.com/2008/01/01/interesting-linux-trends/</link>
		<comments>http://dambalah.com/2008/01/01/interesting-linux-trends/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 22:41:51 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dambalah.com/2008/01/01/interesting-linux-trends/</guid>
		<description><![CDATA[Just out of curiosity, I checked out Google Trends to compare some of the most popular Linux distributions, based on distrowatch.com. My findings were rather interesting: a stagnant or slightly downward slope for most popular distributions except for Ubuntu which has a very fast growth. Then I decided to compare Ubuntu to the other popular [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=53&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p> Just out of curiosity, I checked out <a href="http://google.com/trends">Google Trends</a> to compare some of the most popular Linux distributions, based on <a href="http://distrowatch.com">distrowatch.com</a>. <a href="http://tinyurl.com/2qnbxf">My findings</a> were rather interesting: a stagnant or slightly downward slope for most popular distributions except for Ubuntu which has a very fast growth.</p>
<p><a href="http://dambalah.files.wordpress.com/2007/12/linux_trends.png" title="Linux Trends"><img src="http://dambalah.files.wordpress.com/2007/12/linux_trends.png?w=510" alt="Linux Trends" /></a></p>
<p>Then I decided to compare Ubuntu to the other popular operating systems: Windows and Mac OS X.</p>
<p><a href="http://dambalah.files.wordpress.com/2007/12/linux_windows_trends.png" title="Linux vs Windows vs Mac"><img src="http://dambalah.files.wordpress.com/2007/12/linux_windows_trends.png?w=510" alt="Linux vs Windows vs Mac" /></a></p>
<p>Some interesting observations:</p>
<p>1) Linux popularity seems to be decreasing, based on the distros downward trends and the fact that the term linux itself is going down. However, Ubuntu is gaining popularity really fast.</p>
<p>2) Windows is by far the most popular operating systems, but it&#8217;s popularity is decreasing while Mac OS X and Ubuntu are gaining steam.</p>
<p>Of course, this should be taken with a grain of salt because this is far from a scientific study, but like we say back <a href="http://en.wikipedia.org/wiki/Haiti" title="Haiti">home</a>, there is never smoke without a fire.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/53/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/53/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/53/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/53/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/53/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=53&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2008/01/01/interesting-linux-trends/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2007/12/linux_trends.png" medium="image">
			<media:title type="html">Linux Trends</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2007/12/linux_windows_trends.png" medium="image">
			<media:title type="html">Linux vs Windows vs Mac</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 7.10 New Features Look Good</title>
		<link>http://dambalah.com/2007/09/28/ubuntu-710-new-features-look-good/</link>
		<comments>http://dambalah.com/2007/09/28/ubuntu-710-new-features-look-good/#comments</comments>
		<pubDate>Fri, 28 Sep 2007 12:30:17 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dambalah.com/2007/09/28/ubuntu-710-new-features-look-good/</guid>
		<description><![CDATA[The Ubuntu community released the first beta of Ubuntu 7.10 today and the list of features is looking good. I&#8217;m so excited about the following features: Fully automatic printer installation NTFS writing (so happy about that one!!) Improved Power consumption with linux kernel upgrade (my laptop will love this) Check out the list of features [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=44&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The Ubuntu community released the first beta of Ubuntu 7.10 today and the <a href="http://www.ubuntu.com/testing/gutsybeta">list of features</a> is looking good.</p>
<p>I&#8217;m so excited about the following features:</p>
<ul>
<li>Fully automatic printer installation</li>
<li>NTFS writing (so happy about that one!!)</li>
<li>Improved Power consumption with linux kernel upgrade (my laptop will love this)</li>
</ul>
<p>Check out the list of features and if you have never tried Ubuntu yet, <a href="http://www.ubuntu.com/getubuntu">give it a try</a>. When the final version of 7.10 comes out, it should be very very sweet.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/44/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/44/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=44&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2007/09/28/ubuntu-710-new-features-look-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Java On Ubuntu</title>
		<link>http://dambalah.com/2007/09/21/install-java-on-ubuntu/</link>
		<comments>http://dambalah.com/2007/09/21/install-java-on-ubuntu/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 00:44:02 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dambalah.com/2007/09/21/install-java-on-ubuntu/</guid>
		<description><![CDATA[It is so easy to install Java on Ubuntu now. On Ubuntu 7.04 (Feisty Fawn), follow these steps: 1) Make sure you have the right repositories on your sources.list file. Edit your sources.list file the following way: sudo gedit /etc/apt/sources.list or if you are not using gnome (e.g. you are logged in through ssh): sudo [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=39&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is so easy to install Java on Ubuntu now. On Ubuntu 7.04 (Feisty Fawn),  follow these steps:</p>
<p><strong>1) Make sure you have the right repositories on your sources.list file.</strong></p>
<p>Edit your sources.list file the following way:</p>
<p><code>sudo gedit /etc/apt/sources.list</code></p>
<p>or if you are not using gnome (e.g. you are logged in through ssh):</p>
<p><code>sudo nano /etc/apt/sources.list</code></p>
<p>If the following lines are not already there, add them:</p>
<p><code>deb <a href="http://us.archive.ubuntu.com/ubuntu" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> feisty main restricted<br />
deb <a href="http://us.archive.ubuntu.com/ubuntu" target="_blank">http://us.archive.ubuntu.com/ubuntu</a> feisty universe multiverse</code></p>
<p>Save the file (in nano use Control-O to save and then Control-X to exit).<br />
Now you need to tell the package manager to update it&#8217;s database:</p>
<p><code>sudo apt-get update</code></p>
<p><strong>2) Install Java using apt-get</strong></p>
<p>I currently have both Java 5 and Java 6 installed on my machine and it&#8217;s very easy to switch between the two. Java 6 has some nice goodies such as JSR-223 and better jconsole that I like to use.</p>
<p><em>For Java 5:</em></p>
<p><code>sudo apt-get install sun-java5-jre sun-java5-jdk sun-java5-plugin</code></p>
<p><em>For Java 6:</em></p>
<p><code>sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin</code></p>
<p>There are other packages that you might be interested in:</p>
<ul>
<li>sun-java6-demo</li>
<li>sun-java6-doc</li>
<li>sun-java6-source</li>
</ul>
<p><strong>3) Verify installation</strong></p>
<p>Verify that you have the correct version of java running:</p>
<p><code>java -version</code></p>
<p>For example, on my machine (yes, I call it <em>tiwouj</em>):</p>
<p><a href="http://dambalah.files.wordpress.com/2007/09/version.png" title="Ubuntu Java Version"><img src="http://dambalah.files.wordpress.com/2007/09/version.png?w=510" alt="Ubuntu Java Version" /></a></p>
<p>To see a list of the java versions that you have installed, you can use the following command (it&#8217;s a letter L at the end of the command):</p>
<p><code>update-java-alternatives -l</code></p>
<p>Here is my list:</p>
<p><a href="http://dambalah.files.wordpress.com/2007/09/javalist.png" title="Ubuntu Java List"><img src="http://dambalah.files.wordpress.com/2007/09/javalist.png?w=510" alt="Ubuntu Java List" /></a></p>
<p>This should show you a list of all the java alternatives you have installed. java-gcj is the free version of Java from the GNU project and comes installed by default with Ubuntu so you should see it. To switch to a different version, use the following command:</p>
<p><code>sudo update-java-alternatives -s &lt;version-desired&gt;</code></p>
<p>e.g:</p>
<p><code>sudo update-java-alternatives -s java-1.5.0-sun</code></p>
<p>Make sure it worked:</p>
<p><code>java -version</code></p>
<p>That&#8217;s it! How easy was that? You have to love apt-get.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=39&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2007/09/21/install-java-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2007/09/version.png" medium="image">
			<media:title type="html">Ubuntu Java Version</media:title>
		</media:content>

		<media:content url="http://dambalah.files.wordpress.com/2007/09/javalist.png" medium="image">
			<media:title type="html">Ubuntu Java List</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux Mint: A Great Distro</title>
		<link>http://dambalah.com/2007/06/28/linux-mint-a-great-distro/</link>
		<comments>http://dambalah.com/2007/06/28/linux-mint-a-great-distro/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 22:29:38 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dambalah.com/2007/06/28/linux-mint-a-great-distro/</guid>
		<description><![CDATA[I got introduced to Linux Mint about 8 months ago while searching for a new distro on DistroWatch. I had already installed Ubuntu on my home desktop and really liked the package manager from Debian so I wanted to stick to a Debian or Ubuntu based distribution. So I gave Linux Mint a try, attracted [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=33&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got introduced to Linux Mint about 8 months ago while searching for a new distro on DistroWatch. I had already installed Ubuntu on my home desktop and really liked the package manager from Debian so I wanted to stick to a Debian or Ubuntu based distribution. So I gave Linux Mint a try, attracted to their proposal to make audio/video work out of the box.</p>
<p>8 months later… I&#8217;m glad I made the choice. Linux Mint has evolved a lot in these 8 Months. The first version I was using was called Barbara and they have since then released Bea, Bianca, and Cassandra. I am still using Bianca (I need to upgrade asap!).</p>
<p>The folks behind Linux Mint work hard to differentiate the distro from others. Rather than merely packaging different software like a lot of other distros, these folks have been working hard to write new tools and improve their community. I feel like they are pulling all the right strings and other distributions should follow their example.</p>
<p>On the community side, they of course have the basic: a good website, a good forum, and a wiki. However, they differentiated themselves from other distributions by adding the following:</p>
<ul>
<li>A Newsletter published on their wiki a few times a month. This is great for folks who do not have time to go to the forum to learn what is new with the distro. One can simply read the newsletter when it comes out to see what is up with their favorite distro.</li>
<li>Professional Support: if you want professional support, you can pay for it monthly or simply pay $5 if you have once incident. Great idea.</li>
<li>You can buy a hosting package from Linux Mint for $30 a month.</li>
<li>The Linux Mint Software Portal where one can install new software simply by browsing the portal and clicking.</li>
<li>A magazine, mintMag, distributed via PDF.</li>
<li> A soon to come podcast.</li>
</ul>
<p>The Linux Mint development team also writes some very useful tools to make the distribution a breeze to use:</p>
<ul>
<li><strong>mintDesktop:</strong>utility to make your desktop a better place.</li>
<li><strong>mintWifi:</strong>a utility to quickly get your wifi working using Ndiswrapper.</li>
<li><strong>mint3D:</strong> &#8220;Mint3D is a configuration tool which will be included in Bianca. It&#8217;s purpose is to detect your graphic card, see what driver you&#8217;re using and if your 3d acceleration is enabled.. and depending on all of that, to either set up Xgl or AIGLX for you.. or to tell you that you can&#8217;t have 3D effects.&#8221; –clem</li>
<li><strong>Add-on CD:</strong> an add-on CD so that a user can download additional packages even if they do not have an internet connection.</li>
<li><strong>mintSpace:</strong>this is an idea that has not been implemented yet but it would be a great addition. I can&#8217;t wait for them to release it. Here is the description from clem: &#8220;Basically, you would have yet another folder in your Home&#8230; which would be a direct link to an online storage place on linuxmint.com. You could drag and drop files and documents in it and the FTP transfers would be done transparently.&#8221; -<a href="http://www.linuxmint.com/forum/index.php?f=37&amp;sid=d01d2c18b7ce04ba51ad83288d9a704a">clem</a></li>
<li><strong>mintConfig:</strong> a utility to help you configure Linux Mint (a control center).</li>
<li><strong> mintDisk:</strong> a utility that automatically mounts NTFS partitions when you login.</li>
<li><strong>mintMenu:</strong> an improved menu.</li>
<li><strong>Remastersys:</strong> a script to create a livecd/dvd from a working Linux Mint install.</li>
<p>While none of these efforts are truly revolutionary, but I find it to be a very dynamic distro that is doing a lot of things right. If you want to switch from Windows to Linux, I would highly suggest using Linux Mint. It is easy to use, based on Ubuntu (so lost of information online when you encounter difficulties), and very appealing aesthetically.</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=33&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2007/06/28/linux-mint-a-great-distro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>
	</item>
		<item>
		<title>Dell Now Sells Ubuntu Desktops</title>
		<link>http://dambalah.com/2007/05/25/dell-now-sells-ubuntu-desktops/</link>
		<comments>http://dambalah.com/2007/05/25/dell-now-sells-ubuntu-desktops/#comments</comments>
		<pubDate>Fri, 25 May 2007 13:06:59 +0000</pubDate>
		<dc:creator>Luc Castera</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dambalah.com/2007/05/25/dell-now-sells-ubuntu-desktops/</guid>
		<description><![CDATA[Dell started selling desktops &#38; laptops with Ubuntu. I am so excited about this. You can save up to $80 on a laptop if you get the Ubuntu version instead of the Windows Vista version on Dell.com. So finally, consumers no longer have to pay the Microsoft Tax.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=32&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dell started selling desktops &amp; laptops with <a href="http://www.dell.com/content/topics/segtopic.aspx/ubuntu?c=us&amp;cs=19&amp;l=en&amp;s=dhs">Ubuntu.</a> I am so excited about this. You can save up to $80 on a laptop if you get the Ubuntu version instead of the Windows Vista version on Dell.com. So finally, consumers no longer have to pay the <a href="http://www.codinghorror.com/blog/archives/000870.html">Microsoft Tax</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dambalah.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dambalah.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dambalah.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dambalah.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dambalah.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dambalah.com&#038;blog=779357&#038;post=32&#038;subd=dambalah&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dambalah.com/2007/05/25/dell-now-sells-ubuntu-desktops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/569c407bedaba2ad3b91dc8b3e0837b4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dambalah</media:title>
		</media:content>
	</item>
	</channel>
</rss>
