<?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>Ole Bakstad&#039;s blog &#187; OS</title>
	<atom:link href="http://dibon.net/wordpress/category/os/feed/" rel="self" type="application/rss+xml" />
	<link>http://dibon.net/wordpress</link>
	<description>About stuff that happens, when it happens, if it happens.</description>
	<lastBuildDate>Mon, 15 Jun 2009 20:08:57 +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>Steve Jobs on good vs. great artists</title>
		<link>http://dibon.net/wordpress/steve-jobs-on-good-vs-great-artists/</link>
		<comments>http://dibon.net/wordpress/steve-jobs-on-good-vs-great-artists/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 20:07:28 +0000</pubDate>
		<dc:creator>Ole Bakstad</dc:creator>
				<category><![CDATA[Crap]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[fanboys]]></category>
		<category><![CDATA[jobs]]></category>
		<category><![CDATA[picasso]]></category>
		<category><![CDATA[ripoff]]></category>
		<category><![CDATA[stealing]]></category>
		<category><![CDATA[steve]]></category>

		<guid isPermaLink="false">http://dibon.net/wordpress/?p=126</guid>
		<description><![CDATA[
Take that you apple fanboys out there who says every god damn cellphone or whatever is a ripoff of the iPhone or the Macintosh!
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/CW0DUg63lqU&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/CW0DUg63lqU&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Take that you apple fanboys out there who says every god damn cellphone or whatever is a ripoff of the iPhone or the Macintosh!</p>
]]></content:encoded>
			<wfw:commentRss>http://dibon.net/wordpress/steve-jobs-on-good-vs-great-artists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change TAB behavior in Firefox</title>
		<link>http://dibon.net/wordpress/change-tab-behavior-in-firefox/</link>
		<comments>http://dibon.net/wordpress/change-tab-behavior-in-firefox/#comments</comments>
		<pubDate>Sun, 17 May 2009 10:40:39 +0000</pubDate>
		<dc:creator>Ole Bakstad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS]]></category>
		<category><![CDATA[Tips & Hints]]></category>
		<category><![CDATA[behavior]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://dibon.net/wordpress/?p=116</guid>
		<description><![CDATA[Before I started using Linux as my default OS I used Mac OS for 5 years. In Mac OS the TAB key behaves different in Firefox than Ubuntu (my preferred distro). When using the TAB key in Mac OS it focuses on input fields only rather than every object (images, links, whatever) in a web [...]]]></description>
			<content:encoded><![CDATA[<p>Before I started using Linux as my default OS I used Mac OS for 5 years. In Mac OS the TAB key behaves different in Firefox than Ubuntu (my preferred distro). When using the TAB key in Mac OS it focuses on input fields only rather than every object (images, links, whatever) in a web page .</p>
<p>Today I finally took the time to find out what the difference between the Firefox in Mac OS and Ubuntu. I opened the about:config and searched for &#8220;tab&#8221;, and what do you know. I found an option called &#8220;accessibility.tabfocus&#8221; which was set to the value &#8220;7&#8243;.</p>
<p>A quick google search brought me to <a href="http://kb.mozillazine.org/Accessibility.tabfocus">this</a> site which tells you everything you want to know about accessibility.tabfocus.</p>
<p>If you want TAB behavior like the one in Mac OS you simply change the value of accessibility.tabfocus to &#8220;1&#8243;, et voilà, it works!</p>
<p>You can combine options. For example you can set the value &#8220;3&#8243; to select any form element on a web page. Read more at <a href="http://kb.mozillazine.org/Accessibility.tabfocus">http://kb.mozillazine.org/Accessibility.tabfocus</a>.</p>
<p><strong>edit:</strong></p>
<p>For those who didn&#8217;t know; you can press Shift+TAB to focus the <em>previous</em> selected element.</p>
]]></content:encoded>
			<wfw:commentRss>http://dibon.net/wordpress/change-tab-behavior-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Spotify URI&#8217;s working with wine</title>
		<link>http://dibon.net/wordpress/get-spotify-uris-working-with-wine/</link>
		<comments>http://dibon.net/wordpress/get-spotify-uris-working-with-wine/#comments</comments>
		<pubDate>Sun, 17 May 2009 09:43:58 +0000</pubDate>
		<dc:creator>Ole Bakstad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Hints]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[spotify]]></category>
		<category><![CDATA[uri]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://dibon.net/wordpress/?p=114</guid>
		<description><![CDATA[This may be old news, but I didn&#8217;t notice this before today (thanks to Emil for the tip):
You can actually get the Spotify URI&#8217;s to work with wine!
To get this working for Firefox all you have to do is:
Make a runable bash script
echo '#!/bin/sh' &#62; ~/.browser2spotify
echo 'exec wine "C:\Program Files\Spotify\spotify.exe" /uri "$@"' &#62;&#62; ~/.browser2spotify
chmod 755 [...]]]></description>
			<content:encoded><![CDATA[<p>This may be old news, but I didn&#8217;t notice this before today (thanks to Emil for the tip):<br />
You can actually get the Spotify URI&#8217;s to work with wine!</p>
<p>To get this working for <a href="http://getfirefox.com">Firefox</a> all you have to do is:</p>
<p><strong>Make a runable bash script</strong></p>
<p><code>echo '#!/bin/sh' &gt; ~/.browser2spotify<br />
echo 'exec wine "C:\Program Files\Spotify\spotify.exe" /uri "$@"' &gt;&gt; ~/.browser2spotify<br />
chmod 755 ~/.browser2spotify</code></p>
<p><strong>Add settings to Firefox</strong></p>
<p>First open the config window (type about:config in the address field).</p>
<p>You now want to add the following options:</p>
<p><strong>network.protocol-handler.external.spotify = True<br />
</strong><strong>network.protocol-handler.app.spotify = ~/.browser2spotify</strong></p>
<p>The last option may vary depending on where you put your browser2spotify script.</p>
<p>You can find everything in this post at <a href="http://www.spotify.com/en/help/faq/wine/">http://www.spotify.com/en/help/faq/wine/</a>. They also have a howto for <a href="http://opera.com">Opera</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://dibon.net/wordpress/get-spotify-uris-working-with-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to FAIL twice in one day</title>
		<link>http://dibon.net/wordpress/how-to-fail-twice-in-one-day/</link>
		<comments>http://dibon.net/wordpress/how-to-fail-twice-in-one-day/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 12:45:09 +0000</pubDate>
		<dc:creator>Ole Bakstad</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[:(]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://dibon.net/wordpress/?p=39</guid>
		<description><![CDATA[Have you ever wondered how you could FAIL twice in one day? Sure you have!
Here are two tips to get you going:
Tip one: The ATI graphics driver install
When installing the ATI drivers for your graphic card in Ubuntu: Never ever check what graphic card you really have, take a guess and stick to it. Be [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how you could FAIL twice in one day? Sure you have!</p>
<p>Here are two tips to get you going:</p>
<h5>Tip one: The ATI graphics driver install</h5>
<p>When installing the ATI drivers for your graphic card in Ubuntu: Never ever check what graphic card you really have, take a guess and stick to it. Be sure to spent at least 2 hours trying everything from hacking with the aticonfig-tool to reinstalling the same driver. After two hours (or more) you&#8217;ll might find out that you have a X1600 card, instead of a X1300, then the solution becomes fairly obvious. Instead of using 2+ hours you could have done it in about 30 seconds with the correct drivers. But hey, whats the fun in that?! :_((</p>
<h5>Tip two: The famous 5-minute WP installation</h5>
<p>When you&#8217;re about to update WordPress from the 2.6.x to the 2.7.x be sure that you don&#8217;t have any backup what so ever! This is a key step to get this guide to work. If you have backup of your wp-config.php, theme files etc. there is no fun in doing this. Delete them right away!</p>
<p>Now, download then newest wordpress version. Before you continue with the actual install you have to make sure that some of the folders have some strange permissions (Why? I don&#8217;t know). If you don&#8217;t do this your FTP-client (I assume do use FTP) will just overwrite the files and all the fun is gone. Instead you will have a mix of new and old files side by side! Now you have to upload everything from the newly downloaded version of WP and check that the FTP-client is set to overwrite all files.</p>
<p>When the upload is finished you try visiting your blog page, and what do you know, the update has fucked up! At this point it&#8217;s important to get frustrated and just delete the whole shebang and try the good old reinstall. The reinstall seems to work, all the files is installing in the right way and everything is great! Now you go to you blog page. What do you see? &#8220;There doesn&#8217;t seem to be a wp-config.php file. [...]&#8220;. &#8220;wtf?!&#8221; might be your first response, but then you remember, you deleted all the WP-files a couple of minutes ago, including wp-config.php of course.</p>
<p>One should think that missing the wp-config.php isn&#8217;t <em>that</em> bad, basically it&#8217;s just information to log in to your MySQL database. Well, if you want to make things really interesting you have cleverly disguised your WP-database with a non-describing name. After some minutes looking through your databases you find the database with contains the WP data, and everything seems to go your way.</p>
<p>FINALLY! The blog is back, or wait, what the hell is this?! &#8211; The default wordpress theme?! Yes, that&#8217;s right. Don&#8217;t you remember? You deleted all your old theme files &#8211; and you don&#8217;t have any backup! Oh well, it shouldn&#8217;t take more than a couple of hours to get a working theme up and  running again. Enjoy! :(</p>
<h5>Summary</h5>
<p>Yesterday sucked monkey balls :(</p>
]]></content:encoded>
			<wfw:commentRss>http://dibon.net/wordpress/how-to-fail-twice-in-one-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Norwegian mac keyboard layout in Ubuntu</title>
		<link>http://dibon.net/wordpress/norwegian-mac-keyboard-layout-in-ubuntu/</link>
		<comments>http://dibon.net/wordpress/norwegian-mac-keyboard-layout-in-ubuntu/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 13:24:07 +0000</pubDate>
		<dc:creator>Ole Bakstad</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Tips & Hints]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[norsk]]></category>
		<category><![CDATA[norwegian]]></category>

		<guid isPermaLink="false">http://dibon.net/wordpress/?p=38</guid>
		<description><![CDATA[For the last years I&#8217;ve been using Mac OS X, but now I&#8217;m running Ubuntu. Ubuntu has very much functionality build in, but the Norwegian mac keyboard layout isn&#8217;t that great out of the box.
There are three steps required to get the layout partially[NB!] right:

Change 3rd level chooser and switch Alt / Win (cmd) key.
Edit [...]]]></description>
			<content:encoded><![CDATA[<p>For the last years I&#8217;ve been using Mac OS X, but now I&#8217;m running Ubuntu. Ubuntu has very much functionality build in, but the Norwegian mac keyboard layout isn&#8217;t that great out of the box.</p>
<p>There are three steps required to get the layout <em>partially</em><sup>[NB!]</sup> right:</p>
<ol>
<li>Change 3rd level chooser and switch Alt / Win (cmd) key.</li>
<li>Edit the XKB-file to get keys right.</li>
<li>Set the keyboard in  Ubuntu to &#8220;Norway Macintosh&#8221;</li>
</ol>
<h5>Step 1:</h5>
<p>Open the keyboard settings (System -&gt; Preferences -&gt; Keyboard) and click the &#8220;Layouts&#8221; tab. Then click the &#8220;Other options&#8230;&#8221; button.</p>
<p>1.1) Press &#8220;Alt/Win key behavior&#8221; and choose &#8220;Left Alt is swapped with left Win-key&#8221;.<br />
1.2) Press &#8220;Third level choosers&#8221; and select &#8220;Press any of Alt keys to choose 3rd level&#8221; (or &#8220;Press left Alt keys to choose 3rd level&#8221;).</p>
<h5>Step 2:</h5>
<p>This part is a bit more tricky.</p>
<p>Open the terminal and open the folder &#8220;/usr/share/X11/xkb/symbols&#8221;</p>
<p><code>$ cd /usr/share/X11/xkb/symbols</code></p>
<p>The file we are going to edit is named &#8220;no&#8221;, but before we begin lets backup the file!<br />
From now on every command run as root (noted by #).</p>
<p><code># cp no no_backup</code></p>
<p>Now open the &#8220;no&#8221;-file with your favorite editor, I&#8217;m using <a href="http://www.vim.org/">VIM</a>.</p>
<p><code># vim no</code></p>
<p>Scroll down to the part which starts with:</p>
<p><code>// Copied from macintosh_vndr/no<br />
partial alphanumeric_keys<br />
xkb_symbols "mac" {</code></p>
<p>You now need to change the following lines:</p>
<p><code>key &lt;TLDE&gt;  { [      bar,    section, brokenbar, paragraph    ] };<br />
to:<br />
<strong>key &lt;TLDE&gt;  { [      apostrophe, </strong><strong>paragraph, bar, brokenbar ] };</strong></code></p>
<p>And:</p>
<p><code>key &lt;AE04&gt;    { [         4,  currency,       dollar,       dollar ]    };<br />
to:<br />
<strong>key &lt;AE04&gt;    { [         4,   dollar,       currency,       dollar ]    };</strong></code></p>
<p>Then save.</p>
<h5>Step 3:</h5>
<p>The only thing remaining is to select &#8220;Norwegian Macintosh&#8221; as your default keyboard layout.<br />
In System -&gt; Preferences -&gt; Keyboard, press the &#8220;Layouts&#8221;-tab and press the &#8220;+&#8221;-button.</p>
<p>If everything is done right you should have the basic Norwegian mac layout.</p>
<h5>NB!</h5>
<p>This layout is <em>not</em> equivalent to the real Norwegian mac layout. There is a lot of keys that needs mapping to do so. The original layout looks like <a href="http://files.dibon.net/xkb/macos_kb.html">this</a> (keys are pressed from left to right).</p>
<h5>Edit:</h5>
<p>It seems that if you use the newer versions of Apple&#8217;s keyboard you have to change the setup for the TLDE-key and the LSGT-key. I don&#8217;t know why, but it works!</p>
]]></content:encoded>
			<wfw:commentRss>http://dibon.net/wordpress/norwegian-mac-keyboard-layout-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>
