<?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</title>
	<atom:link href="http://www.without-brains.net/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>Vim tip: Platform specific settings in your vimrc</title>
		<link>http://www.without-brains.net/archives/362</link>
		<comments>http://www.without-brains.net/archives/362#comments</comments>
		<pubDate>Sun, 30 May 2010 17:44:41 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=362</guid>
		<description><![CDATA[If you use Vim on multiple platforms like I do, you may find it convenient to know that you can detect the platform your installation Vim was compiled for in Vimscript. With this functionality you can put all your settings for all your systems in a single vimrc file. Below is a part of my [...]]]></description>
			<content:encoded><![CDATA[<p>If you use Vim on multiple platforms like I do, you may find it convenient to know that you can detect the platform your installation Vim was compiled for in Vimscript. With this functionality you can put all your settings for all your systems in a single vimrc file. <span id="more-362"></span>Below is a part of my vimrc file, when in Windows I have a  different backup and temp dir for Vim than I have in Linux and UNIX.  Additionally I use PuTTY&#8217;s SCP and SFTP executables (as Windows doesn&#8217;t have such commands available).</p>
<pre>if has('win16') || has('win32') || has('win64') || has('win95')
 " Windows specific settings
 " Backup and swap file directories
 set bdir=~/vimbackups
 set dir=~/Temp
 " Use PuTTY SSH programs (Must be installed separately)
 let g:netrw_scp_cmd = 'pscp.exe -q -batch -agent'
 let g:netrw_sftp_cmd= 'psftp.exe'
 " When using SCP ensure that you don't get prompting DOS windows
 let g:netrw_silent= 1
else
 " *nix specific settings
 " Backup and swap file directories
 set bdir=~/.vimbackups
 set dir=~/.vimtmp
endif
</pre>
<p>Happy Vimming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/362/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim tip: Visual block editing</title>
		<link>http://www.without-brains.net/archives/338</link>
		<comments>http://www.without-brains.net/archives/338#comments</comments>
		<pubDate>Fri, 14 May 2010 18:32:44 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=338</guid>
		<description><![CDATA[One of the features I find very convenient in Vim editing in visual blocks.
With CTRL+V (while in normal mode) you can activate the visual block mode, by using the standard movement keys (h, j, k, l or the arrow keys). You can perform various operations on visual blocks (check the help with :help v), in [...]]]></description>
			<content:encoded><![CDATA[<p>One of the features I find very convenient in Vim editing in visual blocks.</p>
<p>With CTRL+V (while in normal mode) you can activate the visual block mode, by using the standard movement keys (h, j, k, l or the arrow keys). You can perform various operations on visual blocks (check the help with :help v), in this article I will describe how you can prepend or append text to a block.<span id="more-338"></span></p>
<p>After selecting your block you can press SHIFT+i to start inserting before every line of the block, after you type what you want to insert hit the ESC key to apply the insert to all the lines. The below images show you how this would work:</p>
<div id="attachment_345" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim1.png"><img class="size-medium wp-image-345" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim1-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Visual mode active, selected a block</p></div>
<div id="attachment_346" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim2.png"><img class="size-medium wp-image-346" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim2-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Insert mode activated (using SHIFT+i) and typed a &quot;</p></div>
<div id="attachment_347" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim3.png"><img class="size-medium wp-image-347" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim3-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Hit the ESC key to apply the insert</p></div>
<p>To append instead you can press SHIFT+a instead of SHIFT+i, the mechanism is exactly the  same:</p>
<div id="attachment_349" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim4.png"><img class="size-medium wp-image-349" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim4-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Visual mode active, selected a block</p></div>
<div id="attachment_350" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim5.png"><img class="size-medium wp-image-350" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim5-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Append mode activated (using SHIFT+a) and typed a &quot;</p></div>
<div id="attachment_351" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim6.png"><img class="size-medium wp-image-351" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim6-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Hit the ESC key to apply the append</p></div>
<p>As you can see in the above example white space is appended to Dog and Cat, because these words are shorter than Bird. If you don&#8217;t want that white space you can use CTRL+V $ instead of CTRL+V to activate visual mode:</p>
<div id="attachment_352" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim7.png"><img class="size-medium wp-image-352" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim7-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Visual mode active, selected a block</p></div>
<div id="attachment_353" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim8.png"><img class="size-medium wp-image-353" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim8-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Append mode activated (using SHIFT+a) and typed a &quot;</p></div>
<div id="attachment_354" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.without-brains.net/wp-content/uploads/2010/05/vim9.png"><img class="size-medium wp-image-354" title="Vim" src="http://www.without-brains.net/wp-content/uploads/2010/05/vim9-300x53.png" alt="Vim" width="300" height="53" /></a><p class="wp-caption-text">Hit ESC to apply the append</p></div>
<p>As noted earlier in the article there are more thing that you can do with visual mode in vim, you can read about it in Vim&#8217;s help using &#8220;:help v&#8221;.</p>
<p>Happy Vimming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/338/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Windows Vista using a USB flash drive</title>
		<link>http://www.without-brains.net/archives/332</link>
		<comments>http://www.without-brains.net/archives/332#comments</comments>
		<pubDate>Tue, 11 May 2010 17:49:09 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=332</guid>
		<description><![CDATA[It&#8217;s fairly simple to create a USB flash drive that can be used to boot a computer and install Windows Vista (assuming that the computer that you want to install on can boot from a USB flash drive). To get your USB flash drive ready you need the following:

USB flash drive of the appropriate size [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s fairly simple to create a USB flash drive that can be used to boot a computer and install Windows Vista (assuming that the computer that you want to install on can boot from a USB flash drive). To get your USB flash drive ready you need the following:</p>
<ul>
<li>USB flash drive of the appropriate size (I used a 6GB drive)</li>
<li>Windows Vista install DVD</li>
<li>Computer that has Windows Vista installed, a DVD drive and has a free USB slot (for use with the USB flash drive)</li>
</ul>
<p><span id="more-332"></span>Open the command prompt on the computer that is already running Windows Vista (cmd.exe) and start &#8220;diskpart&#8221; (Yes, Windows XP also has diskpart, however the version I had on my XP box didn&#8217;t allow me to make flash drives bootable). diskpart gives you it&#8217;s own command prompt, identify the flash drive by typing &#8220;list disk&#8221;. Once you have determined which disk is the flash drive type &#8220;select disk x&#8221;, where x is the number in the list returned by diskpart. Type the following commands:</p>
<ul>
<li>clean</li>
<li>create partition primary</li>
<li>select partition 1</li>
<li>active</li>
<li>format fs=fat32</li>
<li>assign</li>
<li>exit</li>
</ul>
<p>The above commands will remove any existing partitions from the selected disk (which is why it is important that you are absolutely certain that you selected the correct disk, if you mess this up any data that was on the drive is gone!), create a new primary partition, make it bootable, format it as a FAT32 disk, assign it a drive letter, and then exit the diskpart program.</p>
<p>Open Windows explorer to identify what drive letter the USB flash drive now has. Insert the Windows Vista installation DVD in your DVD drive. Go back to the command prompt and type the following command: &#8220;xcopy x:\*.* /s /e /f y:\&#8221; (where x is the drive letter of your DVD drive and y is the drive letter of your USB flash drive). Once the xcopy command is complete your USB flash drive is ready!</p>
<p>Note: When installing Windows Vista on a computer with multiple hard drives Windows Vista will refuse to install on any other disk than the first (in my experience at least).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/332/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>How to build and release Rubygems</title>
		<link>http://www.without-brains.net/archives/286</link>
		<comments>http://www.without-brains.net/archives/286#comments</comments>
		<pubDate>Sat, 03 Apr 2010 05:48:20 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=286</guid>
		<description><![CDATA[Yehuda Katz wrote up an excellent description of the procedures to build and release gems on his blog. You can find it here: http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/
]]></description>
			<content:encoded><![CDATA[<p>Yehuda Katz wrote up an excellent description of the procedures to build and release gems on his <a title="blog" href="http://yehudakatz.com/">blog</a>. You can find it here: <a href="http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/">http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.without-brains.net/archives/286/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>Upgraded to WordPress 2.9.2</title>
		<link>http://www.without-brains.net/archives/279</link>
		<comments>http://www.without-brains.net/archives/279#comments</comments>
		<pubDate>Wed, 17 Feb 2010 20:12:05 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.without-brains.net/?p=279</guid>
		<description><![CDATA[I have upgraded without-brains.net to WordPress 2.9.2  
]]></description>
			<content:encoded><![CDATA[<p>I have upgraded without-brains.net to <a title="WordPress website" href="http://www.wordpress.org">WordPress</a> 2.9.2 <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/279/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
