<?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>BigSmoke &#187; Ubuntu</title>
	<atom:link href="http://blog.bigsmoke.us/tag/ubuntu/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bigsmoke.us</link>
	<description>Smokes your problems, coughs fresh air.</description>
	<lastBuildDate>Sat, 04 Feb 2012 11:10:31 +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>Fixing a broken Xen DomU after upgrading to Ubuntu 11.4 (Natty)</title>
		<link>http://blog.bigsmoke.us/2011/09/02/fixing-a-broken-xen-domu-after-upgrading-to-ubuntu-11.4-natty</link>
		<comments>http://blog.bigsmoke.us/2011/09/02/fixing-a-broken-xen-domu-after-upgrading-to-ubuntu-11.4-natty#comments</comments>
		<pubDate>Fri, 02 Sep 2011 10:31:49 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[natty]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1981</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>My Xen DomU&#8217;s that I upgraded to 11.4 no longer booted, because the xen-blkfront module is missing from the initramfs. To fix, do this when you get the initramfs prompt:</p>
<p><pre class="php">modprobe xen-blkfront
<a href="http://www.php.net/exit"><span style="color: #000066;">exit</span></a></pre></p>
<p>Then after it&#8217;s booted:</p>
<p><pre class="php">root@ubuntu:~<span style="color: #808080; font-style: italic;"># echo &quot;xen-blkfront&quot; &gt;&gt; /etc/initramfs-tools/modules</span>
root@ubuntu:~<span style="color: #808080; font-style: italic;"># update-initramfs -u </span></pre></p>
<p><a href="http://www.mmacleod.ca/blog/2011/05/ubuntu-natty-narwhal-and-xen/">Source</a>.</p>
<p>Also look at <a href="http://blog.bigsmoke.us/2011/09/02/fixing-a-xen-domus-grub-config">this</a> post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2011/09/02/fixing-a-broken-xen-domu-after-upgrading-to-ubuntu-11.4-natty/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing locale message in Ubuntu when logging in or SCPing</title>
		<link>http://blog.bigsmoke.us/2011/03/22/fixing-locale-message-in-ubuntu-when-logging-in-or-scping</link>
		<comments>http://blog.bigsmoke.us/2011/03/22/fixing-locale-message-in-ubuntu-when-logging-in-or-scping#comments</comments>
		<pubDate>Tue, 22 Mar 2011 09:27:32 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[locales]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1920</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve encountered this error occasionally when loggin in:</p>
<p><pre class="php">-bash: warning: <a href="http://www.php.net/setlocale"><span style="color: #000066;">setlocale</span></a>: LC_ALL: cannot change locale <span style="color: #66cc66;">&#40;</span>nl_NL.UTF<span style="color: #cc66cc;">-8</span><span style="color: #66cc66;">&#41;</span></pre></p>
<p>This breaks things like scp or bzr via sftp. To fix it, I followed <a href="http://www.ubuntugeek.com/how-to-select-and-generate-locales-on-ubuntu.html">this</a> advice:</p>
<p><pre class="php">cd /<span style="color: #000000; font-weight: bold;">var</span>/lib/locales/supported.d
cat /usr/share/i18n/SUPPORTED|grep -i nl &gt; nl
dpkg-reconfigure locales</pre></p>
<p>It&#8217;s not really pretty though; it shouldn&#8217;t give an error at all when a locale is missing. I mean, this way, I have to generate every possible locale to support logins from all over the world&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2011/03/22/fixing-locale-message-in-ubuntu-when-logging-in-or-scping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.10 with kernel 2.6.35-25 shutdown problem as Xen DomU</title>
		<link>http://blog.bigsmoke.us/2011/02/18/ubuntu-10.10-with-kernel-2.6.35-25-shutdown-problem-as-xen-domu</link>
		<comments>http://blog.bigsmoke.us/2011/02/18/ubuntu-10.10-with-kernel-2.6.35-25-shutdown-problem-as-xen-domu#comments</comments>
		<pubDate>Fri, 18 Feb 2011 13:03:25 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[maverick]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1894</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>The current kernel in Ubuntu Maverick has a problem with shutting down when running as a Xen DomU (guest). When the VM has more than 1 VCPU, it won&#8217;t reboot or shutdown.</p>
