<?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>Nathan Howell &#187; Uncategorized</title>
	<atom:link href="http://nathanhowell.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathanhowell.net</link>
	<description></description>
	<lastBuildDate>Wed, 26 Jan 2011 06:11:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Switching to Gnome + Xmonad</title>
		<link>http://nathanhowell.net/2010/04/08/switching-to-gnome-and-xmonad/</link>
		<comments>http://nathanhowell.net/2010/04/08/switching-to-gnome-and-xmonad/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 05:24:49 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xmonad]]></category>

		<guid isPermaLink="false">http://nathanhowell.net/?p=71</guid>
		<description><![CDATA[I haven&#8217;t really changed my xmonad config in a long time. I started running it around the time version 0.2 came out, and that was in May, 2007. It didn&#8217;t take me too long to get comfortable with a simple xmonad + dzen setup, so except for upgrading my config to work with new xmonad [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t really changed my <a title="xmonad" href="http://xmonad.org">xmonad</a> config in a long time. I started running it around the time version 0.2 came out, and that was in May, 2007. It didn&#8217;t take me too long to get comfortable with a simple xmonad + <a title="dzen" href="http://sites.google.com/site/gotmor/dzen">dzen</a> setup, so except for upgrading my config to work with new xmonad versions and trying out new contrib modules now and then, not much changed.</p>
<div id="attachment_74" class="wp-caption aligncenter" style="width: 310px"><a href="/wp-content/uploads/2009/03/xmonadgimp.jpg"><img class="size-full wp-image-74  " title="Old screenshot" src="http://nathanhowell.net/wp-content/uploads/2009/03/xmonadgimp-sm-300x187.jpg" alt="" width="300" height="187" /></a><p class="wp-caption-text">My old desktop (the orange looks bad in a jpg, but good on the desktop, trust me)</p></div>
<p>My dzen setup was pretty brittle though, and hard-coded to the screen resolution. And there were too many pieces. Everything started from a bash script, and by everything I mean xmonad, 3 dzens, <a title="stalonetray" href="http://stalonetray.sourceforge.net/">stalonetray</a>, <a title="Gnome Do" href="http://do.davebsd.com/">gnome do</a>, <a title="Music Player Daemon" href="http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki">mpd</a>, various gnome daemons, xbindkeys, xmodmap, xsetroot, xset, and xrdb. It was messy, but it actually worked really well.</p>
<p>Since I upgraded to <a title="Ubuntu Linux" href="http://www.ubuntu.com/">Ubuntu</a> 10.04 (Lucid Lynx), I decided to make another change and get rid of most of that setup. Now I&#8217;m just running <a title="Gnome" href="http://www.gnome.org/">Gnome</a>, with the window manager switched to xmonad. Of course, there are still customizations, but they&#8217;re pretty minor compared to the old setup.</p>
<div id="attachment_83" class="wp-caption aligncenter" style="width: 310px"><a href="http://nathanhowell.net/wp-content/uploads/2010/04/xmonadgnome.jpg"><img class="size-full wp-image-83" title="Shiny new desktop" src="http://nathanhowell.net/wp-content/uploads/2010/04/xmonadgnome-sm.jpg" alt="" width="300" height="188" /></a><p class="wp-caption-text">My shiny new desktop. Yes, that&#39;s a lot of tabs.</p></div>
<p>I just used the <a title="How to replace metacity with xmonad" href="http://haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome#Setting_up_Gnome_to_use_Xmonad">simplest setup</a> to replace <a title="Metacity Window Manager" href="http://en.wikipedia.org/wiki/Metacity">metacity</a> with xmonad, and added the <a title="Xmonad Log Applet" href="http://uhsure.com/xmonad-log-applet.html">xmonad-log-applet</a> so I can continue using some of the same panel setup from dzen. The <a title="Installing xmonad log applet" href="http://haskell.org/haskellwiki/Installing_xmonad_log_applet">installation instructions</a> for that all worked properly, and the only problem I have with the applet is that it doesn&#8217;t seem to handle utf8, so some characters don&#8217;t display properly (like in the title bar of the browser I&#8217;m typing this into).</p>
<p><a href="http://nathanhowell.net/wp-content/uploads/2010/04/xla-chars.jpg"><img class="aligncenter size-full wp-image-72" title="xla-chars" src="http://nathanhowell.net/wp-content/uploads/2010/04/xla-chars.jpg" alt="" width="560" height="36" /></a></p>
<p>The log-applet uses <a title="Pango" href="http://www.pango.org/">pango</a> for text formatting, which is easy enough, and the <a title="Example of using the log applet from xmonad.hs" href="http://git.uhsure.com/?p=xmonad.git;a=blob;f=xmonad.hs">example code for the applet</a> is easy to adapt. I used <a title="Pango formatting reference" href="http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html">this pango reference</a> to get the formatting I wanted, and the log applet blends nicely into the <a href="https://wiki.ubuntu.com/Brand">new Ubuntu theme</a>.</p>
<p>One thing I still wish xmonad supported is <a href="http://en.wikipedia.org/wiki/Compositing_window_manager">compositing</a>. I think it gives a desktop a nice, smooth, solidness that I miss in xmonad. Of course, xmonad more than makes up for the lack by being ridiculously good. I gave <a title="X Compositing Manager" href="http://www.freedesktop.org/wiki/Software/xapps">xcompmgr</a> and <a href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-FadeInactive.html">fadeInactive</a> another try, but it&#8217;s still unreliable and unstable.</p>
<p>Every time I do something like this, I end up taking a look around the <a href="http://haskell.org/haskellwiki/Xmonad">xmonad wiki</a> and in the <a title="Xmonad Contributed Modules" href="http://xmonad.org/xmonad-docs/xmonad-contrib/index.html">contrib modules</a> and finding something useful. This time I found two small ones.</p>
<ol>
<li><a href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-Place.html">Place hook</a>. A simple module that controls where floating windows will appear on the screen. I have mine appear centered on the mouse cursor, but without going offscreen or covering the panel: placeHook (withGaps (24,0,0,0) (inBounds(underMouse (0.5, 0.5))))</li>
<li>fullScreenEventHook. This comes from <a href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-EwmhDesktops.html">EwmhDesktops</a>, but is only in the development version. It just makes hitting F in a video player, or F11 in a browser to go to fullscreen mode work. Previously I was using <a href="http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-ToggleLayouts.html">toggleLayout</a> to switch to a fullscreen layout.</li>
</ol>
<p>Of course, digging in to my config like this also shows that it&#8217;s time for a cleanup in there. There are many bits that I just don&#8217;t use, and there&#8217;s some messiness where my attempts to customize have collided with my lack of <a title="Haskell programming language" href="http://www.haskell.org/">Haskell</a> skills. Still, <a title="Xmonad config file" href="http://github.com/neh/myconfig/tree/master/xmonad/">my config file is on github</a>, so feel free to dig for usefulness. I&#8217;m sure it&#8217;s there somewhere.</p>
<p>My one remaining problem from this upgrade is that I can&#8217;t remap control keys. I was using xmodmap to add two control keys where I could reach them easily, and not having them is really slowing me down. This looks like it&#8217;s due to <a title="Bug #524774" href="https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/524774">this bug</a>, which I really hope gets fixed before release.</p>
<p>Overall, I&#8217;m very happy with this setup. It&#8217;s going to take something really amazing to get me to switch from xmonad.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathanhowell.net/2010/04/08/switching-to-gnome-and-xmonad/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>All right, already</title>
		<link>http://nathanhowell.net/2009/03/04/all-right-already/</link>
		<comments>http://nathanhowell.net/2009/03/04/all-right-already/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 06:29:51 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://nathanhowell.net/?p=53</guid>
		<description><![CDATA[About time I started using this site again. So I updated wordpress, picked out a pretty theme, hooked up twitter, and wrote this post. Hey, it&#8217;s a start.]]></description>
			<content:encoded><![CDATA[<p>About time I started using this site again. So I updated wordpress, picked out a pretty theme, hooked up twitter, and wrote this post. Hey, it&#8217;s a start.</p>
<p><script src="http://s.bit.ly/bitlypreview.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://nathanhowell.net/2009/03/04/all-right-already/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

