<?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; mac</title>
	<atom:link href="http://dibon.net/wordpress/tag/mac/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>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>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>
