<?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>expatiari expatria</title>
	<atom:link href="http://genaud.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://genaud.net</link>
	<description>genaud.net</description>
	<lastBuildDate>Fri, 16 Jul 2010 03:56:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Meter per degree longitude</title>
		<link>http://genaud.net/2010/06/meter-per-degree-longitude/</link>
		<comments>http://genaud.net/2010/06/meter-per-degree-longitude/#comments</comments>
		<pubDate>Sun, 13 Jun 2010 20:34:02 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[greenland]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[latitude]]></category>
		<category><![CDATA[length]]></category>
		<category><![CDATA[longitude]]></category>
		<category><![CDATA[meter]]></category>
		<category><![CDATA[minute]]></category>
		<category><![CDATA[nautical mile]]></category>
		<category><![CDATA[second]]></category>

		<guid isPermaLink="false">http://genaud.net/?p=472</guid>
		<description><![CDATA[Spurred by a mnemonic game while hiking in both fog and mountains, I am now trying to memorize GPS coordinates. But just how many of those little digits must I keep in my head? How big is a degree of longitude anyway?

Naively, we can divide the 40 megameter earth circumference by 360° and divide again [...]]]></description>
			<content:encoded><![CDATA[<p>Spurred by a mnemonic game while hiking in both fog and mountains, I am now trying to memorize GPS coordinates. But just how many of those little digits must I keep in my head? How big is a degree of longitude anyway?</p>
<p><img src="http://homepage.mac.com/kvmagruder/images/latitude.gif" width="300" align="right" /></p>
<p>Naively, we can divide the 40 megameter earth circumference by 360° and divide again by 60&#8242; minutes and maybe 60&#8243; again for seconds. And for latitude, that&#8217;s pretty damn close, about 15 cm short of a nautical mile. But like most spinning objects, the Earth is a little fat around the middle and not wrinkle-free, which throws a wrench in our trigonometry.</p>
<p>One latitudinal minute is 1842m on the equator, 1862 meters at the poles, with an average of 1852m defining a nautical mile, or roughly 111 km per degree. However, longitudinal lengths vary greatly as a trigonometric function of degrees from the equator, simplified as:</p>
<pre>
degree longitude = 111km * cos(latitude)
</pre>
<p>Using a bit more sophisticated equations, I&#8217;ve plotted a few longitudinal lengths (error < 1%):</p>
<table />
<table cellpadding="5">
<tr>
<th rowspan="2" align="right">latitude</th>
<th colspan="2" align="right">longitude (meters)</th>
<td rowspan="2"></td>
</tr>
<tr>
<th align="right">degree</th>
<th align="right">minute</th>
</tr>
<tr>
<td width="75" align="right">0°</td>
<td align="right" width="75">111319</td>
<td align="right" width="75">1855</td>
<td width="150"></td>
</tr>
<tr>
<td align="right">15°</td>
<td align="right">107550</td>
<td align="right">1793</td>
<td></td>
</tr>
<tr>
<td align="right">30°</td>
<td align="right">96486</td>
<td align="right">1608</td>
<td align="right">(wiki: 1605.6m)</td>
</tr>
<tr>
<td align="right">45°</td>
<td align="right">78847</td>
<td align="right">1314</td>
<td></td>
</tr>
<tr>
<td align="right">60°</td>
<td align="right">55800</td>
<td align="right">930</td>
<td align="right">(wiki: 925.2m)</td>
</tr>
<tr>
<td align="right">65°</td>
<td align="right">47176</td>
<td align="right">786</td>
<td></td>
</tr>
<tr>
<td align="right">70°</td>
<td align="right">38187</td>
<td align="right">636</td>
<td></td>
</tr>
<tr>
<td align="right">75°</td>
<td align="right">28902</td>
<td align="right">482</td>
<td></td>
</tr>
<tr>
<td align="right">80°</td>
<td align="right">19393</td>
<td align="right">323</td>
<td></td>
</tr>
<tr>
<td align="right">85°</td>
<td align="right">9735</td>
<td align="right">162</td>
<td></td>
</tr>
<tr>
<td align="right">90°</td>
<td align="right">0</td>
<td align="right">0</td>
<td></td>
</tr>
</table>
<p></p>
<p>So, in Nuuk (64° North), a degree latitude is more than twice the length of one degree longitude (about 1858m vs. 815m per minute) and almost ten to one at 86°.</p>
<p>Putting a box around Nuuk, the downtown southwest corner is N 64°09.7 W 51°45.2 and the northeast corner (north of the airport and west of Qinngorput 2010) is roughly N 64°12 W 51°40. One significant decimal seems appropriate downtown for an order of 100m precision, while 1km precision should be good enough for finding an airport &#8211; on foot at least. Three significant decimals is more precise than GPS provides as of 2010.</p>
]]></content:encoded>
			<wfw:commentRss>http://genaud.net/2010/06/meter-per-degree-longitude/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nuuk vejr</title>
		<link>http://genaud.net/2010/06/nuuk-vejr/</link>
		<comments>http://genaud.net/2010/06/nuuk-vejr/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 17:54:40 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://genaud.net/?p=466</guid>
		<description><![CDATA[METAR, etc

]]></description>
			<content:encoded><![CDATA[<p><a href="http://genaud.net/wind/bggh/index.html">METAR, etc</a><br />
<img src="http://servlet.dmi.dk/byvejr/servlet/byvejr_dag1?by_gl=4250&#038;mode=long" alt="2 day forcast" /><img src="http://servlet.dmi.dk/byvejr/servlet/byvejr?by_gl=4250&#038;tabel=dag3_9" alt="3-9 day forcast" /><img src="http://www.dmi.dk/dmi/nuukvind_1.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_2.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_3.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_4.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_5.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_6.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_7.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_8.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_9.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_10.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_11.gif" /><img src="http://www.dmi.dk/dmi/nuukvind_12.gif" /><img src="http://www.dmi.dk/dmi/isotaklegend2.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://genaud.net/2010/06/nuuk-vejr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xmonad on Lucid Lynx</title>
		<link>http://genaud.net/2010/05/xmonad-on-lucid-lynx/</link>
		<comments>http://genaud.net/2010/05/xmonad-on-lucid-lynx/#comments</comments>
		<pubDate>Tue, 04 May 2010 00:26:09 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[tiling window manager]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[window manager]]></category>
		<category><![CDATA[wm]]></category>
		<category><![CDATA[xmonad]]></category>

		<guid isPermaLink="false">http://genaud.net/?p=447</guid>
		<description><![CDATA[While Gnome on Lucid Lynx is pretty and Gnome has a bunch of features that make window management a bit nicer than before (like Win-w,e,s,n,m) I immediately longed for a decent tiling manager. So, within ten minutes and without further regret:
Get the latest xmonad packages
Unlike Karmic, Lucid repositories have the latest version of Xmonad (0.9).

$ [...]]]></description>
			<content:encoded><![CDATA[<p>While Gnome on Lucid Lynx is pretty and Gnome has a bunch of features that make window management a bit nicer than before (like Win-w,e,s,n,m) I immediately longed for a decent tiling manager. So, within ten minutes and without further regret:</p>
<h2>Get the latest xmonad packages</h2>
<p>Unlike Karmic, Lucid repositories have the latest version of Xmonad (0.9).<br />
<code><br />
$ sudo apt-get update<br />
$ sudo apt-get install xmonad dwm-tools feh<br />
</code></p>
<h2>Switch window manger</h2>
<p>If you&#8217;ve installed vanilla Ubuntu 10.04, you&#8217;ll want to switch from gnome-wm to xmonad.<br />
<code><br />
$ gconftool-2 -g /desktop/gnome/session/required_components/windowmanager<br />
$ gconftool-2 -s /desktop/gnome/session/required_components/windowmanager xmonad --type string<br />
</code></p>
<h2>Start xmonad from script</h2>
<p>We&#8217;re changing one line of xmonad.desktop. Rather than start xmonad directly, we want to run the xmonad.start script.<br />
<code><br />
$ sed s:^Exec=xmonad$:Exec=xmonad.start: /usr/share/xsessions/xmonad.desktop > ~/tmp.xmonad<br />
$ sudo mv ~/tmp.xmonad /usr/share/xsessions/xmonad.desktop</p>
<p>$ sudo wget http://genaud.net/alex/2010/04/xmonad_files/xmonad.start -O /usr/local/bin/xmonad.start<br />
$ sudo chmod +x /usr/local/bin/xmonad.start<br />
</code></p>
<h2>Configure your own xmonad session</h2>
<p>Note, you&#8217;ll need to type colon-quit (:quit) to exit the haskell compiler (ghci). Hopefully all modules load OK.<br />
<code><br />
$ mkdir ~/.xmonad<br />
$ wget http://genaud.net/alex/2010/05/xmonad.hs -O ~/.xmonad/xmonad.hs<br />
$ ghci ~/.xmonad/xmonad.hs<br />
</code></p>
<h2>Configure xmobar</h2>
<p>Xmobar is activated from Win-p. Just start typing the first few characters of the command you want and hit enter.<br />
<code><br />
$ wget http://genaud.net/alex/2010/04/xmonad_files/.xmobarrc -O ~/.xmobarrc<br />
</code></p>
<h2>Finishing touches</h2>
<p>Remove all the panel clutter and add pretty background image.</p>
<ul>
<li>Delete the bottom panel ( Right click > Delete This Panel )</li>
<li>Autohide top panel ( Right click > Properties > Autohide )</li>
<li>Set a desktop image by uncommenting and modifying the &#8220;<code>feh --bg-scale</code>&#8221; line of <code>/usr/local/bin/xmonad.start</code><code></code></li>
</ul>
<h2>Log in to xmonad session</h2>
<p>The moment of truth&#8230; (oh wait, if you&#8217;ve never used xmonad before, take a look at the next section before it&#8217;s too late).</p>
<ul>
<li>Log out</li>
<li>Click on your user</li>
<li>Select Sessions:xmonad (from the bottom, was GNOME)</li>
<li>Type password and Log In</li>
</ul>
<h2>Five important commands</h2>
<p>There are more than a dozen commands. But that&#8217;s it. The steep learning curve immediately plateaus. Print a cheat sheet and you&#8217;ll be a tiling window master in no time. Here are perhaps the most important commands:</p>
<ul>
<li><strong>Win-Shift-Return</strong> &#8211; to open a terminal window</li>
<li><strong>Win-Space</strong> &#8211; toggle between three columns, two columns, two rows, and full screen</li>
<li><strong>Win-Return</strong> &#8211; make selected window the master window</li>
<li><strong>Win-h</strong> &#8211; shrink master window</li>
<li><strong>Win-l</strong> &#8211; expand master window</li>
</ul>
<h2>Some more commands</h2>
<ul>
<li><strong>Win-Shift-c</strong> &#8211; close selected window</li>
<li><strong>Win-1</strong> (or 2,3,4,5,6,7,8,9) &#8211; switch workspace</li>
<li><strong>Win-Shift-1</strong> (or 2,3,4,5,6,7,8,9) &#8211; switch selected window to another workspace</li>
<li><strong>Win-j</strong> (or Win-Tab) &#8211; select next window</li>
<li><strong>Win-k</strong> (or Win-Shift-Tab) &#8211; select previous window</li>
<li><strong>Win-Shift-j</strong> &#8211; switch selected window with next window</li>
<li><strong>Win-Shift-k</strong> &#8211; switch selected window with previous window</li>
<li><strong>Win-,</strong> &#8211; add another window to master area</li>
<li><strong>Win-.</strong> &#8211; remove a window to master area</li>
<li><strong>Win-p</strong> &#8211; start typing a program name, say &#8220;nau&#8221; for &#8220;nautilus&#8221;</li>
<li><strong>Win-q</strong> &#8211; restart xmonad (useful after modifying xmonad.hs config)</li>
<li><strong>Win-Shift-q</strong> &#8211; quit xmonad (quick way to log out)</li>
</ul>
<p>If you Win-(left-mouse drag) you&#8217;ll pop (un-tile) a floating window. You can Win-(right-mouse drag) to change the size and Win-t to set the window back into the tile layout. Some people like this and claim it makes working with Gimp or other dialog boxes easier. At least one person disagrees.</p>
<p>In the animated sequence below, we have three windows. The spreadsheet (white) is the master along with two terminals. The animation demonstrates toggling between two full screen windows, then cycling through four layouts from full screen, three column, two column, two rows, and back to full screen. From the keyboard that would be: Win-j, Win-k, Win-Space, Win-Space, Win-Space, Win-Space, ad nauseum.</p>
<p><center><img src="/alex/2010/05/xmonad-layout-anim-300.gif" alt="toggling between four different layouts" /></center></p>
]]></content:encoded>
			<wfw:commentRss>http://genaud.net/2010/05/xmonad-on-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tea Science</title>
		<link>http://genaud.net/2010/04/tea-science/</link>
		<comments>http://genaud.net/2010/04/tea-science/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 00:19:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[yummy]]></category>

		<guid isPermaLink="false">http://genaud.net/?p=419</guid>
		<description><![CDATA[
Steeping the perfect cup of tea is a science. Most important of course are the tea leaves (or tips and/or stems), then the water, then temperature, then time. However, whether due to laziness or to ignorance, emphasis is too often precisely backwards.
For example, let&#8217;s take a typical but hypothetical New Jersey suburbanite. She uses the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/alex/2010/04/tea_720.png" alt="tea + water + temperature + time" /></p>
<p>Steeping the perfect cup of tea is a science. Most important of course are the tea leaves (or tips and/or stems), then the water, then temperature, then time. However, whether due to laziness or to ignorance, emphasis is too often precisely backwards.</p>
<p>For example, let&#8217;s take a typical but hypothetical New Jersey suburbanite. She uses the lowest quality tea dust, the stuff that fell through every conceivable crack in the cultivation, transportation, separation, and oxidization process (aka tea bags). She then dunks this powdered substance into a cold cup of cold tap water. Finally, she microwaves the tea cup from cold to boiling in precisely 2 minutes and 22 seconds. Why this particular time? Perhaps because 222 is convenient and produces a slightly better cup of tea that 111 or 333. I don&#8217;t know.</p>
<h2>Time and temperature</h2>
<p>Bitter tea is a product of steeping too long and too hot. Steeping too short or too cool will not extract much flavour. Of time and temperature, temperature is most important. Buy a thermometer and always preheat your teapot.</p>
<p>Do not trust recommended temperatures. Well, none but mine, of course. The recommendation is often, but not always, too high (I&#8217;ve never seen a temperature too low). I suspect this is based on the assumption that the average consumer will not preheat the teapot. Experiment; Get to know your teas.</p>
<h2>Water</h2>
<p>Tea is what &#8212; 99% water? You can do everything else right, but if your water sucks, so will your tea. An unfortunate population must boil a bitter perfumed black tea to mask foul liquid they call water. If you can not afford clean water, there are <a href="http://www.wssinfo.org/">people who can help</a>.</p>
<h2>Tea</h2>
<p>Tea quality is not entirely subjective. First of all, what may be called tea is not always, in fact, tea. Herbal &#8216;tea&#8217; is not tea. Jasmine is not tea, nor is vanilla, rooiboos, bergamot, any type of fruit, oil, scent, spice, essence, perfume, grain, nor chemical. Only one humble species of plant, <a href="http://en.wikipedia.org/wiki/Camellia_sinensis">Camellia sinensis</a>, is tea.</p>
<p>C. sinensis, also exclusively know as tea, has a few subspecies which are processed in generally four varieties, depending on the level of oxidization: white, green, oolong, and black. The quality of the leaves range from whole tips and leaves to powdered dust. Tea degrades in light and moisture. Otherwise, there is great diversity of flavour, colour, feel, scent, texture, and other subjective attributes.</p>
<h2>Choosing a tea</h2>
<p>Price is a poor gauge of quality or likely preference. My every day &#8216;table&#8217; oolong from Fujian is half the price of a popular but inferior grade tea (purportedly from either France or Russia) and a seventh of the cost of a famous Wudong oolong I find nearly undrinkable. My absolute favourite oolong from Taiwan is priced somewhere between the latter two.</p>
<p><center><br />
<table width="70%">
<tr>
<th colspan="10">price of most recently purchased teas, from least to most appreciated</th>
</tr>
<tr>
<th colspan="2">least appreciated</th>
<th colspan="6">$ / 100g</th>
<th colspan="2">most appreciated</th>
</tr>
<tr>
<th width="10%">7</th>
<th width="10%">76</th>
<th width="10%">17</th>
<th width="10%">47</th>
<th width="10%">11</th>
<th width="10%">11</th>
<th width="10%">16</th>
<th width="10%">28</th>
<th width="10%">20</th>
<th width="10%">38</th>
</tr>
</table>
<p></center></p>
<p>Find the tea variety you like best. Let me suggest some starting points. Silver Needle is the finest white tea by definition, otherwise White Peony is a fine choice. Gyokuro is the best Japanese green, but Sencha is the cheaper gold standard. Oolongs range anywhere between flowery perfume to rich caramel roasts. <a href="http://www.rishi-tea.com/store/wuyi-oolong-organic-oolong-tea.html">Wuyi Oolong</a> (at 85 C) is my benchmark for all teas. Similarly, there is an enormous variety of black teas, from the light (technically oolong) Darjeeling to Keemun, Assam, and finally the powerful (almost fishy) shu pu&#8217;erh.</p>
<p>To understand teas, you must resist the temptation to cloak tea in <a href="http://www.google.com/search?q=%22George+Carlin%22+%22I+would+like+to+talk+to+you+about+fruit-flavored+teas.%22">scents, fruits, or oils</a>. If your tea is unpalatable without sugar then (A) your tea sucks, (B) you&#8217;ve stewed it too hot, or (C) you don&#8217;t actually like tea.</p>
<h2>Preparing tea</h2>
<p>For sampling teas, I recommend the <a href="http://en.wikipedia.org/wiki/Gongfu_Cha">Gongfu Cha Dao</a> method (yeah, that&#8217;s right, the kungfu of tea). While the Japanese, British, and others have ritualized tea making and pomp, only the Chinese ceremony focuses on flavour above all else.</p>
<p>Until you&#8217;re a black belt kungfu tea master, you will require a thermometer, timer and a kettle. Additionally, kungfu tea requires a tiny teapot (1-2 dL), a cooling pitcher, small cups, and of course crisp spring water and fine tea leaves. The Taiwanese introduce a few other tools, though I insist only on a fair pitcher. If you&#8217;ve got a catching tray, lucky you; I use four plates on which I have a yixing teapot, two matching pitchers and on the last plate, four small thin wide cups.</p>
<p><center><img src="http://genaud.net/alex/2009/10/gongfucha_500x172_300ms.gif" alt="Gongfu Cha animated" /></center></p>
<p>I pour hot (nearly boiling) water into the empty teapot and cooling pitcher. I place the thermometer into the cooling pitcher and wait for the appropriate temperature for the particular tea leaves (If I loose my zen, I may transfer some water between cups to accelerate the cooling process). When the temperature of the water in the cooling pitcher is almost perfect, I start boiling some more water and pour the teapot water evenly into the cups. In other words, get everything hot and slowly cool down.</p>
<p>I add the leaves to the teapot. Now the cycle begins.</p>
<p>I immediately pour the water from the cooling pitcher to the teapot (and tea). I set the timer (in reality, I just glance at the music player). I then refill the cooling pitcher with a fresh splash of nearly boiling water.</p>
<p>This last step is tricky and is what makes this something of an art. You want the cooling water to reach the perfect temperature at the same moment the tea has completed steeping. It&#8217;s actually a bit more complex than that; You don&#8217;t want to keep water perpetually boiling because it will loose oxygen and become flat, so you&#8217;ve got to sync the boiling, cooling, and steeped tea. This is kungfu, remember.</p>
<p>Anyway, once the tea has steeped at the perfect temperature for the perfect amount of time, pour your perfect tea from the teapot to the fair pitcher. Pour the perfectly warm water from the cooling pitcher to the teapot. Set the timer. Pour the tea from the fair pitcher to the emptied warm cups. Pour nearly boiling water from the kettle to the cooling pitcher. Enjoy your tea. Repeat.</p>
<p>To maximize this perfect absurdity, check out the <a href="http://en.wikipedia.org/wiki/Gongfu_tea_ceremony#Taiwan">Taiwanese additions</a> which include scent cups. Each video on the net is worse than the next. Best of luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://genaud.net/2010/04/tea-science/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Xmonad on Karmic Koala</title>
		<link>http://genaud.net/2010/04/xmonad-on-karmic-koala/</link>
		<comments>http://genaud.net/2010/04/xmonad-on-karmic-koala/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 04:06:45 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tiling]]></category>
		<category><![CDATA[tiling window manager]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xmonad]]></category>

		<guid isPermaLink="false">http://genaud.net/?p=395</guid>
		<description><![CDATA[Xmonad is a tiling window manager that wastes neither time nor screen real estate. It does away with decorations, giving windows the space they need, but no more. The learning curve is a steep eight commands or so.
This tutorial should get you up to speed quickly with Xmonad on Ubuntu 9.10 Karmic Koala.

You will be [...]]]></description>
			<content:encoded><![CDATA[<p>Xmonad is a tiling window manager that wastes neither time nor screen real estate. It does away with decorations, giving windows the space they need, but no more. The learning curve is a steep eight commands or so.</p>
<p>This tutorial should get you up to speed quickly with Xmonad on Ubuntu 9.10 Karmic Koala.</p>
<p><a href="/alex/2010/04/xmonad-pix-full.png"><img src="/alex/2010/04/xmonad-pix-720.png" alt="Several tiled and a floating window" /></a></p>
<p>You will be changing your window manager, which is a major part of your graphical user interface, where it&#8217;s far easier to get yourself into a mess than get yourself out. If that scares you or loosing all your data doesn&#8217;t sound like fun, then this may not be for you.</p>
<p>You may want to download the <a href="/alex/2010/04/xmonad_files.zip">config files</a> and read through the entire tutorial first. If you lack the luxury of two computers, I recommend printing this page out. Remember Ctrl-Alt-F1 through F6 are your terminal friends.</p>
<h2>Get Xmonad 0.9</h2>
<p><code>$ sudo add-apt-repository ppa:justinbogner/ppa<br />
$ sudo apt-get update<br />
$ sudo apt-get install xmonad libghc6-xmonad-dev libghc6-xmonad-contrib-dev dwm-tools feh</code></p>
<h2>Set the Gnome window manager</h2>
<p>Set to xmonad after printing the old windowmanager:<br />
<code>$ gconftool-2 -g /desktop/gnome/session/required_components/windowmanager<br />
$ gconftool-2 -s /desktop/gnome/session/required_components/windowmanager xmonad --type string</code></p>
<p>Karmic Koala comes preinstalled with a <code>/usr/share/applications/xmonad.desktop</code> file that should work just fine, though <a href="http://haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome#Setting_up_Gnome_to_use_Xmonad">Haskellwiki recommends</a> that <code>X-GNOME-Autostart-Notify</code> is set to false (I&#8217;ve noticed no difference either way).</p>
<h2>Xmonad.start</h2>
<p>You will have to change a single line of a different xmonad.desktop file. The Exec in <a href="/alex/2010/04/xmonad_files/xmonad.desktop">/usr/share/xsessions/xmonad.desktop</a> must be <code>xmonad.start</code> rather than just <code>xmonad</code>. Download this file or make the Exec change manually.</p>
<p>Download <a href="/alex/2010/04/xmonad_files/xmonad.start">/usr/local/bin/xmonad.start</a> and make sure it is executable.<br />
<code>$ sudo chmod +x /usr/local/bin/xmonad.start</code></p>
<h2>Xmonad config header</h2>
<p>Download and by all means customize <a href="/alex/2010/04/xmonad_files/xmonad.hs">~/.xmonad/xmonad.hs</a> . I changed the mod key from Left-Alt to the Left-Win key (mod4Mask).</p>
<p>Be sure to compile/link the header with:<br />
<code>$ ghci ~/.xmonad/xmonad.hs</code></p>
<p>If all runs OK, you can quit with a preceding colon:<br />
<code>Prelude Main> :quit</code></p>
<h2>Xmobar</h2>
<p>Download the optional <a href="/alex/2010/04/xmonad_files/.xmobarrc">~/.xmobarrc</a> for Xmobar (a text based quick launcher with other candy).</p>
<h2>Finishing touches</h2>
<p>I killed the default Ubuntu bottom panel (right click &#8216;Delete this panel&#8217;) because Xmonad has it&#8217;s own workspaces, makes the taskbar redundant, and makes cleaning the desktop unnecessary. Further I hide the top panel (right click &#8220;Properties&#8221; autohide) so that full screen lives up to the name.</p>
<p>You may get away with logging into a Gnome session, otherwise, set Session to XMonad (under the login prompt). Though the latter is probably optimal, it does require you to set your background image again, if you so desire. Just uncomment and modify the &#8220;<code>feh --bg-scale</code>&#8221; line of <code>/usr/local/bin/xmonad.start</code>.</p>
<h2>Necessary reading</h2>
<p>The configuration above is a mix and match <a href="http://www.haskell.org/pipermail/xmonad/2009-November/009060.html">from</a> <a href="http://haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome">these</a> <a href="http://arjuna.deltoso.net/articoli/my-configuration-of-xmonad-window-manager-with-xmobar-and-trayer/en">four</a> <a href="http://jjinux.blogspot.com/2009/11/linux-my-xmonad-setup.html">pages</a> and my own seasonings.</p>
<p>I highly recommend <a href="http://xmonad.org/tour.html#open">this short tutorial</a> (note that my configuration uses the Left-Win mod key rather than Alt mod key). Ten minutes later, you can check out the <a href="http://xmonad.org/manpage.html">tiny manual</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://genaud.net/2010/04/xmonad-on-karmic-koala/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.548 seconds -->
<!-- Cached page served by WP-Cache -->
