<?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>The DF Lab &#187; Uncategorized</title>
	<atom:link href="http://blog.danfego.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danfego.net</link>
	<description>A guy like me?</description>
	<lastBuildDate>Tue, 03 Nov 2009 15:31:40 +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>Fixing NVIDIA driver issues on Ubuntu Karmic</title>
		<link>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/</link>
		<comments>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 15:31:40 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=290</guid>
		<description><![CDATA[So after yesterday&#8217;s completely improper upgrading of my Ubuntu box  from Jaunty to Karmic, I did an actual reinstall today (with the alternate CD), keeping my /home partition intact. It went mostly well, but there was a slight hiccup: X would freak out and render my screen all jittery when launching GDM.
The fix here [...]]]></description>
			<content:encoded><![CDATA[<p>So after yesterday&#8217;s <a href="http://blog.danfego.net/2009/11/upgrading-ubuntu-from-jaunty-to-karmic-behind-a-proxy/">completely improper upgrading</a> of my Ubuntu box  from Jaunty to Karmic, I did an actual reinstall today (with the alternate CD), keeping my /home partition intact. It went mostly well, but there was a slight hiccup: X would freak out and render my screen all jittery when launching GDM.</p>
<p>The fix here was rather easy: jockey-text, which is the text version of Jockey, the program that usually pops up about restricted drivers. Just run:</p>
<p><code>$ sudo jockey-text -l<br />
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
</code></p>
<p>As you can see, I had three options, and none of them were &#8220;in use.&#8221; So I just ran:</p>
<p><code>$ sudo jockey-text -e xorg:nvidia-185</code></p>
<p>Now, a listing shows me this:</p>
<p><code>$ sudo jockey-text -l<br />
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)<br />
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
</code></p>
<p>I let it do its thing, and things were back to normal! I don&#8217;t know why, by default, my install had an unusable desktop, since I figured some other drivers would have been there, but this is a quick fix from the command line for anyone who needs it, when a GUI is completely unavailable.</p>
<p>Perhaps someday I&#8217;ll get back to posting other Linux-y, Gentoo-y things&#8230; Damn games that only run on Windows keep me locked in there far too often. <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2009%2F11%2Ffixing-nvidia-driver-issues-on-ubuntu-karmic%2F&amp;title=Fixing%20NVIDIA%20driver%20issues%20on%20Ubuntu%20Karmic" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F11%2Ffixing-nvidia-driver-issues-on-ubuntu-karmic%2F&amp;title=Fixing%20NVIDIA%20driver%20issues%20on%20Ubuntu%20Karmic" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F11%2Ffixing-nvidia-driver-issues-on-ubuntu-karmic%2F&amp;title=Fixing%20NVIDIA%20driver%20issues%20on%20Ubuntu%20Karmic" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2009%2F11%2Ffixing-nvidia-driver-issues-on-ubuntu-karmic%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Auto-detecting a USB Headset</title>
		<link>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/</link>
		<comments>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 03:45:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=269</guid>
		<description><![CDATA[After a lot of trial and error today, I&#8217;ve still only gotten part of the way to my objective: making my new Plantronics USB headset get auto-detected in Gentoo, and make it my &#8220;primary&#8221; ALSA device. That is, when it&#8217;s plugged in, all audio goes to it, and when it&#8217;s not, all audio goes to [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of trial and error today, I&#8217;ve still only gotten part of the way to my objective: making my new Plantronics USB headset get auto-detected in Gentoo, and make it my &#8220;primary&#8221; ALSA device. That is, when it&#8217;s plugged in, all audio goes to it, and when it&#8217;s not, all audio goes to the speakers. Much, much easier said than done.</p>
<p>The first hurdle was coming to the realization that ALSA in fact sees this headset as its own sound card. Once I got that far (it took me a while, with some help on IRC), all I needed in the end was 4 additional lines in my /etc/modprobe.d/alsa file:</p>
<p><code>alias snd-card-0 snd-hda-intel<br />
alias sound-slot-0 snd-hda-intel<br />
options snd-hda-intel index=1</p>
<p><code>alias snd-card-1 snd-usb-audio<br />
alias sound-slot-1 snd-usb-audio<br />
options snd-usb-audio index=0</code></p>
<p>The first 2 lines were already there, and then I added the two lines about snd-card-1 and sound-slot-1. Easy enough. The other two lines (not counting the whitespace) are to tell the system what order they go in. 0 is primary, 1 is second, etc. So by having index=0 for snd-usb-audio, that device is my first card, and the on-board is my second. Easy enough. I kept getting fouled up in testing my various configs by not actually removing the modules; I was just restarting ALSA. Not good. Once I got that config working, I wrote a couple of bash scripts to flip those variables, update the configs, etc. Here's my "on" script:</p>
<p><code>#!/bin/bash<br />
# Script to swtich around audio devices when headset plugged in<br />
if ( grep -q "options snd-usb-audio index=0" /etc/modprobe.d/alsa )<br />
then<br />
	echo "Exiting..."<br />
	exit 1<br />
fi</code></p>
<p><code>sed -i '/options snd-hda-intel/ s/0/1/' /etc/modprobe.d/alsa<br />
sed -i '/options snd-usb-audio/ s/1/0/' /etc/modprobe.d/alsa<br />
update-modules -f<br />
/etc/init.d/alsasound stop<br />
sleep 0.5<br />
modprobe -r snd-usb-audio<br />
modprobe -r snd-hda-intel<br />
/etc/init.d/alsasound start<br />
sleep 0.5<br />
/etc/init.d/mpd start</code></p>
<p>It's simple enough, in retrospect, and it works. The "off" script is identical except it does the reverse flip at the beginning. I could have made it one script, but whatever.</p>
<p>The next step was to make this all happen automatically. That's where I'm stuck. I've been tinkering with udev for hours now, and I can't seem to write the rules <em>right</em>. My current rules look like this:</p>
<p><code>ATTRS{id}=="U0x47f0xc001", ACTION=="add", RUN+="/home/dfego/bin/udev-headset-on.sh", ENV{IS_PLANTRON}="yes"<br />
ENV{IS_PLANTRON}=="yes", ACTION=="remove", RUN+="/home/dfego/bin/udev-headset-off.sh"</code></p>
<p>I don't even remember now if this particular "add" works, but some of the ones I wrote today did. However, not one, not a single one of my "remove" lines worked. All day. None of them. It's almost depressing. For some God-forsaken reason, I can't make anything trigger on a remove event. So I tried using a single script and having it go on all events, but that fell on its face because udev insists on running it lots and lots of times every time an event happens, even when I built protections into the script that it couldn't run more than once simultaneously. So I don't know what to do. For now, I'm just going to be happy with what I've done and use the script. It's not like I plug my headset in and out all that often (except, of course, today). But I feel sad and defeated, and very much like I wasted a ton of time doing something that doesn't work for some reason beyond my comprehension. It <em>should</em> work... it just doesn't.</p>
<p>Maybe I'll try again one of these days. Maybe not.</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2009%2F07%2Fauto-detecting-a-usb-headset%2F&amp;title=Auto-detecting%20a%20USB%20Headset" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F07%2Fauto-detecting-a-usb-headset%2F&amp;title=Auto-detecting%20a%20USB%20Headset" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F07%2Fauto-detecting-a-usb-headset%2F&amp;title=Auto-detecting%20a%20USB%20Headset" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2009%2F07%2Fauto-detecting-a-usb-headset%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chat Logs and &#8220;The Cloud&#8221;</title>
		<link>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/</link>
		<comments>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 22:13:07 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=260</guid>
		<description><![CDATA[At the end of 2007, Google did a wonderful thing and added AIM to their built-in chat in Gmail. This was an awesome convenience, since I could now chat with both my used protocols right from my email window. Not to mention I got a nice consolidation of my chat logs accessible from anywhere to [...]]]></description>
			<content:encoded><![CDATA[<p>At the end of 2007, Google did a wonderful thing and added AIM to their built-in chat in Gmail. This was an awesome convenience, since I could now chat with both my used protocols right from my email window. Not to mention I got a nice consolidation of my chat logs accessible from anywhere to boot. Of course, I was leaving all the conveniences of my desktop client behind, such as not being dependent on my browser window to chat. But it seemed all worthwhile, since I usually had a browser window open anyway, and I didn&#8217;t have a ton of spare resources (RAM, screen real estate) on my laptop, my sole machine.</p>
<p>Now I&#8217;m in the situation where I want to go back to the desktop client. I&#8217;ve got a nice new computer with lots of RAM and lots of screen real estate. But I&#8217;m now slightly dismayed, because my wonderfully accessible chat logs are now no longer going to be &#8220;all&#8221; with my mail. I say &#8220;all&#8221; because before a certain point they weren&#8217;t, but from that point on, I was golden. Now, if I switch back, I&#8217;ll have all my logs to a certain point on my computer, then a bunch in &#8220;the cloud,&#8221; and then most of them on my desktop, and some in my browser, for when I&#8217;m away from my computer. Not ideal.</p>
<p>What I really want it some &#8220;neutral&#8221; location for my logs that both the Gmail client and my desktop application (currently Pidgin) will respect and send their logs to. I&#8217;ve got web space out there, so I&#8217;ve got a location, but how to make it work? One way I could think of is to run something like a Greasemonkey script which keeps track of what it&#8217;s sent over time (so when I come back to the computer it&#8217;s installed on, it sends the new conversations) and sends new conversations off periodically. So that could be done with Greasemonkey, or with a Firefox Plugin. A modification to Pidgin sounds relatively trivial to me at this point, at least compared to writing a Firefox plugin. In any case, I&#8217;m going to ponder this&#8230; Any thoughts on the matter, technical or otherwise, are welcome.</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fchat-logs-and-the-cloud%2F&amp;title=Chat%20Logs%20and%20%22The%20Cloud%22" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fchat-logs-and-the-cloud%2F&amp;title=Chat%20Logs%20and%20%22The%20Cloud%22" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fchat-logs-and-the-cloud%2F&amp;title=Chat%20Logs%20and%20%22The%20Cloud%22" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fchat-logs-and-the-cloud%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gnome Do Theme Issue</title>
		<link>http://blog.danfego.net/2009/06/gnome-do-theme-issue/</link>
		<comments>http://blog.danfego.net/2009/06/gnome-do-theme-issue/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 06:46:58 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=256</guid>
		<description><![CDATA[This evening, with a few helpful suggestions on IRC at #gnome-do on freenode, I was able to work around (but not solve) an issue I&#8217;ve been having with Gnome Do, the Quicksilver-like launcher for GNOME.
My issue was as follows: every time the program started up on GNOME session start, it would revert to an unfashionable [...]]]></description>
			<content:encoded><![CDATA[<p>This evening, with a few helpful suggestions on IRC at #gnome-do on freenode, I was able to work around (but not solve) an issue I&#8217;ve been having with <a href="http://do.davebsd.com/">Gnome Do</a>, the <a href="http://docs.blacktree.com/quicksilver/what_is_quicksilver">Quicksilver</a>-like launcher for <a href="http://www.gnome.org/">GNOME</a>.</p>
<p>My issue was as follows: every time the program started up on GNOME session start, it would revert to an unfashionable theme that I didn&#8217;t want. The configuration showed that it was on the Glass theme, as I wanted, but it was clearly not. Every time I ran the program otherwise, it would successfully take on the appropriate theme.</p>
<p>Long story short, it turns out the issue is likely related to compiz not being fully started yet, so it defaults to its non-pretty theme. I first wrote a script that waits for compiz to start then runs, but the process &#8220;compiz&#8221; existing was not good enough. So I created a 3-line script to delay Gnome Do&#8217;s startup by 2 seconds, and it works:</p>
<p><code>#!/bin/bash<br />
sleep 2<br />
gnome-do</code></p>
<p>Heck, this could be a one-liner, but whatever. I actually tried to use GNOME&#8217;s built-in session manager to invoke the sleep, but it didn&#8217;t work out for me at first and I didn&#8217;t feel like trying again, so this works just fine.</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fgnome-do-theme-issue%2F&amp;title=Gnome%20Do%20Theme%20Issue" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fgnome-do-theme-issue%2F&amp;title=Gnome%20Do%20Theme%20Issue" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2009/06/gnome-do-theme-issue/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fgnome-do-theme-issue%2F&amp;title=Gnome%20Do%20Theme%20Issue" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fgnome-do-theme-issue%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/gnome-do-theme-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automounting Issues</title>
		<link>http://blog.danfego.net/2009/06/automounting-issues/</link>
		<comments>http://blog.danfego.net/2009/06/automounting-issues/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:46:31 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=249</guid>
		<description><![CDATA[This is just a small tidbit, in good part for my own future reference, on what I&#8217;ve been spending the last number of hours figuring out. I&#8217;ve actually done a lot of configuration of my new Gentoo install I wish I&#8217;d documented now, but alas, it&#8217;s too late.
In any case, I have two hard drives [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a small tidbit, in good part for my own future reference, on what I&#8217;ve been spending the last number of hours figuring out. I&#8217;ve actually done a lot of configuration of my new Gentoo install I wish I&#8217;d documented now, but alas, it&#8217;s too late.</p>
<p>In any case, I have two hard drives in this machine, and none of them were mounting automatically on my shiny new GNOME desktop. I thought it was a problem with NTFS, then with the gnome-volume-manager. I spent a bunch of time verifying I had the right drivers (ntfs-3g) and the latest software installed. Turns out I found my solution in an <a href="http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly">unlikely place</a>: the Arch Linux wiki. Anywho, the fix was to change around some policy setting. A one-liner fix, as so many of them seem to be in the end. *sigh*</p>
<p>In order to make this experience even more exciting, I decided I&#8217;d try and use the same file and configurations to have HAL ignore /dev/sda1, which is my Acer recovery partition. I don&#8217;t particularly want to see that from Linux, and I certainly don&#8217;t want to mount it in case I accidentally end up doing something horrible to it. I came across <a href="http://blog.cardoe.com/archives/2007/11/23/having-hal-ignore-devices/">this blog post</a>, and adapted its instructions like so (for the file /etc/hal/fdi/policy/10-ntfs3g.fdi) by adding the following section:</p>
<p><code>&lt;device&gt;<br />
&lt;match key="block.device" string="/dev/sda1"&gt;<br />
&lt;merge key="volume.ignore" type="bool"&gt;true&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;</code></p>
<p>Much to my surprise, it worked! (after I changed my bleary-eyed mistake of &#8220;/dev/hda&#8221; to &#8220;/dev/sda1&#8243; <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).</p>
<p>I probably should make a point of posting some more of these gems, and where I found their solutions. If it takes me more than 20 minutes to find them, it can&#8217;t be all <em>that</em> easy to find. In any case, I&#8217;d say this is a job well done!</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fautomounting-issues%2F&amp;title=Automounting%20Issues" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fautomounting-issues%2F&amp;title=Automounting%20Issues" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2009/06/automounting-issues/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fautomounting-issues%2F&amp;title=Automounting%20Issues" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2009%2F06%2Fautomounting-issues%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/automounting-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Start and a Mission</title>
		<link>http://blog.danfego.net/2008/10/a-start-and-a-mission/</link>
		<comments>http://blog.danfego.net/2008/10/a-start-and-a-mission/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 09:25:13 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=3</guid>
		<description><![CDATA[With what has probably been a couple of years in the making, I finally have a blog. The idea went through a number of iterations, with first me being too lazy, then deciding I should design it myself and host it on a shared server, then deciding I would design it myself and host it [...]]]></description>
			<content:encoded><![CDATA[<p>With what has probably been a couple of years in the making, I finally have a blog. The idea went through a number of iterations, with first me being too lazy, then deciding I should design it myself and host it on a shared server, then deciding I would design it myself <em>and</em> host it myself (which is probably, incidentally, against Cox&#8217;s terms of service). Finally, however, at 4 o&#8217;clock on a Saturday morning, I find myself too lazy to go through the minutae of setting up a web server, but not quite lazy enough to want to tell the world about an inane discovery I made. And so comes the purpose of this blog.</p>
<p>I&#8217;m planning to maintain this blog primarily so I can share the tidbits of technical (usually Linux-related) knowledge that I acquire over time. I&#8217;ve had so many moments where I spend hours trying to figure out a problem before I read the <em>right</em> man page, or find a blog entry that helps. On those occasions, I want to shout out to the world and put out another beacon to help anyone else who may have such a problem in the future. That being said, I don&#8217;t know for sure I won&#8217;t digress into other topics or purposes, technical or otherwise. I have great interest and enthusiasm (some might say &#8220;zealotry&#8221;) for free and open source software. I run Gentoo Linux. These things will surely come up over time.</p>
<p>With all that out of the way, welcome to the DF Lab! If you&#8217;re not familiar with Pillerspeak, that&#8217;s the <em>Dan Fego Lab</em>. Enjoy and frequent my writings!</p>

<div class="sociable">
<span class="sociable_tagline">
<strong>Share and Enjoy:</strong>
	<span>These icons link to social bookmarking sites where readers can share and discover new web pages.</span>
</span>
<ul>
	<li><a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.danfego.net%2F2008%2F10%2Fa-start-and-a-mission%2F&amp;title=A%20Start%20and%20a%20Mission" title="Digg" onfocus="sociable_description_link(this, 'bodytext')" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a href="http://del.icio.us/post?url=http%3A%2F%2Fblog.danfego.net%2F2008%2F10%2Fa-start-and-a-mission%2F&amp;title=A%20Start%20and%20a%20Mission" title="del.icio.us" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a href="http://www.stumbleupon.com/submit.php?url=http://blog.danfego.net/2008/10/a-start-and-a-mission/" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li><a href="http://reddit.com/submit?url=http%3A%2F%2Fblog.danfego.net%2F2008%2F10%2Fa-start-and-a-mission%2F&amp;title=A%20Start%20and%20a%20Mission" title="Reddit" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a href="http://technorati.com/faves?add=http%3A%2F%2Fblog.danfego.net%2F2008%2F10%2Fa-start-and-a-mission%2F" title="Technorati" rel="nofollow" target="_blank"><img src="http://blog.danfego.net/wp-content/plugins/sociable-zyblog-edition/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2008/10/a-start-and-a-mission/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
