<?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>without-brains.net &#187; Linux</title>
	<atom:link href="http://www.without-brains.net/archives/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.without-brains.net</link>
	<description>A software developer&#039;s blog</description>
	<lastBuildDate>Thu, 17 Jun 2010 17:34:33 +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>PPTP VPN in Ubuntu 10.04</title>
		<link>http://www.without-brains.net/archives/366</link>
		<comments>http://www.without-brains.net/archives/366#comments</comments>
		<pubDate>Thu, 17 Jun 2010 17:34:33 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=366</guid>
		<description><![CDATA[A while back I posted an article on how to setup a PPTP VPN connection in Ubuntu 9.10, in Ubuntu 10.04 these packages are available by default (and these are now supported packages).
]]></description>
			<content:encoded><![CDATA[<p>A while back I posted an article on <a title="Article on PPTP VPN with Ubuntu 9.10" href="http://www.without-brains.net/archives/165">how to setup a PPTP VPN connection in Ubuntu 9.10</a>, in Ubuntu 10.04 these packages are available by default (and these are now supported packages).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/366/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing software in your home directory</title>
		<link>http://www.without-brains.net/archives/322</link>
		<comments>http://www.without-brains.net/archives/322#comments</comments>
		<pubDate>Tue, 11 May 2010 07:59:56 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=322</guid>
		<description><![CDATA[Installing software in your home directory is not an uncommon practice for Linux users. In Ubuntu 10.04 you can easily software that you installed in your home directory (or anywhere else for that matter) to your menus in Gnome, by using the option &#8220;Main Menu&#8221; under System -&#62; Preferences.

Click on any of the existing menus [...]]]></description>
			<content:encoded><![CDATA[<p>Installing software in your home directory is not an uncommon practice for Linux users. In Ubuntu 10.04 you can easily software that you installed in your home directory (or anywhere else for that matter) to your menus in Gnome, by using the option &#8220;Main Menu&#8221; under System -&gt; Preferences.<span id="more-322"></span></p>
<p><a href="http://www.without-brains.net/wp-content/uploads/2010/05/Screenshot-Main-Menu.png"><img class="aligncenter size-medium wp-image-324" title="Main Menu" src="http://www.without-brains.net/wp-content/uploads/2010/05/Screenshot-Main-Menu-300x235.png" alt="&quot;Main Menu&quot; preferences screen" width="300" height="235" /></a></p>
<p>Click on any of the existing menus and then click on the &#8220;New Item&#8221; button:</p>
<p><a href="http://www.without-brains.net/wp-content/uploads/2010/05/Screenshot-Create-Launcher.png"><img class="aligncenter size-medium wp-image-325" title="Create Launcher" src="http://www.without-brains.net/wp-content/uploads/2010/05/Screenshot-Create-Launcher-300x136.png" alt="Create Launcer" width="300" height="136" /></a></p>
<p>Once you&#8217;ve filled out the above fields and have clicked on the &#8220;OK&#8221; button the option will be added to your menu. You can give the option an icon by clicking the icon on the top left of the dialog (this allows you to browse for a picture to use).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/322/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting shortcut keys for executing commands in Ubuntu</title>
		<link>http://www.without-brains.net/archives/299</link>
		<comments>http://www.without-brains.net/archives/299#comments</comments>
		<pubDate>Thu, 22 Apr 2010 17:29:22 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Metacity]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=299</guid>
		<description><![CDATA[The standard Ubuntu distro comes with the Metacity window manager (Ubuntu community documentation on Metacity can be found here). Metacity&#8217;s shortcut keys are customizable, and you can change these shortcut keys and add custom shortcut keys for commands of your own choosing (if you&#8217;re a Windows user and want similar functionality there is a very [...]]]></description>
			<content:encoded><![CDATA[<p>The standard Ubuntu distro comes with the <a title="Metacity at Wikipedia" href="http://en.wikipedia.org/wiki/Metacity">Metacity</a> window manager (Ubuntu community documentation on Metacity can be found <a title="Ubuntu community documentation on Metacity" href="https://help.ubuntu.com/community/Metacity">here</a>). Metacity&#8217;s shortcut keys are customizable, and you can change these shortcut keys and add custom shortcut keys for commands of your own choosing (if you&#8217;re a Windows user and want similar functionality there is a very useful open source program named <a title="AutoHotkey homepage" href="http://www.autohotkey.com/">AutoHotkey</a> that may be of use to you). Choose System -&gt; Preferences -&gt; Keyboard Shortcuts via the menu bar to run the program to maintain the shortcut keys.<span id="more-299"></span></p>
<div id="attachment_304" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts.png"><img class="size-medium wp-image-304" title="Keyboard Shortcuts screen" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-300x173.png" alt="Keyboard Shortcuts screen" width="300" height="173" /></a><p class="wp-caption-text">Keyboard Shortcuts screen</p></div>
<p>The screen that pops up should look like the one in the screenshot above. If you look through the existing shortcut keys you&#8217;ll see some useful defaults, such as &lt;Control&gt;+&lt;Alt&gt;+L to lock your screen. The keyboard shortcuts editor is user friendly, if you choose a combination that is already taken you will be warned like so:</p>
<div id="attachment_311" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/taken_key_warning.png"><img class="size-medium wp-image-311" title="Warning dialog" src="http://www.without-brains.net/wp-content/uploads/2010/04/taken_key_warning-300x108.png" alt="Warning dialog" width="300" height="108" /></a><p class="wp-caption-text">Warning dialog</p></div>
<p>One of the programs that I tend to use a lot is the terminal, there&#8217;s a shortcut defined to run the terminal but it has no shortcut key assigned to it by default as you can see in the screenshot below:</p>
<div id="attachment_312" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-1.png"><img class="size-medium wp-image-312" title="Run in terminal" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-1-300x173.png" alt="Run in terminal" width="300" height="173" /></a><p class="wp-caption-text">Run in terminal is disabled</p></div>
<p>You can set the shortcut key by clicking on the row, which will change the text to &#8220;New shortcut&#8230;&#8221; and then press whichever key combination that you want to use, which in my case is &lt;Control&gt;+&lt;Alt&gt;+T:</p>
<div id="attachment_313" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-2.png"><img class="size-medium wp-image-313" title="Run in terminal set to &lt;Control&gt;+&lt;Alt&gt;+T" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-2-300x173.png" alt="Run in terminal set to &lt;Control&gt;+&lt;Alt&gt;+T" width="300" height="173" /></a><p class="wp-caption-text">Run in terminal set to ++T</p></div>
<p>Pressing &lt;Control&gt;+&lt;Alt&gt;+T now opens up a new terminal window, very convenient!</p>
<p>In addition to setting shortcut keys for existing actions, you can add your own by clicking the &#8220;Add&#8221; button, which gives the below dialog:</p>
<div id="attachment_314" class="wp-caption aligncenter" style="width: 261px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Custom-Shortcut.png"><img class="size-full wp-image-314" title="Add custom shortcut dialog" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Custom-Shortcut.png" alt="Add custom shortcut dialog" width="251" height="113" /></a><p class="wp-caption-text">Add custom shortcut dialog</p></div>
<p>Say we want to run Firefox with a shortcut key, I&#8217;ll fill in the screen like so:</p>
<div id="attachment_315" class="wp-caption aligncenter" style="width: 261px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Custom-Shortcut-1.png"><img class="size-full wp-image-315" title="Filled in custom shortcut dialog" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Custom-Shortcut-1.png" alt="Filled in custom shortcut dialog" width="251" height="113" /></a><p class="wp-caption-text">Filled in custom shortcut dialog</p></div>
<p>After clicking the &#8220;Apply&#8221; button the action is added to the category &#8220;Custom Shortcuts&#8221;:</p>
<div id="attachment_316" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-3.png"><img class="size-medium wp-image-316" title="Custom shortcut added" src="http://www.without-brains.net/wp-content/uploads/2010/04/Screenshot-Keyboard-Shortcuts-3-300x173.png" alt="Custom shortcut added" width="300" height="173" /></a><p class="wp-caption-text">Custom shortcut added</p></div>
<p>You can set shortcut keys to these new actions like standard ones. If you want to change the name of a custom shortcut key, simply click the name to get the dialog to change the name (which looks exactly like the add dialog, but with the current values pre-populated). For custom shortcuts the &#8220;Remove&#8221; button is enabled, which allows you to delete them (the default shortcuts can&#8217;t be removed). Note that custom shortcuts are removed without warning!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/299/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gvim as your default text editor in Ubuntu</title>
		<link>http://www.without-brains.net/archives/293</link>
		<comments>http://www.without-brains.net/archives/293#comments</comments>
		<pubDate>Thu, 22 Apr 2010 05:18:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=293</guid>
		<description><![CDATA[By default Ubuntu comes with gedit as it&#8217;s text editor (if you are using the standard Ubuntu version, which comes with Gnome), I however personally prefer to use vim instead. If you don&#8217;t have gvim installed yet, you can do so by installing the gvim-gnome package. To make gvim your default text editor do the [...]]]></description>
			<content:encoded><![CDATA[<p>By default Ubuntu comes with gedit as it&#8217;s text editor (if you are using the standard Ubuntu version, which comes with Gnome), I however personally prefer to use vim instead. If you don&#8217;t have gvim installed yet, you can do so by installing the gvim-gnome package. To make gvim your default text editor do the following:<span id="more-293"></span></p>
<ul>
<li>Right click on a text file and choose &#8220;Open with Other Application&#8221; and select gvim from the list of applications</li>
<li>Close the file that you are editing (unless you actually wanted to edit it)</li>
<li>Open a terminal and go to ~/.local/share/applications and edit the file mimeapps.list, it will look something like this:</li>
</ul>
<pre>[Added Associations]
text/plain=gedit.desktop;gvim.desktop;openoffice.org-writer.desktop;</pre>
<p>To make gvim your default simply re-order the list and put gvim.desktop as the first entry like so:</p>
<pre>[Added Associations]
text/plain=gvim.desktop;gedit.desktop;openoffice.org-writer.desktop;</pre>
<p>For these changes to take effect you will either have to restart Nautilus yourself by executing &#8220;killall nautilus&#8221; (which has the downside that your desktop will no longer work until you log out and back in), or just log out and log back in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/293/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using VirtualBox as your personal server</title>
		<link>http://www.without-brains.net/archives/247</link>
		<comments>http://www.without-brains.net/archives/247#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:55:27 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Software development]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=247</guid>
		<description><![CDATA[VirtualBox is an open source virtualization program (for those of you that don&#8217;t know what that means: simply put it is a computer program that can emulate other computers within your own computer). One of the things that I use it for is to run my personal development and testing servers within my own workstation [...]]]></description>
			<content:encoded><![CDATA[<p><a title="VirtualBox website" href="http://www.virtualbox.org/">VirtualBox</a> is an open source virtualization program (for those of you that don&#8217;t know what that means: simply put it is a computer program that can emulate other computers within your own computer). One of the things that I use it for is to run my personal development and testing servers within my own workstation that don&#8217;t exist to the outside world. You don&#8217;t have the mess of dual boot, nor do you have the need for lots of additional hardware for your development and testing setups!<span id="more-247"></span></p>
<p>To be able to develop and test on such a VM I generally require it to be available as if it is on the network (per example via SSH, or my browser). Assuming that you have installed VirtualBox and that you know how to setup a VM already, I&#8217;ll briefly explain the specifics of setting up a VM that you can access as if it were on the network:</p>
<ul>
<li>When creating the VM give it two network adapters.
<ul>
<li>Adapter 1 setup as &#8220;NAT&#8221;, this gives the VM access to whatever network your computer is connected. This includes the internet if you&#8217;re connected to it, which can be useful to download OS updates or applications inside your VM (I often have VMs running Ubuntu, and the NAT adapter allows me to use apt painlessly).</li>
<li>Adapter 2 setup as &#8220;VirtualBox Host-Only Ethernet Adapter&#8221;. This gives the VM an IP address within a private range, that only exists within your own computer.</li>
</ul>
</li>
</ul>
<p>When installing an OS on your VM, it is useful to give the it a static IP address for adapter 2. Having a static IP for each VM will allow you to connect to it using bookmarks instead of having to check what the IP of each VM is after it has started. Note that you do have to adhere to the IP range defined in the VirtualBox preferences for the host only adapter. You can find this information via the menu: go to &#8220;File&#8221; -&gt; &#8220;Preferences&#8221;, go to the &#8220;Network&#8221; section and double-click on the host only adapter entry to get a popup where you can see/configure the network range and the DHCP server settings (you probably want to ensure that your static IPs cannot be given out by the host only adapter&#8217;s DHCP server).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/247/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading Ubuntu server to Karmic on Linode</title>
		<link>http://www.without-brains.net/archives/189</link>
		<comments>http://www.without-brains.net/archives/189#comments</comments>
		<pubDate>Sun, 06 Dec 2009 15:16:47 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=189</guid>
		<description><![CDATA[Upgrading Ubuntu server 9.04 (Jaunty) to 9.10 (Karmic) on Linode is a breeze. Simply change the kernel to the latest available version in the Linode manager, reboot your Linode, logon to the Linode shell (to get console access to your Linode), update your packages to the latest versions (apt-get update and apt-get upgrade) and install [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading <a title="Ubuntu website" href="http://www.ubuntu.com/">Ubuntu</a> server 9.04 (Jaunty) to 9.10 (Karmic) on <a title="Linode" href="http://www.linode.com">Linode</a> is a breeze. Simply change the kernel to the latest available version in the Linode manager, reboot your Linode, logon to the Linode shell (to get console access to your Linode), update your packages to the latest versions (apt-get update and apt-get upgrade) and install the update-manager-core package (apt-get install update-manager-core) and then perform do-release-upgrade (as described <a title="Ubuntu website" href="http://www.ubuntu.com/getubuntu/upgrading#Network Upgrade for Ubuntu Servers (Recommended)">here</a>).<span id="more-189"></span></p>
<p>Before you attempt such an upgrade yourself, be sure to make a backup of your Linode. If you have enough diskspace left with Linode, the easy way is to resize the image that you&#8217;re using for your server and then duplicate it. Alternatively you can download a copy of the image (which can be quite time consuming, depending on the size).</p>
<p>The Linode manager makes it easy to use different disk images with your Linode, so if you mess up then you can switch to the backup image and revert to the situation before the upgrade. Kudos to Linode for offering such an excellent service with such excellent tools!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/189/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>VPN in Ubuntu 9.10</title>
		<link>http://www.without-brains.net/archives/165</link>
		<comments>http://www.without-brains.net/archives/165#comments</comments>
		<pubDate>Sun, 29 Nov 2009 14:22:08 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=165</guid>
		<description><![CDATA[To access my work&#8217;s network from any location outside the office my employer requires me to use a VPN. In Ubuntu this does not work by default. While the network manager does have a VPN tab, all it&#8217;s buttons are greyed out. Depending on the type of VPN that you need to access you need [...]]]></description>
			<content:encoded><![CDATA[<p>To access my work&#8217;s network from any location outside the office my employer requires me to use a VPN. In Ubuntu this does not work by default. While the network manager does have a VPN tab, all it&#8217;s buttons are greyed out. Depending on the type of VPN that you need to access you need to install additional software packages.<span id="more-165"></span></p>
<p>In my case I needed to access a PPTP VPN, the package that Ubuntu has to do so is pptp-linux (if you need another type of connection you should search for the word vpn in the package manager). Installing that package does not add options to the network manager. While you could configure the VPN by hand (by editing configuration files somewhere in /etc, depending on the installed VPN client), an easier way is to install a plugin for the network manager, and then use the network manager&#8217;s GUI to configure your VPN connections and to control use of to those VPN connections. For the pptp-linux the network manager plugin package is network-manager-pptp.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/165/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora team changes package installation policy</title>
		<link>http://www.without-brains.net/archives/68</link>
		<comments>http://www.without-brains.net/archives/68#comments</comments>
		<pubDate>Fri, 20 Nov 2009 16:08:20 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=68</guid>
		<description><![CDATA[After a few days upheaval the Fedora team came around and changed the default policy in Fedora 12 back to requiring root privileges for installing packages again: http://linux.slashdot.org/story/09/11/20/1241231/Fedora-12-Package-Installation-Policy-Tightened. In my opinion that is a good thing  
I don&#8217;t intend to install Fedora again though, as I&#8217;m very pleased with Ubuntu  
]]></description>
			<content:encoded><![CDATA[<p>After a few days upheaval the Fedora team came around and changed the default policy in Fedora 12 back to requiring root privileges for installing packages again: <a title="Slashdot article" href="http://linux.slashdot.org/story/09/11/20/1241231/Fedora-12-Package-Installation-Policy-Tightened">http://linux.slashdot.org/story/09/11/20/1241231/Fedora-12-Package-Installation-Policy-Tightened</a>. In my opinion that is a good thing <img src='http://www.without-brains.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I don&#8217;t intend to install Fedora again though, as I&#8217;m very pleased with Ubuntu <img src='http://www.without-brains.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/68/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual Eclipse install in Fedora 12 and Ubuntu 9.10</title>
		<link>http://www.without-brains.net/archives/64</link>
		<comments>http://www.without-brains.net/archives/64#comments</comments>
		<pubDate>Fri, 20 Nov 2009 15:40:28 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SElinux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=64</guid>
		<description><![CDATA[When developing software I sometimes like to use Eclipse (I recently did some work involving Drools, and there is an excellent Eclipse workbench available for working with Drools). Instead of using a package manager (such as yum or apt) to install Eclipse, I prefer to use the release that is available from eclipse.org and install [...]]]></description>
			<content:encoded><![CDATA[<p>When developing software I sometimes like to use <a title="Eclipse" href="http://www.eclipse.org">Eclipse</a> (I recently did some work involving <a title="Droold" href="http://www.jboss.org/drools">Drools</a>, and there is an excellent Eclipse workbench available for working with Drools). Instead of using a package manager (such as yum or apt) to install Eclipse, I prefer to use the release that is available from eclipse.org and install that in my home directory. That way I can install whatever plugins I want without risking issues when running updates in the package manager.<span id="more-64"></span></p>
<p>If you try to do this in Fedora you&#8217;ll quickly run into SElinux. This can easily be solved by specifying which java binary to use with Eclipse. You can do this by passing in -vm /path/to/java on the command line, or by adding this into the eclipse.ini file.</p>
<p>Another issue that you will have in both Ubuntu 9.10 and Fedora 12 is that certain UI buttons seem unresponsive. When clicking one of those buttons the UI is unresponsive for a few seconds, and when it wakes up it appears as if you had never clicked that button. This is due to the fact that both Ubuntu 9.10 and Fedora 12 ship with a new version of GTK, which contains a new feature which certain applications such as Eclipse can&#8217;t handle properly. The fix to this is quite easy, you can deactivate this new feature by setting the environmental variable GDK_NATIVE_WINDOWS to 1 (or true). You can do this by creating a script that does this before starting Eclipse, that way you don&#8217;t have to turn off this feature entirely but just for Eclipse.</p>
<p>The Fedora and Ubuntu versions of Eclipse that you can install via the distros&#8217; package managers don&#8217;t have this problem, most likely because these versions of Eclipse turn off this GTK feature somehow (perhaps in the same way that I have described above).</p>
<p>You can read more about the GTK story here: <a title="Eclipse/GTK issue" href="http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/">http://blog.export.be/2009/10/fixing-eclipse-for-ubuntu-karmic-koala-9-10/</a>. Kudos to the author, without that article it would have taken me a very long time to figure this one out <img src='http://www.without-brains.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/64/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux on my desktop and EEE</title>
		<link>http://www.without-brains.net/archives/46</link>
		<comments>http://www.without-brains.net/archives/46#comments</comments>
		<pubDate>Fri, 20 Nov 2009 15:18:16 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[EEE]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=46</guid>
		<description><![CDATA[Over the past few years I have mainly ran Ubuntu as my Linux of choice on desktops and laptops. I have run 9.04 on my EEE PC 900 for some time, and I have always been very pleased with it. My desktop has ran Windows XP for ages though, and I have been wanting to [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past few years I have mainly ran <a title="Ubuntu" href="http://www.ubuntu.com">Ubuntu</a> as my Linux of choice on desktops and laptops. I have run 9.04 on my <a title="EEE PC 900 product page" href="http://www.asus.nl/product.aspx?P_ID=PGEqzGdfmtS5rjPk">EEE PC 900</a> for some time, and I have always been very pleased with it. My desktop has ran Windows XP for ages though, and I have been wanting to install a Linux distro on it for some time.<span id="more-46"></span></p>
<p>When <a title="Fedora" href="http://fedora.redhat.com">Fedora</a> 12 was released I decided to give that a go. I have to say that like Ubuntu it is easy to install and works really well. Unfortunately though I noticed that I could install packages without root priviliges as written here: <a title="http://linux.slashdot.org/story/09/11/18/2039229/Fedora-12-Lets-Users-Install-Signed-Packages-Sans-Root-Privileges" href="http://linux.slashdot.org/story/09/11/18/2039229/Fedora-12-Lets-Users-Install-Signed-Packages-Sans-Root-Privileges">http://linux.slashdot.org/story/09/11/18/2039229/Fedora-12-Lets-Users-Install-Signed-Packages-Sans-Root-Privileges</a>. To me that is just an unacceptable security risk. I realise that this is just a policy setting (that you can re-configure), but I&#8217;m just not too fond of these types of defaults&#8230;</p>
<p>So I decided to back to Ubuntu. Unfortunately installing the 9.10 release did not go without problems, mainly because I had used some old CD-R(W) discs. Once I had a good CD-RW disc installation was a breeze though. A friend told me that next time I should <a title="USB drive Ubuntu install" href="https://help.ubuntu.com/community/Installation/FromUSBStick">use a USB drive</a> instead <img src='http://www.without-brains.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Because I&#8217;m so happy with Ubuntu 9.10, I also installed it on my EEE PC 900&#8230; using a USB drive <img src='http://www.without-brains.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/46/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