<p>Just a quick link to <a href="https://bugs.launchpad.net/ubuntu/+source/linux-lts-backport-maverick/+bug/721248">my bugreport</a> about this and <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/695012">a report filed against an earlier kernel</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2011/02/18/ubuntu-10.10-with-kernel-2.6.35-25-shutdown-problem-as-xen-domu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Desktop Linux and Acer TravelMate 7513WSMi</title>
		<link>http://blog.bigsmoke.us/2011/02/03/ubuntu-desktop-linux-and-acer-travelmate-7513wsmi</link>
		<comments>http://blog.bigsmoke.us/2011/02/03/ubuntu-desktop-linux-and-acer-travelmate-7513wsmi#comments</comments>
		<pubDate>Wed, 02 Feb 2011 22:55:17 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Acer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[TravelMate 7513WSMi]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1825</guid>
		<description><![CDATA[My youngest sister has retired her big-ass (17") Acer TravelMate (model 7513WSMi 7510) with a more modern offering from Sony. That was last year. Now, she thought it'd be a good idea to donate it to our oldest sister. But since the thing has always “run” like a pig with Windows Vista, her girl-geek instincts thought it better if I'd equip the old monster with Ubuntu Linux instead.]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.bigsmoke.us/uploads/2011/01/acer-travelmate-7513wsmi.jpg" alt="" title="acer-travelmate-7513wsmi" width="440" height="336" class="alignright size-full wp-image-1833" /></p>
<p>My youngest sister has retired her big-ass (17&#8243;) Acer TravelMate (model 7513WSMi 7510) with a more modern offering from Sony. That was last year. Now, she thought it&#8217;d be a good idea to donate it to our oldest sister. But since the thing has always “run” like a pig with Windows Vista, her girl-geek instincts thought it better if I&#8217;d equip the old monster with Ubuntu Linux instead.</p>
<h2>AMD 64bit</h2>
<p>I&#8217;m also considering upgrading my own laptop to 64 bit. (They&#8217;ve told me that, really, the 32 bit age is over.) So, the first thing I&#8217;m trying to find out (now that I&#8217;m getting on the 64 bit train) is if this thing supports 64 bit. I can&#8217;t really think of a quick way to find out, so I&#8217;m just going to create a 64bit installation CD and see how that works.</p>
<p>…</p>
<p>Or, I could have just popped open the hood to see the “AMD Turion64x2 Mobile Technology” sticker. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_eek.gif' alt='8-O' class='wp-smiley' /> </p>
<h2>Installation</h2>
<p>After changing the boot order, the installation CD (burned from my T61 using “<tt>wodim -data ubuntu-10.10-desktop-amd64.iso</tt>”) seems to be booting despite the worrying sounds that seem to indicate that the laptop is trying to rip apart and eat the disc.</p>
<p>I&#8217;m surprised how good the current installation program looks and that it asks me if I want to “download updates while installing” and “install third-party software”. Nice.</p>
<p>Great idea to ask all the annoying questions (timezone, etc.) during installation instead of after! I&#8217;m amused with how much I&#8217;m behind the time if I see all the promotional screens for new and improved software which is meant to keep me inspired during the installation process. “OpenOffice.org is fully compatible with Microsoft Office[...]” Am I really that much behind with the times? Nah, I can&#8217;t imagine. I must still have some very, very nasty Excel sheet lying around somewhere, gathering dust. If I feed that monster of a thing to OpenOffice, then I&#8217;m pretty sure… Yeah, that&#8217;s going to be fun. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_twisted.gif' alt=':twisted:' class='wp-smiley' /> </p>
<h2>Post-installation configuration</h2>
<p>I had expected to spend at least an hour or two hunting around forums to find solutions for obscure driver-related issues and other nuisances. But no issues popped up. It just worked. Ubuntu is <strong>very</strong> compatible with the Acer TravelMate 7513WSMi! <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>So, I spent some of the time saved on setting a user pic and a few other niceties, but I refrained from doing anything fancy, because I&#8217;ve figured out a new sister support strategy that I might blog about later. (It involves a four-hour work-week&#8230;)</p>
<p>[For my own reference, I started on the first draft of this post on Januari 14.]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2011/02/03/ubuntu-desktop-linux-and-acer-travelmate-7513wsmi/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu and SiS 671 VGA chipset driver</title>
		<link>http://blog.bigsmoke.us/2011/01/18/ubuntu-sis-671-driver</link>
		<comments>http://blog.bigsmoke.us/2011/01/18/ubuntu-sis-671-driver#comments</comments>
		<pubDate>Tue, 18 Jan 2011 21:41:12 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[driver]]></category>
		<category><![CDATA[Esprimo Mobile V5535]]></category>
		<category><![CDATA[Fujitsu Siemens]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SiS 671]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1814</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>The video on my mom&#8217;s laptop, A Fujitsu Siemens Esprimo Mobile V5535, had recently gone awry. At the time, the laptop was running Ubuntu 9.04 (I think). Reconfiguring the driver didn&#8217;t do much good, so I upgraded the machine to 10.04, hoping that that would fix it. It didn&#8217;t.</p>
<pre>
lspci|grep -i vga
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
</pre>
<p>I solved the problem by manually installing a replacement driver that I found through a <a href="http://estebanordano.com.ar/sis-m671m672-driver-for-xorg-xserver-7-5-on-debian-sidux/">blog post</a> that I found through <a href="http://www.ubuntugeek.com/how-to-install-sis-771671-mirage-3-video-drivers-in-ubuntu-10-04-lucid.html">another blog post</a> that I found through a <a href="http://ubuntuforums.org/showthread.php?t=958967&#038;page=38">forum post</a>.</p>
<p>Or something like that. Who cares? The point is that I&#8217;m uploading the files I found here so that I don&#8217;t have to jump through MegaUpload hoops again (and sit through MedaAnnoying ads):</p>
<ul>
<li><a href='http://blog.bigsmoke.us/uploads/2011/01/xorg-driver-sis671-0.9.1-fixed-build.zip'>xorg-driver-sis671-0.9.1-fixed-build.zip</a></li>
<li><a href='http://blog.bigsmoke.us/uploads/2011/01/xorg-driver-sis671-0.9.1-fixed-source.tar.gz'>xorg-driver-sis671-0.9.1-fixed-source.tar.gz</a></li>
</ul>
<p>Installing the binary driver wasn&#8217;t too difficult. (I just always cringe when something happens outside of package management.) <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p><pre class="bash">mkdir sis; <span style="color: #000066;">cd</span> sis
wget http://blog.bigsmoke.us/uploads/<span style="color: #cc66cc;">2011</span>/<span style="color: #cc66cc;">01</span>/xorg-driver-sis671<span style="color: #cc66cc;">-0.9</span><span style="color: #cc66cc;">.1</span>-fixed-build.zip
unzip *zip
sudo cp sis671_drv.* /usr/lib/xorg/modules/drivers
&nbsp;
<span style="color: #808080; font-style: italic;">#Edit /etc/X11/xorg.conf and set `Driver   &quot;sis671&quot;` on the &quot;Device&quot; Section</span>
<span style="color: #66cc66;">&#91;</span> -z <span style="color: #0000ff;">$EDITOR</span> <span style="color: #66cc66;">&#93;</span> &amp;&amp; <span style="color: #0000ff;">EDITOR=</span>/usr/bin/vim
<span style="color: #0000ff;">$EDITOR</span> /etc/x11/xorg.conf</pre></p>
<p>Restarting the X server after that was a bit difficult, since the upgrade to 10.04 also fucked up the console (that damn framebuffer) and because Ctrl-Alt-Backspace is disabled by default. I had to reboot. (Ok, I hate to admit: it&#8217;s not that it&#8217;s difficult, it&#8217;s just wrong.) </p>
<p>Anyway, after the system restart, it worked just fine again. The X log agrees:</p>
<pre>
(II) SIS: driver for SiS chipsets: SIS5597/5598, SIS530/620,
        SIS6326/AGP/DVD, SIS300/305, SIS630/730, SIS540, SIS315, SIS315H,
        SIS315PRO/E, SIS550, SIS650/M650/651/740, SIS330(Xabre),
        SIS[M]661[F|M]X/[M]741[GX]/[M]760[GX]/[M]761[GX]/662, SIS340,
        [M]670/[M]770[GX], [M]671/[M]771[GX]
(II) SIS: driver for XGI chipsets: Volari Z7 (XG20),
        Volari V3XT/V5/V8/Duo (XG40/XG42)
(II) Primary Device is: PCI 01@00:00:0
(WW) Falling back to old probe method for sis671
(--) Assigning device section with no busID to primary device
(--) Chipset [M]671/[M]771[GX] found
(II) SIS(0): SiS driver (2006/10/17-1, compiled for X.org 1.7.4.0)
(II) SIS(0): Copyright (C) 2001-2005 Thomas Winischhofer
<thomas@winischhofer.net> and others
(II) SIS(0): *** See http://www.winischhofer.at/linuxsisvga.shtml
(II) SIS(0): *** for documentation, updates and a Premium Version.
(II) SIS(0): RandR rotation support not available in this version.
(II) SIS(0): Dynamic modelist support not available in this version.
(II) SIS(0): Screen growing support not available in this version.
(II) SIS(0): Advanced Xv video blitter not available in this version.
(II) SIS(0): Advanced MergedFB support not available in this version.
(--) SIS(0): sisfb not found
(--) SIS(0): Relocated I/O registers at 0x9000
</pre>
<p>Then, to also fix the console:</p>
<p><pre class="bash">grep vga16fb /etc/modprobe.d/* || sudo sh -c <span style="color: #ff0000;">&quot;echo blacklist vga16fb &gt;&gt; /etc/modprobe.d/blacklist-framebuffer.conf&quot;</span>
&nbsp;
sudo update-initramfs -u
&nbsp;
sudo reboot
&nbsp;
<span style="color: #808080; font-style: italic;"># pray </span></pre></p>
<p>I had two other issues that popped up after the upgrade the 10.04. I was inclined to blame the first on the new video driver, but I solved it by disabling “Hardware Acceleration” in the Flash plugin preferences. [<a href="http://ubuntuforums.org/showpost.php?p=9281129&#038;postcount=29">source</a>]</p>
<p>Another problem that confused my mother was that the volume control icon had gone. [<a href="http://www.virtualhelp.me/linux/107-volume-controlicon-is-gone-ubuntu-1004">solution</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2011/01/18/ubuntu-sis-671-driver/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling exim port 25 listening when zimbra is installed</title>
		<link>http://blog.bigsmoke.us/2010/12/12/disabling-exim-port-25-listening-when-zimbra-is-installed</link>
		<comments>http://blog.bigsmoke.us/2010/12/12/disabling-exim-port-25-listening-when-zimbra-is-installed#comments</comments>
		<pubDate>Sun, 12 Dec 2010 17:36:55 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1765</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re installing zimbra in an Ubuntu or Debian machine, it seems it installs the MTA in such a way that command line tools like mail and such don&#8217;t work. But when you install exim, it conflicts with the postfix in Zimbra. </p>
<p>To fix it, you can install exim4, but configure this line in /etc/default/exim4:</p>
<p><pre class="php">QUEUERUNNER=<span style="color: #ff0000;">'queueonly'</span></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2010/12/12/disabling-exim-port-25-listening-when-zimbra-is-installed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP LaserJet 6P under Ubuntu</title>
		<link>http://blog.bigsmoke.us/2010/01/30/hp-laserjet-6p-under-ubuntu</link>
		<comments>http://blog.bigsmoke.us/2010/01/30/hp-laserjet-6p-under-ubuntu#comments</comments>
		<pubDate>Fri, 29 Jan 2010 23:21:35 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[HP]]></category>
		<category><![CDATA[LaserJet 6P]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=1045</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Because <a href="http://www.arnoldpilon.nl/">Arnold Pilon</a> is migrating his workplace to Apple, I could get his old PC and peripherals for free. Among its peripherals was an old HP LaserJet 6P, still perfectly working.</p>

<p>My <a href="/tag/arwen-adinda">sister</a> didn&#8217;t have a printer yet. I was surprised that installing it on her Ubuntu machine was simply a matter of selecting the printer type from a list. I wonder: is this thanks to CUPS? Can I expect this to work in all distros that include CUPS these days?</p>

<p>Anyway, the printer works and the scanner too (of which I forgot to jot down the type). The scanner was supported by Xane without requiring <strong>any</strong> configuration. When it comes to hardware configuration, open source operating systems often beat those from Redmond.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2010/01/30/hp-laserjet-6p-under-ubuntu/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adding locales in Ubuntu</title>
		<link>http://blog.bigsmoke.us/2009/06/16/adding-locales-in-ubuntu</link>
		<comments>http://blog.bigsmoke.us/2009/06/16/adding-locales-in-ubuntu#comments</comments>
		<pubDate>Tue, 16 Jun 2009 09:23:29 +0000</pubDate>
		<dc:creator>halfgaar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Kubuntu]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[locales]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=617</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>
I wanted the dates on my Kubuntu system to be shown as Dutch dates. Therefore, I needed to add a locale. The place to do it is in /var/lib/locales/supported.d/local. It now contains this:
</p>

<pre class="php">en_US.UTF<span style="color: #cc66cc;">-8</span> UTF<span style="color: #cc66cc;">-8</span>
nl_NL.UTF<span style="color: #cc66cc;">-8</span> UTF<span style="color: #cc66cc;">-8</span></pre>

<p>
Then run locale-gen to generate the locales.
</p>

<p>
Set the following environment vars (in profile or something) to let everything behave properly:
</p>

<pre class="php">export LANG=<span style="color: #ff0000;">&quot;nl_NL.UTF-8&quot;</span>
export LC_MESSAGES=<span style="color: #ff0000;">&quot;en_US.UTF-8&quot;</span>
export LC_COLLATE=<span style="color: #ff0000;">&quot;C&quot;</span></pre>

<p>
I don&#8217;t know anymore why I chose this specific configuration. I guess this means that everything, from thousand and decimal separators to dates is Dutch, and messages are English. I don&#8217;t know, however, why the collate is C. I vaguely remember something about it otherwise not including some characters in the sorting, causing weird sorting in words with dashes and such.
</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2009/06/16/adding-locales-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting my sister to forget the Google Desktop newsticker</title>
		<link>http://blog.bigsmoke.us/2008/11/27/forget-that-google-desktop-sis</link>
		<comments>http://blog.bigsmoke.us/2008/11/27/forget-that-google-desktop-sis#comments</comments>
		<pubDate>Thu, 27 Nov 2008 19:54:14 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=177</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>My sister was so fond of the RSS feature that came with Google Desktop&#8217;s sidebar that she kept it permanently visible at the right side of her screen. (What a news junkie!) Now that I <a href="http://blog.bigsmoke.us/2008/11/27/the-way-of-ubuntu">got her stuck with Linux</a>, she misses her precious Google Desktop and I&#8217;m trying to figure out an alternative for her.</p>

<p>For those who want to truly stay on top, just pointing Firefox to Google Reader occasionally isn&#8217;t good enough. (I know: I&#8217;m slow. I like it that way.) I had heard of various Firefox add-ons to aggregate your RSS feeds in the sidebar, but the sis had thought of this already and didn&#8217;t like to have something permanently filling up space at the left. Ok, I can understand. I thought there must probably be some Firefox add-on to move the whole damn sidebar to the right and of course there is; it&#8217;s called <a href="https://addons.mozilla.org/en-US/firefox/addon/7865">RightBar</a>.</p>

<div id="attachment_178" class="wp-caption alignright" style="width: 310px"><a rel='lightbox[rightbar]' title='Screenshot of the RightBar Firefox Addon' href="http://blog.bigsmoke.us/wp-factory/../uploads/2008/11/firefox-rightbar-addon.jpg"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/11/firefox-rightbar-addon-300x143.jpg" alt="Screenshot of the RightBar Firefox Addon" title="Screenshot of the RightBar Firefox Addon" width="300" height="143" class="size-medium wp-image-178" /></a><p class="wp-caption-text">Screenshot of the RightBar Firefox Addon</p></div>

<p>The extension is so simple that you could achieve the same by adding a few lines to the <tt>userChrome.css</tt> file in the <tt>chrome</tt> subdirectory of your <a href="http://kb.mozillazine.org/Profile_folder">Firefox profile directory</a>:</p>

<pre class="css"><span style="color: #808080; font-style: italic;">/* Change the sidebar's position */</span>
<span style="color: #cc00cc;">#browser <span style="color: #66cc66;">&#123;</span></span>
-moz-box-<span style="color: #000000; font-weight: bold;">direction</span>: reverse;
<span style="color: #66cc66;">&#125;</span></pre>

<p>(If the file doesn&#8217;t exist yet, create it from a copy of <tt>userChrome-example.css</tt>.)</p>

<p>What&#8217;s left now is to choose which feed aggregator extension for Mozilla Firefox to use. So far, I&#8217;ve only tried <a href="https://addons.mozilla.org/en-US/firefox/addon/77">Sage</a> (based on a five-star rating and familiarity with the name). It seems to work quite well, although, really, I still prefer just visiting Google Reader every once in a while. I mean: I&#8217;m a man, I don&#8217;t multi-task, I can hardly single-task.</p>

<p>I&#8217;m going to forward these suggestions to my sister, probably just to see them ignored for <em>one crucial oversight</em>: the sidebar doesn&#8217;t look very <q>different</q>. One of the things she liked about the Google Desktop, she told me, is that it looked very different from the rest of the stuff on her screen, causing a minimum of distraction. Probably I&#8217;ll end up recommending some kind of <a href="http://www.gdesklets.de/index.php?q=desklet/browse/category/71">gDesktlet</a>. (Or is there something better-looking these days?)</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2008/11/27/forget-that-google-desktop-sis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The road through Ubuntu</title>
		<link>http://blog.bigsmoke.us/2008/11/27/the-way-of-ubuntu</link>
		<comments>http://blog.bigsmoke.us/2008/11/27/the-way-of-ubuntu#comments</comments>
		<pubDate>Wed, 26 Nov 2008 22:21:41 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[AVG]]></category>
		<category><![CDATA[initrd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=170</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>My mom bought a new laptop because of a broken screen on the old Linux machine that she had inherited from me (which wasn&#8217;t wasn&#8217;t a laptop, so I&#8217;m sure that the <a href="http://blog.omega-research.org/2008/11/23/the-story-of-stuff">Golden Arrow of Consumption</a> can explain why she didn&#8217;t just replace the screen, although the new boyfriend who is kind of Windows-but-not-Linux-literate qualifies as a more probable reason for getting a laptop that is needlessly dragged down by Vista).</p>

<p>I was a little surprised by her move. The first computer my mother learned <em>turning on</em> was this computer back when I was still using it. Of course it was running Linux at the time. Before I gave it to her, I replaced Gentoo Linux with Ubuntu Linux, and, honestly, she never had any problems with it that were not hardware-related. (Ok, there was that one time when there was some junk stuck in the print spool without a user-friendly path to getting rid of it, but you could argue that this was really due to a junk printer. (On the subject of print spools: my friend <a href="http://www.halfgaar.net/">Wiebe</a> complained to me a while ago that when the queue in their WorkCentre Pro 232 gets stuck, Xerox engineers have to come in to replace the whole damn control board; apparently, just plugging in a terminal with shell access isn&#8217;t possible.)) She was comfortable with and used to Linux. But, alas, she&#8217;s in love with someone who is less than comfortable with Linux and there&#8217;s always that male ego thing.</p>

<p>But, then, who cares? It was good news for my sister. With her having gone through a rally of shitty old machines in just a couple years and this still being an ok-enough machine, I asked her if she&#8217;d like a &#8220;new&#8221; machine running Linux when she called me about <a href="http://securityandthe.net/2008/11/10/avg-virus-scanner-removes-critical-windows-file/">one of those typical Windows problems</a> that had just taken out her previous wreck of a machine. Yeah, sure, she&#8217;s was more than willing to finally get rid of Windows.</p>

<p>I was glad that my sister didn&#8217;t feel the need to inflict the pain of Windows on this poor old machine. This meant I only had to upgrade and reconfigure i a bit. Upgrading Ubuntu to version 8.04 went pretty seamless, because it was a relatively fresh installation where all dependencies where actually marked as &#8220;auto&#8221;. After moving away some old &#8211; uhm &#8211; aesthetic imagery, ill-suited for big-sister-eyes, I brought the machine to her place, plugged in her peripherals, connected it to her screen, and tried to boot.</p>

<p>It booted, but GDM wouldn&#8217;t start. I had just swapped a Matrox G400 with a noisy GeForce 4 which I had previously assumed to be broken. This assumption actually goes all the way back to before I realized that the screen was broken. When the screen started complaining of &#8220;Not Recommended Mode&#8221;, one of my first diagnosis was that the GeForce card was borked. This diagnosis was arrived to after first blaming the screen, plugging it in elsewhere, seeing that working, plugging it back in, seeing that working too, then seeing that stop working again, resetting the screen in increasingly complex sequences, seeing it work again, seeing it stop working again, swapping the DVI connection with a VGA connection, and then, finally, swapping the GeForce racehorse with the old Matrox workhorse. Of course the problems returned, but not before another fun round of swapping parts and peripherals because the machine had started crashing. The crashing led me to replacing the power supply, only to find out later that the CPU&#8217;s cooling block had someone loosened dangerously. So, with all that in mind, I had now put back to GeForce plaything before I took the whole concoction to my sister. Now, GDM wouldn&#8217;t start. (The GeForce graphics worked fine <em>before</em> I moved the machine to her.)</p>

<p>Admittedly, I hadn&#8217;t exactly tried <em>booting</em> with the GeForce. (I&#8217;m not the rebooting type.) After swapping the card, not being able to use the binary nvidia and an hour or so of messing around, I found that the nvidia kernel module was actually missing. (I hadn&#8217;t noticed this because a &#8220;<kbd>find /lib/modules|grep -i nvidia</kbd>&#8221; did show an nvidia entry; had I looked better, I would&#8217;ve seen that it was a directory and not a <kbd>.ko</kbd> file.) So I performed a reinstall of the appropriate linux-restricted-modules package and&#8212;voila!&#8212;the files where there (in <kbd>/lib/modules/2.6.24-21-generic/volatile/</kbd>).</p>

<p>So I&#8217;m at my sister&#8217;s and I&#8217;m surprised that X won&#8217;t start. I try to find the module in <kbd>/lib/modules/</kbd>; it&#8217;s gone. Then, after reinstalling the package and an extraneous reboot to see it gone again, it dawns on me: what did <em>volatile</em> mean again? (I should really not be telling you this, because it&#8217;s fucking embarrassing. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ) Yes, the <kbd>volatile</kbd> directory is a tmpfs mount point. When I realized that this was probably due to initramfs, I realized that I know jack about initramfs, except that it makes Grub&#8217;s configuration incomprehensible to me.</p>

<p>I tried updating the <kbd>initrd.img</kbd> by issuing <q><kbd>update-initramfs -u</kbd></q>. When this didn&#8217;t work, I added the module name explicitly to <kbd>/etc/initramfs-tools/modules</kbd>. When that didn&#8217;t work, I changed the <kbd>MODULES</kbd> option in <kbd>/etc/initramfs-tools/initramfs.conf</kbd> to <q><kbd>MODULES=dep</kbd></q> and pulled <kbd>update-initramfs</kbd> through <kbd>grep</kbd> to find out if the module was added appropriately: <q><kbd>update-initramfs -u -v|grep nvidia</kbd></q>. It was outputted and it was the right <kbd>initrd.img</kbd> too but still, after booting, the module was missing from the <kbd>volatile</kbd> directory.</p>

<p>So, fuck this! I was getting inpatient: <q><kbd>cd /lib/modules/2.6.24-21-generic/volatile; mv nvidia.ko ../kernel/drivers/video; depmod -a; reboot</kbd></q> and GDM started nicely.</p>

<p>Now I just have to find out why the bloody eth0 interface isn&#8217;t ifup&#8217;ed at boot. The configuration seems fine to me (although I&#8217;m confused by all this new-fangled GUI stuff and by where everything is stored. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> ) For now, I just dropped a script on her desktop called <q>Darn, the network doesn&#8217;t work</q>:</p>

<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
gksu ifup eth0</pre>

<p>Pure sophistication, isn&#8217;t it? I&#8217;ve yet to encounter an operating system where solving such problems has <em>any</em> resemblance to anything I&#8217;d call user-friendly&#8230; For all the polish they add these days, if you can&#8217;t go below the hood and bang away at the shell, you&#8217;re basically screwed. That&#8217;s why I hate Windows so much, because I know nobody who can get under its hood.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2008/11/27/the-way-of-ubuntu/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

