<?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; ubuntu</title>
	<atom:link href="http://nathanhowell.net/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://nathanhowell.net</link>
	<description></description>
	<lastBuildDate>Fri, 09 Apr 2010 05:24:49 +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>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>1</slash:comments>
		</item>
		<item>
		<title>A few notes on Xen and Ubuntu 8.04</title>
		<link>http://nathanhowell.net/2008/06/23/a-few-notes-on-xen-and-ubuntu-8-04/</link>
		<comments>http://nathanhowell.net/2008/06/23/a-few-notes-on-xen-and-ubuntu-8-04/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 03:27:00 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">nathanhowell.net/2008/06/23/a-few-notes-on-xen-and-ubuntu-8-04</guid>
		<description><![CDATA[I updated my gutsy (7.10) server to hardy (8.04) recently, and ran across a few little problems that I wanted to post somewhere useful.


There are networking issues with the Ubuntu Xen kernel. You have to download a patched kernel, which is linked from this helpful howto. There are several bugs in launchpad about this.


Updating xen-utils-3.1 [...]]]></description>
			<content:encoded><![CDATA[<p>I updated my gutsy (7.10) server to hardy (8.04) recently, and ran across a few little problems that I wanted to post somewhere useful.</p>
<ol>
<li>
<p>There are networking issues with the Ubuntu Xen kernel. You have to download a patched kernel, which is linked from <a href="http://www.howtoforge.com/ubuntu-8.04-server-install-xen-from-ubuntu-repositories">this helpful howto</a>. There are several bugs in launchpad about this.</p>
</li>
<li>
<p>Updating xen-utils-3.1 to 3.2 (and removing the 3.1 package) removes a needed symlink. <a href="https://bugs.launchpad.net/ubuntu/+source/xen-3.2/+bug/236262">It&#8217;s this bug</a>.</p>
</li>
<li>
<p>Apparently a reboot is needed between installing xen-hypervisor-3.2 and xen-utils-3.2.</p>
</li>
</ol>
<p>I like Ubuntu a lot, I really do, but it would be nice to have a release that actually worked with Xen for once.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathanhowell.net/2008/06/23/a-few-notes-on-xen-and-ubuntu-8-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time for shiny new Ubuntu. And 64 bit.</title>
		<link>http://nathanhowell.net/2008/03/30/time-for-shiny-new-ubuntu-and-64-bit/</link>
		<comments>http://nathanhowell.net/2008/03/30/time-for-shiny-new-ubuntu-and-64-bit/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 19:22:00 +0000</pubDate>
		<dc:creator>nathan</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">nathanhowell.net/2008/03/30/time-for-shiny-new-ubuntu-and-64-bit</guid>
		<description><![CDATA[The beta of the next Ubuntu release came out recently, so it&#8217;s time for me to upgrade. Usually I just dist-upgrade and keep going, but this time I&#8217;m starting fresh. I&#8217;ve got years of crap built up in my home directory and the system in general (I&#8217;ve been running Ubuntu since the first release in [...]]]></description>
			<content:encoded><![CDATA[<p>The beta of the next <a href="http://ubuntu.com">Ubuntu</a> release came out recently, so it&#8217;s time for me to upgrade. Usually I just dist-upgrade and keep going, but this time I&#8217;m starting fresh. I&#8217;ve got years of crap built up in my home directory and the system in general (I&#8217;ve been running Ubuntu since the first release in 2004, and I don&#8217;t think I&#8217;ve done a fresh install in all that time). Since I&#8217;m starting over anyway, I&#8217;m also giving the 64 bit version a shot. Here&#8217;s a semi-organized collection of impressions and issues:</p>
<p>First impression: it&#8217;s fast. Significantly faster than it was. There are several reasons for this:</p>
<ul>
<li>Fresh install.</li>
<li>Gutsy install was old and had been dist-upgraded all the way from Warty.</li>
<li>Was 32 bit, now 64 bit.</li>
<li>Old PATA drive out, new SATA2 RAID1 in.</li>
</ul>
<p>Second impression: memory usage sure goes up with a 64 bit install. Firefox 3 sits at around 1.1G now; before it was 500-700M. Of course, there&#8217;s a reason I put 4G of RAM in this machine.</p>
<h3>Wacom</h3>
<p>I have a <a href="http://www.wacom.com/bambootablet/bamboofun.cfm">Wacom Bamboo Fun</a> tablet, which I had to get working myself in gutsy. I had expected the driver to be included in hardy, but it isn&#8217;t. Just silly. <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/195636">The stock kernel driver doesn&#8217;t handle the Bamboo Fun at all</a>, and the wacomcpl utility is missing from the wacom-tools package. It doesn&#8217;t look like this will get fixed for hardy.</p>
<h3>Freemind and Java</h3>
<p><a href="http://freemind.sourceforge.net/wiki/index.php/Main_Page">Freemind</a> has been the most trouble so far, but it&#8217;s not hard to fix. First, it needs 32 bit java5 (talking about Freemind 0.8.1 here), so install the ia32-sun-java5-bin package. Then edit or create ~/.freemind/freemindrc and put these lines in it:</p>
<pre><code>export PATH=/usr/lib/jvm/ia32-java-1.5.0-sun-1.5.0.14/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/ia32-java-1.5.0-sun-1.5.0.14
export LIBXCB_ALLOW_SLOPPY_LOCK=1
</code></pre>
<p>The first two make freemind (and only freemind) use that older 32 bit java (<a href="http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux#How_can_I_make_FreeMind_use_a_specific_Java_Virtual_Machine.3F">FAQ</a>), and the last is a workaround for a <a href="https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/87947">java bug</a>. Oh, and install the freemind 0.8.1 package from the freemind site; the version in the ubuntu repo is old.</p>
<h3>Skype</h3>
<p><a href="http://skype.com/">Skype</a> was surprisingly easy to get working. All I did was make sure I had the 32 bit libraries and qt4 installed, and then force installed the <a href="http://www.skype.com/download/skype/linux/choose/">Ubuntu package</a> from the Skype site and it worked (video and all). It doesn&#8217;t seem to support pulseaudio at all though, so I may have to use the pasuspender workaround. There&#8217;s more useful info in <a href="http://ubuntuforums.org/showthread.php?t=432295">this forum post</a>. I&#8217;m not sure about the getlibs script linked in the forum. I ran it and it said it didn&#8217;t do anything, but Skype still works.</p>
<h3>Wine, Flash, and media</h3>
<p><a href="http://www.winehq.org/">Wine</a> works great (all I&#8217;ve been using it for is Portal and Half Life 2). The nspluginwrapper magic that makes flash work causes mildly annoying pauses when loading a web page with flash in it, but it works well enough. I&#8217;ve had no media problems so far, everything that played before still plays. <a href="http://www.gnome.org/projects/totem/">Totem</a> seems to finally work with the <a href="http://gstreamer.freedesktop.org/">gstreamer</a> backend. I&#8217;ve always had to switch to totem-xine to get all my video files to work, but not this time. I use <a href="http://www.mplayerhq.hu/design7/news.html">mplayer</a> most of the time anyway, but it&#8217;s nice to see gstreamer working so well. Of course, I installed the ubuntu-restricted-extras package, and a few others from <a href="http://medibuntu.org/">Medibuntu</a>.</p>
<h3>Mouse buttons</h3>
<p>How is this still a problem? My mouse has a thumb button (usually used as back in browsers). This is pretty common, I think. It also has a tilting mouse wheel. None of these things work by default. The buttons aren&#8217;t even recognized by X. They are not straightforward to get working. <em>Why?</em></p>
<h3>Wrapup</h3>
<p>Overall, I&#8217;m really happy with how Ubuntu 8.04 is looking. Of course, I say that every release. Ubuntu has steadily improved, each release building on the last to make something better every time. A great sign of this progress is the timing of my upgrades. Early on, I&#8217;d just run the development version all the time, moving to it as soon as work on it started. There were always features and fixes that I wasn&#8217;t willing to wait months for. A few releases ago, I stopped doing that. I just didn&#8217;t see any need. Ubuntu was good enough already.</p>
]]></content:encoded>
			<wfw:commentRss>http://nathanhowell.net/2008/03/30/time-for-shiny-new-ubuntu-and-64-bit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
