<?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>Java Thinking &#187; Linux</title>
	<atom:link href="http://www.javathinking.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javathinking.com</link>
	<description>Java and software development related thoughts</description>
	<lastBuildDate>Thu, 02 Feb 2012 12:16:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing browser sound on Ubuntu 11.04</title>
		<link>http://www.javathinking.com/2012/01/fixing-browser-sound-on-ubuntu-11-04/</link>
		<comments>http://www.javathinking.com/2012/01/fixing-browser-sound-on-ubuntu-11-04/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 21:29:29 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=602</guid>
		<description><![CDATA[I&#8217;ve finally fixed sound via the browser on my Ubuntu 11.04 MythTV media center. MythTV was working fine, but the browsers never even tried to play sound (the sound settings would show NO applications using sound, when Chrome or Firefox should have been).
The information I needed was here and I had no /etc/asound.conf so I [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve finally fixed sound via the browser on my Ubuntu 11.04 MythTV media center. MythTV was working fine, but the browsers never even tried to play sound (the sound settings would show NO applications using sound, when Chrome or Firefox should have been).</p>
<p>The information I needed was <a href="http://ubuntuforums.org/showpost.php?p=9438109&amp;postcount=7" target="_blank">here</a> and I had no /etc/asound.conf so I had to put the following in ~/.asoundrc -</p>
<blockquote>
<pre dir="ltr">pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2012/01/fixing-browser-sound-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Week in Review &#8211; 2010-17</title>
		<link>http://www.javathinking.com/2010/05/week-in-review-2010-17/</link>
		<comments>http://www.javathinking.com/2010/05/week-in-review-2010-17/#comments</comments>
		<pubDate>Sat, 01 May 2010 13:10:11 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=468</guid>
		<description><![CDATA[Ubuntu 10.04 is here! I've been running Ubuntu exclusively since (I think) around 6.XX and it just keeps getting better.]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.ubuntu.com/">Ubuntu</a> 10.04 is here! I&#8217;ve been running Ubuntu exclusively (my wife has the only Windows machine in the house) since (I think) around 6.XX and it just keeps getting better. Last year I converted my parents to Ubuntu 9.10 and every now and then they boot into windows because they don&#8217;t know how to do something, but thats just because I&#8217;m in a different country &#8211; otherwise I&#8217;d be able to help them a lot more, and show them around. I&#8217;ve got remote control working well now (<a href="http://remmina.sourceforge.net/">Remmina</a> has an option to drop the colours to 256 which means it performs fine across the Tasman) so that means I can show them how to do things easily.</p>
<p>I&#8217;m looking forward to the new social network aspect of Ubuntu 10, with tight integration into chat and social networks &#8211; hopefully this will keep me in touch with my family much more. By the way, I really like <a href="http://gwibber.com/">Gwibber</a>, and look forward to seeing that evolve.</p>
<p>If you like the sound of Linux and/or Ubuntu, I encourage you to try it out. It can make an old PC feel young, and trying it out is pretty easy. I like the way Ubuntu can be installed on a USB stick so that you can boot from it AND you can save to it &#8211; better than booting a live CD &#8211; which is also cool, but lets face it, CDs and DVDs are obsolete. You can buy a 1T drive for $100 so you wouldn&#8217;t even use them for backups would you?</p>
<p>I&#8217;m also set up on <a href="https://one.ubuntu.com/">one.ubuntu.com</a> which has been steadily improving over the last couple of months.</p>
<p>If you are looking for games on Linux, have a look at http://www.playdeb.net/. This is a great directory of games for Linux. Also see:</p>
<ul>
<li><a href="http://www.linuxlinks.com/article/20100425112203997/ExtraHotGames.html">http://www.linuxlinks.com/article/20100425112203997/ExtraHotGames.html</a></li>
<li><a href="http://www.linux-mag.com/cache/7745/1.html">http://www.linux-mag.com/cache/7745/1.html</a></li>
<li><a href="http://www.foresightlinux.se/blog/2008/09/24/top-10-kids-games-for-linux/">http://www.foresightlinux.se/blog/2008/09/24/top-10-kids-games-for-linux/</a></li>
<li><a href="http://www.foresightlinux.se/blog/2008/06/21/top-15-linux-strategy-games/">http://www.foresightlinux.se/blog/2008/06/21/top-15-linux-strategy-games/</a></li>
<li>&#8230;</li>
<li>awww shoot, just look at <a href="http://delicious.com/prule/games+linux">http://delicious.com/prule/games+linux</a></li>
</ul>
<p>If you want to learn more about Ubuntu, check out:</p>
<ul>
<li><a href="http://www.ubuntu.com/products/whatisubuntu/1004features">http://www.ubuntu.com/products/whatisubuntu/1004features</a></li>
<li><a href="http://www.ubuntu.com/products/whatisubuntu">http://www.ubuntu.com/products/whatisubuntu</a></li>
<li><a href="http://ubuntu-manual.org/">http://ubuntu-manual.org/</a></li>
<li><a href="https://help.ubuntu.com/9.10/index.html">https://help.ubuntu.com/9.10/index.html</a></li>
<li><a href="https://help.ubuntu.com/community">https://help.ubuntu.com/community</a></li>
</ul>
<p>Don&#8217;t forget, there is a <a href="http://www.canonical.com/projects/ubuntu/unr">NetBook</a> edition of Ubuntu, which may make your PC feel even younger &#8211; with a simplified interface its probably a good option for older PCs or non-power users. When all you need to do is surf the web, organise your photos, edit home videos and process documents, maybe the NetBook edition makes all that a little easier.</p>
<p>I&#8217;ve heard comments about gyms not being able to use commercial music without paying royalties. This sounds insane to me, but maybe it will help promote <a href="http://creativecommons.org/choose/music">creative commons music</a>. RhythmBox is a music player that comes with Ubuntu, and is integrated with <a href="http://www.jamendo.com/en/">Jamendo</a>, <a href="http://magnatune.com/">Magnatune</a> and <a href="https://one.ubuntu.com/music/">Ubuntu One music store</a>:</p>
<ul>
<li><strong>Jamendo</strong>: On Jamendo artists allow anyone to download and share their music. It&#8217;s free, legal and unlimited.</li>
<li><strong>Magnatune</strong>: We select the most amazing independent musicians and offer you unlimited downloading and listening for only $15/month.</li>
<li><strong>UbuntuOne music store</strong>: Ubuntu users have access to purchase popular music from all of their favorite artists that make up an expanding catalog of millions of songs available in the <a title="Ubuntu One Music Store" href="https://one.ubuntu.com/music/">Ubuntu One Music Store</a>.</li>
</ul>
<p>This makes finding music and buying music fantastically easy, and after my experiences with BigPond music and with iTunes being so closed, I say bring it! Any artists putting music out there that would be good for gym tracks should be getting in touch with these gyms and making themselves known!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2010/05/week-in-review-2010-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rapache on Ubuntu 9.10</title>
		<link>http://www.javathinking.com/2009/11/rapache-on-ubuntu-910/</link>
		<comments>http://www.javathinking.com/2009/11/rapache-on-ubuntu-910/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 05:02:24 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[rapache]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=408</guid>
		<description><![CDATA[I&#8217;ve just now stumbled across Rapache, a useful GUI tool that makes configuring apache easy. I found it by accident in the Ubuntu Software Center, but unfortunately it would freeze while trying to add a new domain. I searched the web for answers, and found a bug report.
This didn&#8217;t specifically reference Ubuntu 9.10 (rather, 9.04) [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve just now stumbled across <a href="https://launchpad.net/rapache">Rapache</a>, a useful GUI tool that makes configuring apache easy. I found it by accident in the Ubuntu Software Center, but unfortunately it would freeze while trying to add a new domain. I searched the web for answers, and found a <a href="https://bugs.launchpad.net/rapache/+bug/346788">bug report</a>.</p>
<p>This didn&#8217;t specifically reference Ubuntu 9.10 (rather, 9.04) and the file that needed to be patched didn&#8217;t exist in the given location.</p>
<p>I found it easily enough:</p>
<pre>
paul@paul-laptop:~$ sudo find / -name RapacheGui.py[sudo] password for paul:
/usr/lib/pymodules/python2.5/RapacheGtk/RapacheGui.py
/usr/lib/pymodules/python2.6/RapacheGtk/RapacheGui.py
/usr/share/pyshared/RapacheGtk/RapacheGui.py
paul@paul-laptop:~$
</pre>
<p>I edited the last one (/usr/share/pyshared/RapacheGtk/RapacheGui.py) as documented in <a href="https://bugs.launchpad.net/rapache/+bug/346788/comments/23">comment 23</a> to add the following at line 79:</p>
<pre>
        if not Shell.command.ask_password(): sys.exit(1)
</pre>
<p>Note, this line MUST be preceeded by 8 spaces &#8211; indentation is important in Python.</p>
<p>Now, rapache would prompt for the system password and then close! </p>
<p>I&#8217;ve got it working now, by starting it with sudo:</p>
<pre>
sudo rapache
</pre>
<p>Everything seems to work. I&#8217;ve added a domain, turned on the <a href="http://httpd.apache.org/docs/2.2/mod/mod_include.html">include module</a>, and added &#8220;AddOutputFilter INCLUDES .html&#8221; to the virtual host definition &#8211; all very quickly using rapache. </p>
<p>So, server side includes now work on my new virtual host &#8211; which is what I started out wanting to do before going off on this tangent.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/11/rapache-on-ubuntu-910/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Default open action for Ubuntu</title>
		<link>http://www.javathinking.com/2009/10/default-open-action-for-ubuntu/</link>
		<comments>http://www.javathinking.com/2009/10/default-open-action-for-ubuntu/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 02:01:53 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=382</guid>
		<description><![CDATA[Something happened on my Ubuntu install sometime which meant that double clicking on an HTML file resulted in the file being opened by gedit. Not really what I wanted. I started looking through the GNOME system menu (Preferences and Administration) to find how to change the default action &#8211; but that turned out to be [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Something happened on my <a href="http://www.ubuntu.com/">Ubuntu</a> install sometime which meant that double clicking on an HTML file resulted in the file being opened by <a href="http://projects.gnome.org/gedit/">gedit</a>. Not really what I wanted. I started looking through the <a href="http://www.gnome.org/">GNOME</a> system menu (Preferences and Administration) to find how to change the <a href="http://library.gnome.org/users/user-guide/stable/nautilus-open-file.html.en">default action</a> &#8211; but that turned out to be the wrong place. </p>
<p>In <a href="http://live.gnome.org/Nautilus">Nautilus</a>, simply right click on the file and select &#8216;Properties&#8217;. From there, go to the &#8216;Open with&#8217; tab and select the appropriate application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/10/default-open-action-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding items to Gnome menus</title>
		<link>http://www.javathinking.com/2009/07/adding-items-to-gnome-menus/</link>
		<comments>http://www.javathinking.com/2009/07/adding-items-to-gnome-menus/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 10:47:15 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=341</guid>
		<description><![CDATA[I&#8217;ve always wondered how to add items to Gnome menus. Well, it turns out it is relatively easy &#8211; as you would expect &#8211; and its documented here.
It&#8217;s as simple as creating a text file in the right place &#8211; refreshing easy compared to the binary shortcuts in Windows.
When I was working on  ToolInstaller, [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve always wondered how to add items to <a href="http://www.gnome.org/">Gnome</a> menus. Well, it turns out it is relatively easy &#8211; as you would expect &#8211; and its documented <a href="http://library.gnome.org/admin/system-admin-guide/stable/menustructure-0.html.en">here</a>.</p>
<p>It&#8217;s as simple as creating a text file in the right place &#8211; refreshing easy compared to the binary shortcuts in Windows.</p>
<p>When I was working on  <a href="http://toolinstaller.sourceforge.net/">ToolInstaller</a>, I added support for Windows shortcuts by using the <a href="http://ovanttasks.sourceforge.net/rat/chapter-win32.shortcut.html">OrangeVolt ant tasks</a> library.</p>
<p>Now that I have the missing piece of the puzzle, <a href="http://toolinstaller.sourceforge.net/">ToolInstaller</a> could be easily modified to support Linux (GNOME). </p>
<p><a href="http://toolinstaller.sourceforge.net/">ToolInstaller</a> was a project I started years ago &#8211; it was inspired by how easy it was to install software on linux (i.e. apt-get, yum) by using a repository of software, combined with the simplicity of programs which can just be unzipped.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/07/adding-items-to-gnome-menus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtual machines with VirtualBox</title>
		<link>http://www.javathinking.com/2009/05/virtual-machines-with-virtualbox/</link>
		<comments>http://www.javathinking.com/2009/05/virtual-machines-with-virtualbox/#comments</comments>
		<pubDate>Sat, 16 May 2009 11:01:04 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=352</guid>
		<description><![CDATA[I&#8217;ve found VirtualBox to be very easy to create virtual machines &#8211; it&#8217;s free, open source, and available on Windows, Linux, Macintosh and OpenSolaris. One of the features I particularly like is being able to create a virtual disk that grows as needed (dynamically expanding image). You can also mount an iso image for the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve found <a href="http://www.virtualbox.org/">VirtualBox</a> to be very easy to create virtual machines &#8211; it&#8217;s free, open source, and available on Windows, Linux, Macintosh and OpenSolaris. One of the features I particularly like is being able to create a virtual disk that grows as needed (<a href="http://www.virtualbox.org/manual/UserManual.html#vdidetails">dynamically expanding image</a>). You can also mount an <a href="http://www.virtualbox.org/manual/UserManual.html#id2632193">iso image for the CD/DVD drive</a> &#8211; which is exactly what I want to do when installing the operating system on my new virtual machine.</p>
<p>Installing on Ubuntu is as easy as:</p>
<blockquote><p>sudo apt-get install virtualbox</p></blockquote>
<p>Now, from the Applications/Accessories/VirtualBox OSE menu item, you can start VirtualBox and create virtual machines.</p>
<p>Several things I need to remember after I&#8217;ve created a new machine:</p>
<ol>
<li>Under &#8220;Settings/General/Advanced&#8221; select &#8220;Enable PAE/NX&#8221; to avoid the &#8220;This kernel requires the following features not present on the CPU: 0:6 Unable to boot &#8211; please use a kernel appropriate for your CPU.&#8221;</li>
<li>Under &#8220;Settings/Network/Adapter 1&#8243; select &#8220;Attached to: Host Interface&#8221; to get networking going &#8211; this get me network access as I would expect</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/05/virtual-machines-with-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cp with force overwrite</title>
		<link>http://www.javathinking.com/2009/04/cp-with-force-overwrite/</link>
		<comments>http://www.javathinking.com/2009/04/cp-with-force-overwrite/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 08:04:05 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cp]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=311</guid>
		<description><![CDATA[I was recently trying to copy a directory over an existing one and kept getting prompted &#8211; asking if I wanted to overwrite existing files &#8211; even though I was using the force option:
cp -Rf dir1 dir2
I found the answer here &#8211; it was caused by an alias forcing the interactive mode.
Quick solution is to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I was recently trying to copy a directory over an existing one and kept getting prompted &#8211; asking if I wanted to overwrite existing files &#8211; even though I was using the force option:</p>
<blockquote><p>cp -Rf dir1 dir2</p></blockquote>
<p>I found the answer <a href="http://www.wallpaperama.com/forums/cp-command-problems-forcing-overwrite-using-cp-command-t5685.html" target="_blank">here</a> &#8211; it was caused by an alias forcing the interactive mode.</p>
<p>Quick solution is to bypass the alias by an absolute reference to cp:</p>
<blockquote><p>/bin/cp -Rf dir1 dir2</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/04/cp-with-force-overwrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playlists with MythTV</title>
		<link>http://www.javathinking.com/2009/03/playlists-with-mythtv/</link>
		<comments>http://www.javathinking.com/2009/03/playlists-with-mythtv/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 11:28:24 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Media center]]></category>
		<category><![CDATA[mythtv]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=291</guid>
		<description><![CDATA[I&#8217;ve been wanting a way to use playlists on my media center either from within MythTV or with any other player. The reason is I have a bunch of short videos (music and documentaries) that I&#8217;d like to be able to play consecutively.
It turns out to be a case of just RTFM. You can create [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve been wanting a way to use playlists on my media center either from within MythTV or with any other player. The reason is I have a bunch of short videos (music and documentaries) that I&#8217;d like to be able to play consecutively.</p>
<p>It turns out to be a case of just <a href="http://www.mythtv.org/wiki/MythVideo#Mplayer_Playlists">RTFM</a>. You can create playlists for MPlayer from directory listings, and then associate playlists with a particular mplayer command.</p>
<p>To generate the playlist from all files in a directory, I use the following:</p>
<blockquote><pre>dir * | sed 's/\\//g' > all_videos.pls</pre>
</blockquote>
<p>The sed part of this command removes the \ from escaped spaces&#8230; i.e. a file &#8216;Hello world&#8217; is output from the dir command as &#8216;Hello\ world&#8217; &#8211; the space is escaped. We need to generate a file without these escaped spaces for it to work properly.</p>
<p>I use the following mplayer command associated with the pls extension:</p>
<blockquote><p>mplayer -shuffle -fs -zoom -quiet -vo xv -playlist %s</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/03/playlists-with-mythtv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hey! Where&#8217;d my swap go?</title>
		<link>http://www.javathinking.com/2009/03/hey-whered-my-swap-go/</link>
		<comments>http://www.javathinking.com/2009/03/hey-whered-my-swap-go/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 11:59:54 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=286</guid>
		<description><![CDATA[I&#8217;ve just noticed that I&#8217;ve got no swap space! (Dell 1525 running Ubuntu 8.10).
I first installed my laptop with Ubuntu 8.04, and later upgraded to 8.10. After the upgrade I noticed that hibernate no longer worked, and I think (from memory) I found an error message saying something about not enough swap space. I briefly [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve just noticed that I&#8217;ve got no swap space! (Dell 1525 running Ubuntu 8.10).</p>
<p>I first installed my laptop with Ubuntu 8.04, and later upgraded to 8.10. After the upgrade I noticed that hibernate no longer worked, and I think (from memory) I found an error message saying something about not enough swap space. I briefly thought about trying to find out how to add more swap (I already had a 4G partition defined, and I&#8217;ve only got 2G ram) but then I swiftly moved on to other more pressing issues.</p>
<p>Well, just recently I fired up System Monitor to check on a process, and notice in the bottom right corner it said there was no swap space. Firing up &#8216;top&#8217; confirmed this &#8211; my system had zero swap!</p>
<p>I could see that I had a swap partition defined:</p>
<blockquote><p>paul@dell1525:~$ sudo blkid<br />
/dev/sda8: TYPE=&#8221;swap&#8221; UUID=&#8221;4bd53cb9-611c-4e57-a9df-4754d6bcdd65&#8243;
</p></blockquote>
<p>But the corresponding entry in /etc/fstab had a different entry:.</p>
<blockquote><p># /dev/sda8<br />
UUID=e6eb6c47-599c-4612-ac8a-287279ee438b none     swap    sw    0       0
</p></blockquote>
<p>The UUIDs didn&#8217;t match! Thus no swap. Correcting the fstab file and rebooting resolved the problem, but I don&#8217;t know what caused it.</p>
<p>Right now, top shows I&#8217;ve got my 4G swap space being used, and hibernate has successfully hibernated and resumed. Perhaps now this laptop will perform better too?</p>
<p>As for adding more swap space, I don&#8217;t think I need to do that right now &#8211; but <a href="http://ubuntuforums.org/showthread.php?t=89782">here</a> is a good article for future reference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/03/hey-whered-my-swap-go/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set default browser in Ubuntu</title>
		<link>http://www.javathinking.com/2009/03/set-default-browser-in-ubuntu/</link>
		<comments>http://www.javathinking.com/2009/03/set-default-browser-in-ubuntu/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 09:54:27 +0000</pubDate>
		<dc:creator>paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.javathinking.com/?p=277</guid>
		<description><![CDATA[To set the default browser, use update-alternatives as shown below:
paul@dell1525:~$ sudo update-alternatives &#8211;config x-www-browser
There are 2 alternatives which provide `x-www-browser&#8217;.
  Selection    Alternative
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
          1    /usr/bin/firefox-3.0
*+        2    /usr/bin/seamonkey
Press enter to keep [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>To set the default browser, use update-alternatives as shown below:</p>
<blockquote><p>paul@dell1525:~$ sudo update-alternatives &#8211;config x-www-browser</p>
<p>There are 2 alternatives which provide `x-www-browser&#8217;.</p>
<p>  Selection    Alternative<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
          1    /usr/bin/firefox-3.0<br />
*+        2    /usr/bin/seamonkey</p>
<p>Press enter to keep the default[*], or type selection number: 1<br />
Using &#8216;/usr/bin/firefox-3.0&#8242; to provide &#8216;x-www-browser&#8217;.
</p></blockquote>
<p>There is a good write-up of the update-alternatives system <a href="http://blog.stevenkroon.com/2006/08/29/debian-update-alternatives/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.javathinking.com/2009/03/set-default-browser-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

