<?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>qblog</title>
	<atom:link href="http://qblog.remarqs.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://qblog.remarqs.net</link>
	<description>the blog of »Q«</description>
	<lastBuildDate>Sat, 01 May 2010 23:14:12 +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>kde4 and a blockage for arch blogging</title>
		<link>http://qblog.remarqs.net/2009/06/06/kde4-and-a-blockage-for-arch-blogging/</link>
		<comments>http://qblog.remarqs.net/2009/06/06/kde4-and-a-blockage-for-arch-blogging/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 05:06:32 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[KDE]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=75</guid>
		<description><![CDATA[I haven&#8217;t really hit any snags with installing Arch, which leaves me with little to blog about the process. I&#8217;m slowly copying over stuff from my laptop and my desktop Slackware install, which is tedious.  For bringing over Firefox stuff, the extensions FEBE, CLEO, and OPIE have been extremely helpful. I&#8217;ve installed The Chakra Project&#8216;s [...]]]></description>
			<content:encoded><![CDATA[<p>I haven&#8217;t really hit any snags with installing Arch, which leaves me with little to blog about the process.  I&#8217;m slowly copying over stuff from my laptop and my desktop Slackware install, which is tedious.  For bringing over Firefox stuff, the extensions <a title="home page for FEBE, &amp;c." href="http://customsoftwareconsult.com/extensions/">FEBE, CLEO, and OPIE</a> have been extremely helpful.</p>
<p>I&#8217;ve installed <a title="Chakra's web site" href="http://chakra-project.org/">The Chakra Project</a>&#8216;s KDEmod version of KDE4. KDEmod has split packages for KDE, much like <a title="Gentoo's split ebuilds for KDE" href="http://www.gentoo.org/proj/en/desktop/kde/kde-split-ebuilds.xml">Gentoo does</a>.  This appeals to be because there&#8217;s a lot of KDE stuff I never use and installing fewer packages means less downloading and upgrading on this dial-up machine.  I&#8217;ve installed the minimal set of packages to get a KDE desktop and I&#8217;m slowly adding stuff as I see what I want.  This is my first real experience with KDE4, so figuring out what it could do and then what I should install if I want to make it do that is problematic.  I&#8217;ve grabbed a Chakra livecd with the full KDE4 to help me figure it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2009/06/06/kde4-and-a-blockage-for-arch-blogging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>arch xorg and alsa</title>
		<link>http://qblog.remarqs.net/2009/06/01/arch-xorg-and-alsa/</link>
		<comments>http://qblog.remarqs.net/2009/06/01/arch-xorg-and-alsa/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 02:25:43 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=67</guid>
		<description><![CDATA[Configuring xorg and alsa went without much to write about.  But since I&#8217;m posting tedious details, here&#8217;s the not much. With help from hal, the latest xorg stuff is reported to work without a config file for a lot of people.  After installing X, I tried that. X started, but with the wrong resolution, and [...]]]></description>
			<content:encoded><![CDATA[<p>Configuring xorg and alsa went without much to write about.  But since I&#8217;m posting tedious details, here&#8217;s the not much.</p>
<p>With help from hal, the latest xorg stuff is reported to work without a config file for a lot of people.  After installing X, I tried that. X started, but with the wrong resolution, and the system froze with me staring at the lovely twm with clock and xterms.  Now that I think of it, it&#8217;s possible I hadn&#8217;t yet configured the hal daemon to run at boot, and maybe I forgot to start it.  But I didn&#8217;t check that at the time, I just ran nvidia-config.  This time I got a working X, but the wrong resolution again.</p>
<p>I saved the xorg.conf from nvidia-config and then copied my old xorg.conf over from the Slackware install.  That worked fine.  There were a few <code>[EE]</code> errors logged, all just from stuff that&#8217;s been deprecated.  After deleting the deprecated stuff from xorg.conf, everything is fine.</p>
<p>At some point, I did get hal all set up (at least I think there aren&#8217;t any problems with it), so I&#8217;ll try the xorg-without-xorg.conf thing again if I remember.   <strong>Update:</strong> I did try it again.  The resolution wasn&#8217;t right, but I copied the minimal default xorg.conf file from xorg&#8217;s log and changed the driver from <code>nv</code> to <code>nvidia</code> and everything worked.  I guess I should mention that I have an nVidia 8600GT and an ordinary Logitech wired USB keyboard and wireless USB mouse.  From running some xscreensaver hacks, it looks like accelleration is fine, and all of KDE4&#8242;s eye candy seems to work.  (More on KDE4 later.)</p>
<p>Alsa config went without a hitch.  I&#8217;m using the Intel HDA on my motherboard.  I can&#8217;t recall which specific chipset it is, but alsa works fine without worrying about it.</p>
<p>The Arch wiki has good pages for <a title="Arch wiki on xorg" href="http://wiki.archlinux.org/index.php/Xorg">xorg</a> and for <a title="Arch wiki on alsa" href="http://wiki.archlinux.org/index.php/ALSA">alsa</a>, but I really only needed them to make sure I wasn&#8217;t forgetting something that would haunt me later.  At some point, I&#8217;ll go through the <a title="Arch wiki post-installation tips" href="http://wiki.archlinux.org/index.php/Post_Installation_Tips">Arch wiki post-installation tips</a>, which looks like a very good checklist of stuff I may want to set up.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2009/06/01/arch-xorg-and-alsa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>arch and uvesafb</title>
		<link>http://qblog.remarqs.net/2009/05/31/arch-and-uvesfb/</link>
		<comments>http://qblog.remarqs.net/2009/05/31/arch-and-uvesfb/#comments</comments>
		<pubDate>Sun, 31 May 2009 03:58:56 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=55</guid>
		<description><![CDATA[Since I&#8217;m getting large sets of packages to install on a different computer, I was stuck with some time to spend at Arch&#8217;s virtual console.  I installed lynx and elinks so I could read some news, but I found it a bit tough with the eighty-column display.  I had planned on making uvesafb work at [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;m getting large sets of packages to install on a different computer, I was stuck with some time to spend at Arch&#8217;s virtual console.  I installed lynx and elinks so I could read some news, but I found it a bit tough with the eighty-column display.  I had planned on making <a title="uvesafb - the framebuffer's website" href="http://dev.gentoo.org/~spock/projects/uvesafb/">uvesafb</a> work at some point, but I was dreading it for a number of reasons; I know hardly anything about initrd/initramfs images, and it&#8217;s necessary to add v86d to one. I get by in Gentoo and Slack with <strong>only</strong> v86d in the initramfs, and I just compile it into the kernel.  The Arch way allows for abandoning their generic kernel and compiling one&#8217;s own, but I hoped to avoid that for a while if I could, since I don&#8217;t understand the Arch way too well yet.</p>
<p>I was surprised and happy to find that <a title="the Arch wiki on uvesafb support" href="http://wiki.archlinux.org/index.php/Uvesafb">Arch makes uvesafb easy</a>.  The <code>mkinitcpio</code> tool makes building a new initrd dead simple, and the generic Arch kernel already has uvesafb support.  Better yet, Arch&#8217;s klibc has been built against the kernel with support.  I guess the part in which I had to type &#8220;v86d&#8221; into its configuration file counts as the Arch approach.  I had to re-learn how to pass options to a loading module, but it&#8217;s not tough. There&#8217;s a slight difference in syntax for uvesafb&#8217;s mode option when loading it as a module; instead of <code>mode=</code>, it&#8217;s <code>mode_option=</code>.  Here&#8217;s the set of options that works for me, in <code>/etc/modprobe.d/uvesafb</code>:</p>
<p><code>options uvesafb mode_option=1600x1200-32 scroll=ywrap mtrr=2</code></p>
<p>Hmm, I see the Arch-generated comments in that file recommend <code>mode=</code>, which is probably just an oversight due to a recent change in the kernel. The Arch wiki had it right, and of course it&#8217;s in the kernel documentation.</p>
<p>After rebooting to see that the framebuffer works, I followed <a title="Arch wiki on console fonts" href="http://wiki.archlinux.org/index.php/Post_Installation_Tips#Change_Console_Fonts">Arch&#8217;s clear instructions on setting a console font</a>, and it was all good.  The console font stuff works pretty much the same as in Slack and Gentoo, though the fonts are in a different location.</p>
<p>Then I noticed that the Arch repositories offer a graphical version of links as the links-g package.  I installed that, and now I can see pictures of Dick Cheney as I read the news.  Ain&#8217;t life grand?</p>
<p>So far, I&#8217;m very impressed with the <a title="ArchWiki" href="http://wiki.archlinux.org/">Arch wiki</a>. I&#8217;ve come across a couple of outdated pages, but they were clearly marked. Except for the dial-up without a dialer page I mentioned in my <a title="into the arch" href="http://qblog.remarqs.net/2009/05/30/into-the-arch/">last post</a>, everything I&#8217;ve found has worked.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2009/05/31/arch-and-uvesfb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>into the arch</title>
		<link>http://qblog.remarqs.net/2009/05/30/into-the-arch/</link>
		<comments>http://qblog.remarqs.net/2009/05/30/into-the-arch/#comments</comments>
		<pubDate>Sat, 30 May 2009 23:11:29 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Arch]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=45</guid>
		<description><![CDATA[I&#8217;m trying out Arch GNU/Linux, with an eye toward switching my desktop to it from Slackware.  Arch is supposed to give vanilla installs of software and leave it up the the user to configure however is wanted. Arch has a package manager which resolves dependencies and can work with build scripts.  And Arch uses a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m trying out <a title="the Arch web site" href="http://www.archlinux.org/">Arch GNU/Linux</a>, with an eye toward switching my desktop to it from <a title="the Slackware web site" href="http://slackware.com/">Slackware</a>.  Arch is supposed to give vanilla installs of software and leave it up the the user to configure however is wanted. Arch has a package manager which resolves dependencies and can work with build scripts.  And Arch uses a rolling release model.</p>
<p>The Arch installer worked fine, with a minor glitch.  The kernel on the Arch installer disk switched the names of my drives, so that what every other kernel calls <code>/dev/sda</code> was <code>/dev/sdb</code> and vice versa.  This caused it to set the root partition in grub incorrectly, but that was easy enough to fix by changing the line from <code>root (hd1,7)</code> to <code>root (hd0,7)</code>.</p>
<p>The first hurdle was getting my dial-up connection to work.  The Arch install CD doesn&#8217;t contain a dialer app or even a tool to help configure ppp.  <a title="Arch wiki page on dial-up" href="http://wiki.archlinux.org/index.php/Dialup_without_a_dialer_HOWTO">The Arch way to make dial-up work</a> didn&#8217;t work for me, and there weren&#8217;t any helpful log messages to troubleshoot it.  I stuck with it for a day, tweaking it and referring to the ppp options <a title="Slack's pppsetup" href="http://slackware.com/config/ppp.php">Slackware&#8217;s dialer tool</a> had set up for me.  Then I gave up and grabbed <a title="wikipedia on wvdial" href="http://en.wikipedia.org/wiki/Wvdial">wvdial</a> from the Arch repository.  After installing it and running wvdialconf, dial-up works.</p>
<p>Now with a connection to the net, I was ready to sync the package database with Arch&#8217;s current one(s) and update the system.  The list of downloads was about half a GiB, so I just generated a list of URLs and fed them to wget on a machine with a broadband connection; this is my plan whenever there&#8217;s a lot of downloading to be done.</p>
<p>Bringing the package files back to the Arch machine and then having <a title="the Arch package manager" href="http://wiki.archlinux.org/index.php/Pacman">pacman</a> update the system went fine.  And then pacman wouldn&#8217;t work any more.  It turned out that the updating had overwritten a working configuration file with one that doesn&#8217;t work.  So I learned that pacman&#8217;s handling of new config files is very rudimentary compared to <a title="introduction to portage" href="http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1">Gentoo&#8217;s portage system</a>.  The error pacman gave was &#8220;unexpected error&#8221;, not much to go on.  Luckily, <a title="solution to pacman mess" href="http://bbs.archlinux.org/viewtopic.php?id=70152">this Arch forum thread</a> had the problem description and solution.</p>
<p>I&#8217;m going to try to document the process of setting up my Arch system as I go, with blog posts;  I&#8217;m going slowly, so maybe I can make myself do it.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2009/05/30/into-the-arch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pricelessware cds</title>
		<link>http://qblog.remarqs.net/2009/02/26/pricelessware-cds/</link>
		<comments>http://qblog.remarqs.net/2009/02/26/pricelessware-cds/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:52:48 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[freeware]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=41</guid>
		<description><![CDATA[I don&#8217;t use Windows® much anymore, but when I did I got a lot of good freeware pointers from the newsgroup alt.comp.freeware.  For many years now, the group has put together a list of freeware called the Pricelessware List. For the last five years, folks there have also compiled CDs with a lot of the [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t use Windows® much anymore, but when I did I got a lot of good freeware pointers from the newsgroup <a title="link to a.c.f" href="news:alt.comp.freeware">alt.comp.freeware</a>.  For many years now, the group has put together a list of freeware called <a title="info about pricelessware" href="http://www.pricelesswarehome.org/">the Pricelessware List</a>. For the last five years, folks there have also compiled CDs with a lot of the freeware on the lists.  (Because of restrictions on redistribution, not all freeware on the list makes it to the CDs.)</p>
<p>The 2008 Pricelessware CDs have recently been put together, and getting that word out is the reason for this post.  (The blogotubes&#8217; search thingies pick up even my little corner of what I understand is some kind of sphere.)  I host the CD images, so you can <a title="pricelessware cd downloads" href="http://downloads.remarqs.net/pl/">download the Pricelessware CDs from this site</a> or you can read more about them and see other download options at <a title="pricelessware cd info" href="http://www.pricelesswarehome.org/2008/2008PL-CD-about.php">the Pricelessware site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2009/02/26/pricelessware-cds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>colorful command prompts</title>
		<link>http://qblog.remarqs.net/2008/05/25/colorful-command-prompts/</link>
		<comments>http://qblog.remarqs.net/2008/05/25/colorful-command-prompts/#comments</comments>
		<pubDate>Sun, 25 May 2008 09:01:09 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=28</guid>
		<description><![CDATA[Since I started out with Gentoo, I&#8217;m used to colors in virtual consoles and terminal emulators. There&#8217;s a small but vocal group of Gentooers who hate them and switch everything to monochrome, but I couldn&#8217;t live with that at this point. Slackware sticks with basic white-on-black, so I have to tweak things a little. Father-of-Gentoo [...]]]></description>
			<content:encoded><![CDATA[<p>Since I started out with Gentoo, I&#8217;m used to colors in virtual consoles and terminal emulators.  There&#8217;s a small but vocal group of Gentooers who hate them and switch everything to monochrome, but I couldn&#8217;t live with that at this point.  Slackware sticks with basic white-on-black, so I have to tweak things a little.  Father-of-Gentoo Daniel Robbins has a good <a title="Funtoo's PS1 tips" href="http://funtoo.org/en/articles/linux/tips/prompt/">tutorial on tweaking the command prompt</a> on his website.  In my <code>~/.bashrc</code>, I use</p>
<pre class="codebox">export PS1="\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] "</pre>
<p>which results in a prompt that looks like this:</p>
<p><a href="http://qblog.remarqs.net/wp-content/uploads/2008/05/ps1-q.png"><img class="size-full wp-image-29" title="that's my bash promt, eh" src="http://qblog.remarqs.net/wp-content/uploads/2008/05/ps1-q.png" alt="my usual command prompt" width="289" height="24" /></a></p>
<p>Ouch, that looks much better in the middle of a console than it does against the white background of my blog.  Oh, well.</p>
<p>For root&#8217;s prompt, I use a bright yellow hash prompt that reminds me to be careful.  I also don&#8217;t display the working directory;  if I&#8217;m root I&#8217;ve already made sure I know where I am.</p>
<pre class="codebox">export "PS1=\[\033[01;31m\]\h\[\033[01;34m\] \W \[\033[01;33m\]\\$\[\033[00m\] "</pre>
<p><a href="http://qblog.remarqs.net/wp-content/uploads/2008/05/ps1-root.png"><img class="size-full wp-image-30" title="powerful PS1" src="http://qblog.remarqs.net/wp-content/uploads/2008/05/ps1-root.png" alt="my root prompt" width="156" height="24" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2008/05/25/colorful-command-prompts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nvidia drivers pain then joy</title>
		<link>http://qblog.remarqs.net/2008/05/19/nvidia-drivers-pain-then-joy/</link>
		<comments>http://qblog.remarqs.net/2008/05/19/nvidia-drivers-pain-then-joy/#comments</comments>
		<pubDate>Mon, 19 May 2008 05:51:14 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=27</guid>
		<description><![CDATA[I have a GeForce 8600 GTS so I need nVidia&#8217;s binary driver.  (Well, for values of &#8220;need&#8221; which include needing to run at full resolution and have a tolerable display.)  Just downloading and running the installer from nVidia has worked up to now for me with Slackware, but not this time, after I had compiled [...]]]></description>
			<content:encoded><![CDATA[<p>I have a GeForce 8600 GTS so I need nVidia&#8217;s binary driver.  (Well, for values of &#8220;need&#8221; which include needing to run at full resolution and have a tolerable display.)  Just downloading and running the installer from nVidia has worked up to now for me with Slackware, but not this time, after I had compiled my own kernel.  I think the problem was that I could get it to see either the correct kernel headers or the correct kernel source but not both at the same time.  I&#8217;m not sure about that, though.  I&#8217;m not even sure why it would need anything but the headers.  In any case, even after searching the interweb and trying various installer options, I knew I wasn&#8217;t going to be able to make it work without a lot of hand-holding.</p>
<p>Then I remembered seeing an install script at <a title="SBo, the excellent script repository" href="http://slackbuilds.org/">SlackBuilds.org</a> for it.  Five minutes later, all was good.  I love that site.  While I&#8217;m plugging it, I&#8217;ll mention that I had a little trouble with their script for the backgammon game gnubg;  I got a version of gnubg without 3D board support.  Within minutes of posting a build log to their mailing list, the script maintainer got back to me, saying that I was missing the package that adds gl support for gtk and that he&#8217;d forgotten to list it as an optional dependency.  Again, five minutes later I had everything recompiled and working perfectly.  Those people are good!</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2008/05/19/nvidia-drivers-pain-then-joy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usb drive annoyance with kde and udev</title>
		<link>http://qblog.remarqs.net/2008/05/13/usb-drive-annoyance-with-kde-and-udev/</link>
		<comments>http://qblog.remarqs.net/2008/05/13/usb-drive-annoyance-with-kde-and-udev/#comments</comments>
		<pubDate>Tue, 13 May 2008 23:54:27 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=26</guid>
		<description><![CDATA[As it turns out, there&#8217;s really very little to blog about regarding my Slackware 12.1 installation. Almost everything Just Works. Update: I gave up on the approach below and solved the problem by modifying the kdeeject script per comment 13 in this Gentoo bug report.  This seems a lot better than screwing with the device&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>As it turns out, there&#8217;s really very little to blog about regarding my Slackware 12.1 installation.  Almost everything Just Works.</p>
<p><strong>Update</strong>: I gave up on the approach below and solved the problem by modifying the kdeeject script per comment 13 in <a title="kdeeject patch" href="http://bugs.gentoo.org/show_bug.cgi?id=186028#c13">this Gentoo bug report</a>.  This seems a lot better than screwing with the device&#8217;s permissions.</p>
<p>The only actual problem I have, and it&#8217;s really just an annoyance, is with KDE&#8217;s option to &#8220;safely remove device&#8221; for USB drives.  That option uses <code>eject</code> instead of just <code>umount</code>.  That&#8217;s fine, as <code>eject</code> works on my USB drives as long as the user has enough permission.</p>
<p>The problem arises because of default udev rules that make the owner of the device root:disk, and the user isn&#8217;t in the disk group.  <code>eject</code> calls <code>umount</code>, so the device <em>is</em> unmounted, and no harm is done.  But <code>eject</code> exits with error code 1, so KDE throws up an error window (along with its lovely breaking glass sound).</p>
<p>Two solutions mentioned on the intertron are to patch the KDE component which handles &#8220;safely remove&#8221; or to modify a script KDE uses.  The third solution, which I would like to use, is just to write a new <a title="all about writing udev rules" href="http://reactivated.net/writing_udev_rules.html">udev rule</a> to make sure the device is owned by root:plugdev (and of course the user should be in the plugdev group).  I&#8217;ve done this for just the WD drive which has the problem, but a rule can be written to handle all removable storage.  The rule has to be processed after the default udev rules handling block devices.</p>
<p>That&#8217;s a pretty good rundown of my understanding of the problem, but something is lacking in my understanding, because that solution doesn&#8217;t work under Slackware.  It <em>does</em> work under Gentoo, where I had the same problem.</p>
<p>I&#8217;m in the plugdev group, and here are the drive&#8217;s permissions:</p>
<pre class="codebox">$ ls -l /dev/bigpassport
brw-rw---- 1 root plugdev 8, 17 2008-05-13 17:50 /dev/bigpassport</pre>
<p>I still think it&#8217;s a permissions problem, since <code>eject</code> does work when run as root.  Here&#8217;s the eject output, with the drive mounted first, for user:</p>
<pre class="codebox">$ eject -v bigpassport; echo "exit code $?"
eject: device name is `bigpassport'
eject: expanded name is `/dev/bigpassport'
eject: `/dev/bigpassport' is mounted at `/media/bigpassport'
eject: unmounting device `/dev/bigpassport' from `/media/bigpassport'
eject: `/dev/bigpassport' is not a multipartition device
eject: trying to eject `/dev/bigpassport' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/bigpassport' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/bigpassport' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/bigpassport' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument
exit code 1</pre>
<p>And for root:</p>
<pre class="codebox"># eject -v bigpassport; echo exit code "$?"
eject: device name is `bigpassport'
eject: expanded name is `/dev/bigpassport'
eject: `/dev/bigpassport' is mounted at `/media/bigpassport'
eject: unmounting device `/dev/bigpassport' from `/media/bigpassport'
eject: `/dev/bigpassport' is not a multipartition device
eject: trying to eject `/dev/bigpassport' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/bigpassport' using SCSI commands
eject: SCSI eject succeeded
exit code 0</pre>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2008/05/13/usb-drive-annoyance-with-kde-and-udev/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>nVidia and xorg and hp1020 done</title>
		<link>http://qblog.remarqs.net/2008/05/10/nvidia-and-xorg-and-hp1020-done/</link>
		<comments>http://qblog.remarqs.net/2008/05/10/nvidia-and-xorg-and-hp1020-done/#comments</comments>
		<pubDate>Sat, 10 May 2008 09:38:21 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=23</guid>
		<description><![CDATA[I have a GeForce 8600 GTS video card. Grabbing the latest nVidia drivers (right now, 169.12) and following nVidia&#8217;s instructions worked fine. I&#8217;d never let nVidia&#8217;s installer autoconfigure xorg for me, but I gave it a shot this time, and it turned out well. It left the default resolutions at 1024&#215;768, but it was easy [...]]]></description>
			<content:encoded><![CDATA[<p>I have a GeForce 8600 GTS video card. Grabbing the <a title="nVidia driver download" href="http://www.nvidia.com/page/drivers.html">latest nVidia drivers</a> (right now, 169.12) and following nVidia&#8217;s instructions worked fine.  I&#8217;d never let nVidia&#8217;s installer autoconfigure xorg for me, but I gave it a shot this time, and it turned out well.  It left the default resolutions at 1024&#215;768, but it was easy enough to go through xorg.conf and add 1600&#215;1200.  After adding <code>Option "nologo"</code>, video was done.  Oh, and because I am pedantic, I changed the device identifier to &#8220;GeForce8600GTS&#8221; from whatever the Slackware installer had called it.</p>
<p>I have a Logitech wireless USB mouse.  Mousewheel scrolling didn&#8217;t work out of the box, but changing the protocol to &#8220;IMPS/2&#8243; and adding<code>Option "ZAxisMapping" "4 5"</code> fixed that.</p>
<p>I used GIMP to make a <a title="grub splash specs" href="http://jaeger.morpheus.net/linux/grubsplash.html">grub splash image</a>.  It looks pretty rough when stretched to fit the 20 inch monitor, but my rudimentary graphics skills aren&#8217;t up to making something pretty.  Anyway, it works with the grub from System Rescue CD.</p>
<p><a title="my post about foo2zjs" href="http://qblog.remarqs.net/2007/07/18/installation-of-foo2zjs-for-hp-laserjet-1020/">Installing the driver for the HP 1020</a> went just as smoothly as before.</p>
<p>That&#8217;s enough tinkering with Slackware for today.  Now I&#8217;ll switch to installing the ridiculous number of <a title="my Firefox 2 extension list" href="http://remarqs.net/firefox/extlist.htm">Firefox extensions</a> I use.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2008/05/10/nvidia-and-xorg-and-hp1020-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>back into the slack</title>
		<link>http://qblog.remarqs.net/2008/05/10/back-into-the-slack/</link>
		<comments>http://qblog.remarqs.net/2008/05/10/back-into-the-slack/#comments</comments>
		<pubDate>Sat, 10 May 2008 04:47:41 +0000</pubDate>
		<dc:creator>»Q«</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://qblog.remarqs.net/?p=22</guid>
		<description><![CDATA[I&#8217;d been doing most of my work on my laptop. I wanted to play the most recent Half-Life episode on the desktop, which meant installing Windows. It was a huge hassle installing Windows XP, much worse than any Linux install this century, and part of it was to destroy everything on the 300 GiB hard [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d been doing most of my work on my laptop.  I wanted to play the most recent Half-Life episode on the desktop, which meant installing Windows.   It was a huge hassle installing Windows XP, much worse than any Linux install this century, and part of it was to destroy everything on the 300 GiB hard drive.  (The part of  the Win XP installer that examines the hard drive would just get stuck, even though the first primary partition was NTFS, 100 GiB.)  Since I wasn&#8217;t much using Slackware or any of the several other distros I had installed to play around with, I just cleaned it all off without backing up anything but a few documents.</p>
<p>Now, of course, I&#8217;m kicking myself.  I&#8217;ve just installed <a title="Slackware 12.1 info" href="http://www.slackware.com/announce/12.1.php">Slackware 12.1</a> and am beginning to put back into place the stuff I want or need.  And this time I&#8217;m going to try to document a lot of it here, if only so I can find it again if I need it.  There are some things I do to any GNU/Linux install, and I forget the details of how to do them &#8212; I&#8217;m hoping if I put them here, I can save myself some re-re-re-googling down the line.</p>
<p>So far, I&#8217;ve just installed it and the grub bootloader.  The Slackware way is to use lilo instead of grub, but I really prefer grub.  Slackware does provide a build of grub, but that&#8217;s not much use before Slack is bootable.  I use System Rescue CD to install grub;  it&#8217;s a Gentoo livecd with some good tools, and I&#8217;m most comfortable with Gentoo.  The stage files grub needs aren&#8217;t in the cd&#8217;s <code>/usr/share/</code>, but it&#8217;s easy enough to copy them from <code>/boot/</code>.  Then the grub commands I needed were just <code>root (hd0,4)</code> and then <code>setup (hd0,4).</code></p>
<p>I couldn&#8217;t recall what parameters need to be passed to a Slack kernel, but it  turned out that just using <code>kernel (hd0,0)/boot/[kernelfilename] root=/dev/sda7 ro</code> works ok.  Later (much later), I&#8217;ll at least get framebuffer goodness and maybe a grubsplash.  And compile a slimmer kernel &#8212; for now, I&#8217;m using the huge-smp one.</p>
<p>The desktop only has dial-up, and once again Slackware&#8217;s <a title="Slackware's ppp setup tool" href="http://www.slackware.com/config/ppp.php">pppsetup</a> works fine to get a connection.  I also set up kppp without problems.</p>
<p>I&#8217;d forgotten how annoying KDE&#8217;s sound scheme is.  I turned it all off immediately.</p>
<p>Next up: nVidia drivers and xorg config, udev rules for USB drives.</p>
]]></content:encoded>
			<wfw:commentRss>http://qblog.remarqs.net/2008/05/10/back-into-the-slack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

