<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shell Person</title>
	<atom:link href="http://saintsteele.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://saintsteele.wordpress.com</link>
	<description>Help me keep the shell people alive.</description>
	<lastBuildDate>Mon, 05 Jul 2010 22:55:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='saintsteele.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Shell Person</title>
		<link>http://saintsteele.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://saintsteele.wordpress.com/osd.xml" title="Shell Person" />
	<atom:link rel='hub' href='http://saintsteele.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Keyboard Hotkeys with Debian Lenny</title>
		<link>http://saintsteele.wordpress.com/2010/07/05/keyboard-hotkeys/</link>
		<comments>http://saintsteele.wordpress.com/2010/07/05/keyboard-hotkeys/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 22:55:14 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hotkey]]></category>
		<category><![CDATA[xbindkeys]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=318</guid>
		<description><![CDATA[Here are some notes on assigning functions to those special keys that come on so many keyboards. My Gateway SK-9920 has 12 of these hotkeys: volume up, down, and mute; play, stop, next, and last track; internet, help, mail, shopping cart (?), and back (presumably). I don&#8217;t even know what the creators of this keyboard [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=318&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are some notes on assigning functions to those special keys that come on so many keyboards.  My Gateway SK-9920 has 12 of these hotkeys: volume up, down, and mute; play, stop, next, and last track; internet, help, mail, shopping cart (?), and back (presumably).  I don&#8217;t even know what the creators of this keyboard envisioned for the &#8220;shopping cart&#8221; key.  Often these keys aren&#8217;t recognized out-of-the-box in Windows, much less in Linux.</p>
<p>Like usual, there are almost certainly specific GNOME or KDE tools to accomplish this goal.  Since I&#8217;m not running those, however, I&#8217;ll stick to tools available in almost any X.Org environment (I happen to be using Ratpoison).<span id="more-318"></span></p>
<p>First, some terminology.  A <strong>scancode</strong> is the lowest level of identification for a key.  If your key doesn&#8217;t have a scancode, you&#8217;re out of luck &#8211; the kernel doesn&#8217;t recognize the key at all.  A <strong>keycode</strong> is the next level of identification.  If your key&#8217;s scancode is identified with a keycode, then there&#8217;s just one more step to make it do what you want.  The last level of identification is a <strong>symbol</strong>.  A scancode is mapped to a keycode, which is mapped to a symbol (for example, the letter &#8220;e&#8221; or &#8220;Caps Lock&#8221;).</p>
<h1>Keycodes</h1>
<p>Starting out, none of my hotkeys were mapped to symbols, some were mapped to keycodes, and some only had scancodes (thankfully there were no completely &#8220;dead&#8221; keys).  You can check if a key has a keycode by using <code>xbindkeys</code>.  In a terminal (in X &#8211; not a console) type<br />
[plain]xbindkeys -k[/plain]<br />
followed by the key you want to check.  Here&#8217;s an example of the output from my &#8220;Back&#8221; hotkey (before I bound it using xbindkeys, but after I assigned a keycode to the scancode, as described at the end of this post):<br />
[plain]<br />
james@tv:~$ xbindkeys -k<br />
Press combination of keys or/and click under the window.<br />
You can use one of the two lines after &#8220;NoCommand&#8221;<br />
in $HOME/.xbindkeysrc to bind a key.<br />
&#8220;(Scheme function)&#8221;<br />
    m:0&#215;10 + c:211<br />
    Mod2 + NoSymbol<br />
[/plain]</p>
<h1>Binding keycodes to actions</h1>
<p>Using the output from <code>xbindkeys -k</code>, it&#8217;s easy to bind a key to an action.  This will be configured in the <code>~/.xbindkeysrc</code> file (you may need to create it).  It will take effect when you run <code>xbindkeys</code>.  You&#8217;ll probably want to call it in your <code>~/.xinitrc</code> file.  Here&#8217;s an example of the format from my <code>.xbindkeysrc</code>:<br />
[plain]<br />
# internet key<br />
&#8220;firefox&#8221;<br />
  m:0&#215;10 + c:178</p>
<p># play/pause key<br />
&#8220;mpc toggle&#8221;<br />
  m:0&#215;10 + c:162</p>
<p># stop key<br />
&#8220;mpc stop&#8221;<br />
  m:0&#215;10 + c:164</p>
<p># previous track key<br />
&#8220;mpc prev&#8221;<br />
  m:0&#215;10 + c:144</p>
<p># next track key<br />
&#8220;mpc next&#8221;<br />
  m:0&#215;10 + c:153</p>
<p># volume up key<br />
&#8220;amixer set &#8216;Headphone&#8217; 1%+ ; amixer set &#8216;PCM&#8217; 1%+&#8221;<br />
  m:0&#215;10 + c:176</p>
<p># volume down key<br />
&#8220;amixer set &#8216;Headphone&#8217; 1%- ; amixer set &#8216;PCM&#8217; 1%-&#8221;<br />
  m:0&#215;10 + c:174</p>
<p># mute key<br />
&#8220;amixer set &#8216;Headphone&#8217; toggle ; amixer set &#8216;PCM&#8217; toggle&#8221;<br />
  m:0&#215;10 + c:160<br />
[/plain]<br />
It&#8217;s a pretty simple format.  Obviously the &#8220;#&#8221; precedes a comment (and is optional, but recommended).  The next line is the command you want the hotkey to run (surrounded by quotes).  You&#8217;ll recognize the final line from the output of <code>xbindkeys -k</code>.  I&#8217;m not sure if you can use either output line (or both) but mine works fine with just the first line following the <code>"(Scheme function)"</code> line.</p>
<p>That&#8217;s all there is to it&#8230; unless your key does not have a keycode.</p>
<h1>Mapping scancodes to keycodes</h1>
<p>If <code>xbindkeys -k</code> does not recognize your key, it&#8217;s probably not associated with a keycode.  You can check if the key has a scancode (in other words, if the kernel recognizes the key) by pressing the key and then checking <code>dmesg</code> to see if the key was mentioned.  Here&#8217;s an example of what it will look like (from pushing my &#8220;Back&#8221; hotkey, before I assigned it to a keycode):<br />
[plain]<br />
james@tv:~$ dmesg | tail -4<br />
[   48.274918] atkbd.c: Unknown key pressed (translated set 2, code 0&#215;83 on isa0060/serio0).<br />
[   48.274918] atkbd.c: Use &#8216;setkeycodes e003 &#8216; to make it known.<br />
[   48.789832] atkbd.c: Unknown key released (translated set 2, code 0&#215;83 on isa0060/serio0).<br />
[   48.789832] atkbd.c: Use &#8216;setkeycodes e003 &#8216; to make it known.<br />
[/plain]<br />
If you get similar output, you&#8217;re key has a scancode (and is not mapped to a keycode).  You can use <code>setkeycodes</code> to assign a keycode to the key.  Before doing this, however, you&#8217;re going to want to make sure that you don&#8217;t assign it to a keycode that&#8217;s already in use.  You can find this out by looking at your keymap.<br />
[bash]<br />
james@tv:~$ cp /etc/console/boottime.kmap.gz .<br />
james@tv:~$ gunzip boottime.kmap.gz<br />
james@tv:~$ less boottime.kmap<br />
[/bash]<br />
[plain]<br />
&#8211; SNIP &#8211;</p>
<p>keycode  81 = KP_3<br />
        altgr   keycode  81 = Hex_3<br />
        alt     keycode  81 = Ascii_3<br />
keycode  82 = KP_0<br />
        altgr   keycode  82 = Hex_0<br />
        alt     keycode  82 = Ascii_0<br />
keycode  83 = KP_Period<br />
        altgr   control keycode  83 = Boot<br />
        control alt     keycode  83 = Boot<br />
keycode  84 = Last_Console<br />
keycode  85 =<br />
keycode  86 = less             greater          bar<br />
        alt     keycode  86 = Meta_less<br />
        shift   alt     keycode  86 = Meta_greater<br />
keycode  87 = F11              F23              Console_23       F35<br />
        alt     keycode  87 = Console_11<br />
        control alt     keycode  87 = Console_11<br />
keycode  88 = F12              F24              Console_24       F36<br />
        alt     keycode  88 = Console_12<br />
        control alt     keycode  88 = Console_12<br />
keycode  89 =<br />
keycode  90 =<br />
keycode  91 =<br />
keycode  92 =<br />
keycode  93 =<br />
keycode  94 =<br />
keycode  95 =<br />
keycode  96 = KP_Enter<br />
        altgr   keycode  96 = Hex_F<br />
keycode  97 = Control<br />
keycode  98 = KP_Divide<br />
        altgr   keycode  98 = Hex_B<br />
keycode  99 = Control_backslash<br />
        alt     keycode  99 = Meta_Control_backslash<br />
        shift   alt     keycode  99 = Meta_Control_backslash<br />
        control alt     keycode  99 = Meta_Control_backslash<br />
keycode 100 = AltGr<br />
keycode 101 = Break<br />
keycode 102 = Find            </p>
<p>&#8211; SNIP &#8211;<br />
[/plain]<br />
You can see that some keycodes are not being used (89-95, for example), so those are safe to use.  (By the way, I&#8217;ve heard that you&#8217;re supposed to pick a keycode between 1-127, but I don&#8217;t know why, or what happens if you don&#8217;t &#8211; I&#8217;ve never used one outside of that range).</p>
<p>You can then assign a scancode to one of these unused keycodes using <code>setkeycodes</code> (as root).<br />
[plain]setkeycodes 0&#215;83 89[/plain]<br />
The above code assigns the scancode from my &#8220;Back&#8221; hotkey to the unused keycode &#8220;89&#8243;.  Once that&#8217;s been done, you can use <code>xbindkeys -k</code> (as described above) to get the correct identifier to bind the key using <code>xbindkeys</code>.</p>
<p>Assuming you want to use this binding after you reboot, you&#8217;ll want to add the <code>setkeycodes</code> command to <code>/etc/rc.local</code>.  Here&#8217;s an example of mine:<br />
[bash]<br />
james@tv:~$ cat /etc/rc.local<br />
#!/bin/sh -e<br />
#<br />
# rc.local<br />
#<br />
# This script is executed at the end of each multiuser runlevel.<br />
# Make sure that the script will &#8220;exit 0&#8243; on success or any other<br />
# value on error.<br />
#<br />
# In order to enable or disable this script just change the execution<br />
# bits.<br />
#<br />
# By default this script does nothing.</p>
<p>## James added to map the &#8220;back&#8221;, &#8220;shopping cart&#8221;, and &#8220;?&#8221; keys on Gateway keyboard<br />
setkeycodes 0&#215;83 89 &amp;<br />
setkeycodes 0&#215;81 90 &amp;<br />
setkeycodes 0&#215;82 91 &amp;</p>
<p>exit 0<br />
[/bash]</p>
<p>Please feel free to mention better or alternate ways, or anything that I&#8217;ve got wrong.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=318&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/07/05/keyboard-hotkeys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Support EFF: Play Video Games</title>
		<link>http://saintsteele.wordpress.com/2010/05/08/video-games-support-eff/</link>
		<comments>http://saintsteele.wordpress.com/2010/05/08/video-games-support-eff/#comments</comments>
		<pubDate>Sat, 08 May 2010 04:29:36 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[childs play]]></category>
		<category><![CDATA[eff]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=315</guid>
		<description><![CDATA[For three more days you can buy a bundle of 5 indie video games, and you can pay whatever you want. Furthermore, you can designate where your money goes, between the five game developers, EFF (the Electronic Frontier Foundation), and the Childs Play charity (video games for hospitals). Also, all of the games are cross [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=315&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For three more days you can buy a bundle of 5 indie video games, and you can pay whatever you want.  Furthermore, you can designate where your money goes, between the five game developers, EFF (the <a href="http://www.eff.org/">Electronic Frontier Foundation</a>), and the <a href="http://www.childsplaycharity.org/">Childs Play</a> charity (video games for hospitals).  Also, all of the games are cross platform; linux, mac, and windows.</p>
<p>The games are:</p>
<ul>
<li><a href="http://2dboy.com/games.php">World of Goo</a></li>
<li><a href="http://www.bit-blot.com/aquaria/">Aquaria</a></li>
<li><a href="http://www.crypticsea.com/gish/">Gish</a></li>
<li><a href="http://www.wolfire.com/lugaru">Lugaru</a></li>
<li><a href="http://www.penumbragame.com/">Penumbra: overture</a></li>
</ul>
<p>You can buy the bundle here: <a href="http://www.wolfire.com/humble">http://www.wolfire.com/humble</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=315&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/05/08/video-games-support-eff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Google Chrome in Debian Lenny</title>
		<link>http://saintsteele.wordpress.com/2010/05/07/install-chrome-in-lenny/</link>
		<comments>http://saintsteele.wordpress.com/2010/05/07/install-chrome-in-lenny/#comments</comments>
		<pubDate>Sat, 08 May 2010 03:29:43 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[lenny]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=313</guid>
		<description><![CDATA[This is simple. First, get the package Go to http://www.google.com/chrome/eula.html and select the 32-bit .deb for Debian/Ubuntu, then click &#8220;Accept and Install&#8221;. This will download google-chrome-beta_current_i386.deb. Optional: Prevent Chrome from adding the Google repository If you want Chrome to keep itself up-to-date, don&#8217;t do this step. However, if you just want to check Chrome out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=313&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is simple.</p>
<h4>First, get the package</h4>
<p>Go to <a href="http://www.google.com/chrome/eula.html">http://www.google.com/chrome/eula.html</a> and select the 32-bit .deb for Debian/Ubuntu, then click &#8220;Accept and Install&#8221;.  This will download google-chrome-beta_current_i386.deb.</p>
<h4>Optional: Prevent Chrome from adding the Google repository</h4>
<p>If you want Chrome to keep itself up-to-date, don&#8217;t do this step.  However, if you just want to check Chrome out without changing too much, you might want to type the following command at the command line:<span id="more-313"></span><br />
[bash light="true" highlight="1"]sudo touch /etc/default/google-chrome[/bash]</p>
<h4>Install with DPKG</h4>
<p>In the directory where you downloaded Chrome:<br />
[bash light="true" highlight="1"]sudo dpkg &#8211;install google-chrome-beta_current_i386.deb[/bash]<br />
In my case, I didn&#8217;t have the necessary dependencies, so I got the following errors:<br />
[bash light="true"]<br />
james@tv:~$ sudo dpkg &#8211;install google-chrome-beta_current_i386.deb<br />
Selecting previously deselected package google-chrome-beta.<br />
(Reading database &#8230; 24475 files and directories currently installed.)<br />
Unpacking google-chrome-beta (from google-chrome-beta_current_i386.deb) &#8230;<br />
dpkg: dependency problems prevent configuration of google-chrome-beta:<br />
 google-chrome-beta depends on libgconf2-4; however:<br />
  Package libgconf2-4 is not installed.<br />
 google-chrome-beta depends on libxslt1.1; however:<br />
  Package libxslt1.1 is not installed.<br />
 google-chrome-beta depends on libxss1; however:<br />
  Package libxss1 is not installed.<br />
 google-chrome-beta depends on xdg-utils (&gt;= 1.0.1); however:<br />
  Package xdg-utils is not installed.<br />
dpkg: error processing google-chrome-beta (&#8211;install):<br />
 dependency problems &#8211; leaving unconfigured<br />
Processing triggers for menu &#8230;<br />
Processing triggers for man-db &#8230;<br />
Errors were encountered while processing:<br />
 google-chrome-beta<br />
[/bash]<br />
You can fix that with apt-get, like so:<br />
[bash light="true" highlight="1"]sudo apt-get -f install[/bash]<br />
This will grab all of the dependencies Chrome needs.  Here&#8217;s the output (you&#8217;ll need to type &#8220;y&#8221; when prompted):</p>
<p>[bash collapse="true" gutter="false" toolbar="false"]<br />
james@tv:~$ sudo apt-get -f install<br />
Reading package lists&#8230; Done<br />
Building dependency tree<br />
Reading state information&#8230; Done<br />
Correcting dependencies&#8230; Done<br />
The following extra packages will be installed:<br />
  gconf2-common libgconf2-4 libidl0 liborbit2 libxslt1.1 libxss1 shared-mime-info xdg-utils<br />
Suggested packages:<br />
  desktop-file-utils libgnome2-0 exo-utils libgnomevfs2-bin kdelibs4c2a konqueror<br />
The following NEW packages will be installed:<br />
  gconf2-common libgconf2-4 libidl0 liborbit2 libxslt1.1 libxss1 shared-mime-info xdg-utils<br />
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.<br />
1 not fully installed or removed.<br />
Need to get 3047kB of archives.<br />
After this operation, 11.1MB of additional disk space will be used.<br />
Do you want to continue [Y/n]? y<br />
Get:1 http://ftp.us.debian.org lenny/main gconf2-common 2.22.0-1 [1532kB]<br />
Get:2 http://ftp.us.debian.org lenny/main libidl0 0.8.10-0.1 [87.6kB]<br />
Get:3 http://ftp.us.debian.org lenny/main liborbit2 1:2.14.13-0.1 [249kB]<br />
Get:4 http://ftp.us.debian.org lenny/main libgconf2-4 2.22.0-1 [242kB]<br />
Get:5 http://ftp.us.debian.org lenny/main libxslt1.1 1.1.24-2 [227kB]<br />
Get:6 http://ftp.us.debian.org lenny/main libxss1 1:1.1.3-1 [11.9kB]<br />
Get:7 http://ftp.us.debian.org lenny/main xdg-utils 1.0.2-6.1 [54.3kB]<br />
Get:8 http://ftp.us.debian.org lenny/main shared-mime-info 0.30-2 [644kB]<br />
Fetched 3047kB in 7s (433kB/s)<br />
Selecting previously deselected package gconf2-common.<br />
(Reading database &#8230; 24798 files and directories currently installed.)<br />
Unpacking gconf2-common (from &#8230;/gconf2-common_2.22.0-1_all.deb) &#8230;<br />
Selecting previously deselected package libidl0.<br />
Unpacking libidl0 (from &#8230;/libidl0_0.8.10-0.1_i386.deb) &#8230;<br />
Selecting previously deselected package liborbit2.<br />
Unpacking liborbit2 (from &#8230;/liborbit2_1%3a2.14.13-0.1_i386.deb) &#8230;<br />
Selecting previously deselected package libgconf2-4.<br />
Unpacking libgconf2-4 (from &#8230;/libgconf2-4_2.22.0-1_i386.deb) &#8230;<br />
Selecting previously deselected package libxslt1.1.<br />
Unpacking libxslt1.1 (from &#8230;/libxslt1.1_1.1.24-2_i386.deb) &#8230;<br />
Selecting previously deselected package libxss1.<br />
Unpacking libxss1 (from &#8230;/libxss1_1%3a1.1.3-1_i386.deb) &#8230;<br />
Selecting previously deselected package xdg-utils.<br />
Unpacking xdg-utils (from &#8230;/xdg-utils_1.0.2-6.1_all.deb) &#8230;<br />
Selecting previously deselected package shared-mime-info.<br />
Unpacking shared-mime-info (from &#8230;/shared-mime-info_0.30-2_i386.deb) &#8230;<br />
Processing triggers for man-db &#8230;<br />
Setting up gconf2-common (2.22.0-1) &#8230;</p>
<p>Creating config file /etc/gconf/2/path with new version<br />
Setting up libidl0 (0.8.10-0.1) &#8230;<br />
Setting up liborbit2 (1:2.14.13-0.1) &#8230;<br />
Setting up libgconf2-4 (2.22.0-1) &#8230;<br />
Setting up libxslt1.1 (1.1.24-2) &#8230;<br />
Setting up libxss1 (1:1.1.3-1) &#8230;<br />
Setting up xdg-utils (1.0.2-6.1) &#8230;<br />
Setting up google-chrome-beta (5.0.375.29-r46008) &#8230;<br />
Setting up shared-mime-info (0.30-2) &#8230;<br />
Processing triggers for menu &#8230;<br />
[/bash]<br />
Now, I&#8217;m not sure if this last step is actually necessary, but I figured it couldn&#8217;t hurt to repeat the original dpkg command, just to make sure it works with no errors (again, in the directory where you downloaded the .deb):<br />
[bash light="true" highlight="1"]sudo dpkg &#8211;install google-chrome-beta_current_i386.deb[/bash]<br />
This time it worked fine:<br />
[bash light="true"]<br />
james@tv:~$ sudo dpkg &#8211;install google-chrome-beta_current_i386.deb<br />
(Reading database &#8230; 25041 files and directories currently installed.)<br />
Preparing to replace google-chrome-beta 5.0.375.29-r46008 (using google-chrome-beta_current_i386.deb) &#8230;<br />
Unpacking replacement google-chrome-beta &#8230;<br />
Setting up google-chrome-beta (5.0.375.29-r46008) &#8230;<br />
Processing triggers for menu &#8230;<br />
Processing triggers for man-db &#8230;<br />
[/bash]</p>
<h4>Launch Chrome</h4>
<p>[bash light="true" highlight="1"]google-chrome[/bash]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/313/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/313/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/313/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=313&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/05/07/install-chrome-in-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Using ls to Show Directory Size &#8211; Updated &amp; Explained</title>
		<link>http://saintsteele.wordpress.com/2010/04/29/show-directory-size-with-ls/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/29/show-directory-size-with-ls/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:39:46 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=308</guid>
		<description><![CDATA[Note &#8211; I&#8217;ve written about this before (here). In my opinion, this is a vast improvement over that earlier version. This title of this post is not entirely accurate. The post is actually about a script that will list files and directories in the same format as ls -l (the &#8220;long listing&#8221; format of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=308&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>Note</em> &#8211; I&#8217;ve written about this before (<a href="http://www.shellperson.net/bash-get-size-of-directory-in-ls-l-output/">here</a>).  In my opinion, this is a vast improvement over that earlier version.</p>
<p>This title of this post is not entirely accurate.  The post is actually about a script that will list files and directories <em>in the same format</em> as <span style="font-family:courier;font-weight:bold;">ls -l</span> (the &#8220;long listing&#8221; format of the ls command), except it will correctly report the size of directories (and all of the files within them).  Technically, it is actually in the format of <span style="font-family:courier;font-weight:bold;">ls -lhL</span>.</p>
<p>This is functionally very different than the output of ls.  Typically ls lists the size of directories <i><b>not including their contents</b></i>.  This produces a very small number, which is the amount of disk space the directory&#8217;s meta-data takes up (i.e. the names of files within the directory).  Here is an example:<br />
[bash light="true"]ls -lhL[/bash]<br />
[plain]<br />
total 116K<br />
drwxr-x&#8212; 1 james users  44K 2010-04-22 17:21 movies<br />
drwxr-x&#8212; 1 james users  48K 2010-04-03 22:22 music<br />
drwxr-x&#8212; 1 james users    0 2009-12-11 16:20 photos<br />
drwxr-x&#8212; 1 james users 4.0K 2009-12-13 22:36 data<br />
drwxr-x&#8212; 1 james users  20K 2010-04-27 00:56 tv<br />
[/plain]<span id="more-308"></span><br />
And here is an example of the output of the script (note the size of the directories):<br />
[plain]<br />
drwxr-x&#8212; 1 james users 178G 2010-04-22 17:21 movies<br />
drwxr-x&#8212; 1 james users  26G 2010-04-03 22:22 music<br />
drwxr-x&#8212; 1 james users 9.9G 2009-12-11 16:20 photos<br />
drwxr-x&#8212; 1 james users  27G 2009-12-13 22:36 data<br />
drwxr-x&#8212; 1 james users 135G 2010-04-27 00:56 tv<br />
[/plain]<br />
That&#8217;s a pretty big difference.  Note that if all you&#8217;re interested in is the permissions, modification time, and filename, using <span style="font-family:courier;font-weight:bold;">ls -lh</span> is a much better choice &#8211; it&#8217;s extremely fast and gives you all the information you need.  However, if you want to know how much space the contents of each directory is using, you should use the following script:<br />
[bash gutter="1"]<br />
#!/bin/bash<br />
# script to display the sizes of files and directories in the format of ls -lhL<br />
## note that large space on line 9 (the &#8216;	&#8216; that follows &#8220;cut -d&#8221;) is a tab, created in a terminal with CTRL+v then TAB<br />
for x in *;<br />
  do<br />
    y=&#8221;$(echo &#8220;$x&#8221; | sed -e &#8216;s/\[/\\[/g' -e 's/]/\\]/g&#8217;)&#8221;<br />
    echo -e \<br />
      &#8220;$(ls -lL | grep &#8220;[0-9]\{2\}:[0-9]\{2\} $y$&#8221; | sed &#8216;s/[ ][ ]*/ /g&#8217; | cut -d &#8216; &#8216; -f 1-4) \<br />
        $(du -sh &#8220;$x&#8221; | cut -d &#8216;	&#8216; -f 1)&#8221; \<br />
      &#8220;$(ls -lL | grep &#8220;[0-9]\{2\}:[0-9]\{2\} $y$&#8221; | sed &#8216;s/[ ][ ]*/ /g&#8217; | cut -d &#8216; &#8216; -f 6-20 )&#8221;;<br />
  done \<br />
| column -t \<br />
| sed -e &#8216;s/[ ]\([ ][ ]*\)/\1/g&#8217; \<br />
| sed -e &#8216;s/[ ][ ]*/ /8g&#8217; \<br />
| sed &#8216;s/\([ ][ ]*\)\([^ ]*\)\([ ]\)\([ ]*\)\([^ ]*[ ]*[^ ]*[ ]*\)\([^ ]*\)\([ ]\)\([ ]*\)/\1\4\2\3\5\8\6\7/&#8217;<br />
[/bash]<br />
<strong>NOTE</strong> &#8211; The script is not displayed entirely correctly in this post; on line 8, the multiple spaces in single-quotes (following <span style="font-family:courier;font-weight:bold;">cut -d</span>) should be a TAB.  Although it&#8217;s displayed incorrectly on the page, if you use either the &#8220;view source&#8221; or &#8220;copy to clipboard&#8221; buttons (top-right of the script when you hover over it), it will use the correct character.  You can also produce this character in a terminal with CTRL+v followed by TAB.</p>
<p>This script should be named something convenient and saved somewhere in your $PATH.  I call the script <span style="font-family:courier;font-weight:bold;">lsd</span> and save it in &#8220;/home/james/bin&#8221;.  </p>
<h4>How the script works</h4>
<p>If you&#8217;re the kind of person who likes to know what a script does before copying it from the internet and running it, here&#8217;s what&#8217;s going on in this script.  Paragraphs are labeled by the script&#8217;s line numbers.</p>
<p><em>Lines 4-11</em>.  This is a for loop that is run on every (non-hidden) file in your current directory (*).  $x is the variable that holds one of the directory&#8217;s filenames per iteration.</p>
<p><em>Line 6</em>.  $y is a variable that equals $x, except brackets (&#8220;[" and "]&#8220;) are replaced by escaped brackets (&#8220;\[" and "\]&#8220;), in order to avoid conflict with grep&#8217;s regular expressions matching.</p>
<p><em>Lines 7-10</em>.  These lines are all part of a long echo command which arranges the data in the same format as <span style="font-family:courier;font-weight:bold;">ls -lhL</span>.  It is echoing three separate command substitution variables, separated by spaces.</p>
<p><em>Line 8</em>.  The first of three command substitutions.  Gets a long directory listing, greps out the single line that matches $x, removes extra spaces between sections, and then chops off the 2nd part of the line at the point where the directory size will be displayed.</p>
<p><em>Line 9</em>.  The second of three command substitutions.  Gets the size of $x using <span style="font-family:courier;font-weight:bold;">du -sh</span> and then chops off the end of the line, leaving only the size.</p>
<p><em>Line 10</em>.  The third of three command substitutions.  Gets a long directory listing, greps out the single line that matches $x, removes extra spaces between sections, and then chops off the 1st part of the line up to the point after where the directory size will be displayed.  Script lines 8, 9, and 10 will form a single line of output for each iteration of the for loop.</p>
<p><em>Lines 12-15</em>.  Each of these lines formats the script&#8217;s output to match the style of <span style="font-family:courier;font-weight:bold;">ls -lhL</span>.</p>
<p><em>Line 12</em>.  Sorts the output into columns using <span style="font-family:courier;font-weight:bold;">column -t</span>.</p>
<p><em>Line 13</em>.  Removes extra spaces according to the following rule: for every group of 2 or more consecutive spaces, subtract one space from that group.</p>
<p><em>Line 14</em>.  Removes extra spaces from the last part of the lines, ensuring that filenames containing spaces do not have multiple consecutive spaces.</p>
<p><em>Line 15</em>.  Swaps certain groups of spaces around in order to match the justification style of <span style="font-family:courier;font-weight:bold;">ls -lhL</span>.  Specifically, user and group names are justified left, while file sizes are justified right.</p>
<p>Please leave a comment if you&#8217;ve tried this script and found any bugs in it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=308&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/29/show-directory-size-with-ls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Change Super Contacts Icon on the Palm Pre</title>
		<link>http://saintsteele.wordpress.com/2010/04/28/change-super-contacts-icon/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/28/change-super-contacts-icon/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 03:38:34 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[palm pre]]></category>
		<category><![CDATA[super contacts]]></category>
		<category><![CDATA[webos]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=306</guid>
		<description><![CDATA[I doubt many people will be searching for this post&#8230; I like the Super Contacts app for the Palm Pre, and I decided to put it in the quicklaunch dock instead of Palm&#8217;s default Contacts app. The only problem with this is that the Super Contacts app is really ugly (my apologies, guys-who-made-it, I admit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=306&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I doubt many people will be searching for this post&#8230;</p>
<p>I like the <a href="http://www.orgorganization.com/supercontacts.html">Super Contacts</a> app for the Palm Pre, and I decided to put it in the quicklaunch dock instead of Palm&#8217;s default Contacts app.  The only problem with this is that the Super Contacts app is really ugly (my apologies, guys-who-made-it, I admit I&#8217;m shallow).  Here&#8217;s what I did to replace it with Palm&#8217;s Contacts icon.<span id="more-306"></span></p>
<p>You&#8217;ll need to have command line access to your Pre.  This can be done with the terminal app, but using it for more than a few seconds will probably make you want to kill yourself.  I suggest using SSH.</p>
<p>First, back everything up:<br />
[bash]<br />
cd /media/cryptofs/apps/usr/palm/applications/com.orgorganization.app.supercontacts<br />
cp icon.png icon.png.backup<br />
cp icon32x32.png icon32x32.backup<br />
cp miniicon.png miniicon.png.backup<br />
[/bash]<br />
Sadly, I don&#8217;t even know which of those files (icon.png, icon32x32.png, or miniicon.png) is used for the dock icon, because my changes weren&#8217;t updated until I rebooted.</p>
<p>Replace the Super Contacts icon with the Palm Contacts icon:<br />
[bash]<br />
cp /usr/palm/applications/com.palm.app.contacts/icon.png /media/cryptofs/apps/usr/palm/applications/com.orgorganization.app.supercontacts/icon.png<br />
cp /usr/palm/applications/com.palm.app.contacts/icon.png /media/cryptofs/apps/usr/palm/applications/com.orgorganization.app.supercontacts/icon32x32.png<br />
cp /usr/palm/applications/com.palm.app.contacts/icon.png /media/cryptofs/apps/usr/palm/applications/com.orgorganization.app.supercontacts/miniicon.png<br />
[/bash]<br />
That should cover all of your bases.  Just reboot and the old Super Contacts icon in the dock should have been replaced by the Palm Contacts icon.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=306&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/28/change-super-contacts-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Disable the New Google Layout</title>
		<link>http://saintsteele.wordpress.com/2010/04/24/disable-new-google-layout/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/24/disable-new-google-layout/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 03:38:54 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=304</guid>
		<description><![CDATA[I saw the new Google search results page layout for the first time tonight. I then googled &#8220;turn off new google layout&#8221;. I suppose I don&#8217;t handle change very well. If you hate the new Google layout too, here&#8217;s how to fix it: Go to Google&#8217;s Experiment Search page (part of Google Labs) here: http://www.google.com/experimental/ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=304&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I saw the new Google search results page layout for the first time tonight.  I then googled &#8220;turn off new google layout&#8221;.  I suppose I don&#8217;t handle change very well.  If you hate the new Google layout too, here&#8217;s how to fix it:<span id="more-304"></span></p>
<ol>
<li>Go to Google&#8217;s Experiment Search page (part of Google Labs) here: <a href="http://www.google.com/experimental/" target="_blank">http://www.google.com/experimental/</a></li>
<li>Press the &#8220;Join this experiment&#8221; button at the top, right-hand corner of the &#8220;Keyboard shortcuts&#8221; experiment section</li>
<li>Enjoy not seeing Google&#8217;s new layout any more on search results</li>
<li>Bonus Points &#8211; Enjoy the Keyboard Shortcuts experiment, which is really fantastic.  It lets you navigate Google search results with keyboard shortcuts that will feel very natural to fans of Linux terminal apps.  (Notably, &#8220;j&#8221; navigates down, &#8220;k&#8221; navigates up.)  These are also the shortcuts used in Gmail, Google Reader, and the Boston Globe&#8217;s &#8220;<a href="http://www.boston.com/bigpicture/" target="_blank">Big Picture</a>&#8221; (which is fantastic).</li>
</ol>
<p><a href="http://www.shellperson.net/wp-content/uploads/disable-new-google-layout.jpg"><img class="aligncenter size-full wp-image-366" title="disable-new-google-layout" src="http://www.shellperson.net/wp-content/uploads/disable-new-google-layout.jpg" alt="Join Keyboard Shortcuts experiment to avoid new Google layout" width="500" height="195" /></a>Please leave a comment if this doesn&#8217;t work for you, or you know a better way to do it, or if you think the new layout has some redeeming quality that I&#8217;m missing.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=304&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/24/disable-new-google-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>

		<media:content url="http://www.shellperson.net/wp-content/uploads/disable-new-google-layout.jpg" medium="image">
			<media:title type="html">disable-new-google-layout</media:title>
		</media:content>
	</item>
		<item>
		<title>Autostart X Without GDM</title>
		<link>http://saintsteele.wordpress.com/2010/04/24/autostart-x-without-gdm/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/24/autostart-x-without-gdm/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 02:27:55 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[ratpoison]]></category>
		<category><![CDATA[X]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=302</guid>
		<description><![CDATA[I&#8217;m going to explain how I auto-start ratpoison on my bare-bones Debian Stable (Lenny) system. I don&#8217;t use GDM, KDM, or any other &#8220;DM&#8221; (display manager). There are multiple steps here (involving multiple config files), but it is not complicated. Step 1 /etc/inittab &#38; mingetty mingetty is an alternative to getty, which (for the sake [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=302&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to explain how I auto-start ratpoison on my bare-bones Debian Stable (Lenny) system.  I don&#8217;t use GDM, KDM, or any other &#8220;DM&#8221; (display manager).  There are multiple steps here (involving multiple config files), but it is not complicated.</p>
<h4>Step 1<br />
/etc/inittab &amp; mingetty</h4>
<p>mingetty is an alternative to getty, which (for the sake of simplicity) I describe as the linux login program.  You&#8217;ll need to install mingetty:</p>
<p>[bash]<br />
#as root (i.e., using either su or sudo)<br />
apt-get install mingetty<br />
[/bash]<span id="more-302"></span></p>
<p>Isn&#8217;t Debian easy?  We&#8217;re going to use mingetty to auto-login on tty6 (which you can access with ctrl+alt+F6).  You&#8217;ll need to edit /etc/inittab:</p>
<p>[bash]<br />
#First (always), make a backup copy<br />
cp /etc/inittab ~/inittab.backup<br />
[/bash]</p>
<p>[bash]<br />
#note that I&#8217;m using &#8220;vim&#8221; here &#8211; that&#8217;s my editor of choice, but you can use whatever text editor you please (nano is easy)<br />
#as root<br />
vim /etc/inittab<br />
[/bash]</p>
<p>Find this section:</p>
<p>[bash]<br />
1:2345:respawn:/sbin/getty 38400 tty1<br />
2:23:respawn:/sbin/getty 38400 tty2<br />
3:23:respawn:/sbin/getty 38400 tty3<br />
4:23:respawn:/sbin/getty 38400 tty4<br />
5:23:respawn:/sbin/getty 38400 tty5<br />
6:23:respawn:/sbin/getty 38400 tty6<br />
[/bash]</p>
<p>and change it to this:</p>
<p>[bash]<br />
1:2345:respawn:/sbin/getty 38400 tty1<br />
2:23:respawn:/sbin/getty 38400 tty2<br />
3:23:respawn:/sbin/getty 38400 tty3<br />
4:23:respawn:/sbin/getty 38400 tty4<br />
5:23:respawn:/sbin/getty 38400 tty5<br />
#6:23:respawn:/sbin/getty 38400 tty6<br />
6:23:respawn:/sbin/mingetty &#8211;autologin james &#8211;noclear tty6<br />
[/bash]</p>
<p>(By the way, I should note that I usually duplicate lines I&#8217;m going to  change, and then comment-out one and make my changes to the other one,  so I&#8217;ll know what the line used to be.  Feel free to delete the  commented-out lines if you like.)  Obviously you&#8217;ll also want to replace &#8220;james&#8221; with your username (unless by chance your username is also &#8220;james&#8221;).</p>
<p>That&#8217;s the end of step one.  At this point, your computer should boot just like normal, but if you go to tty6 (again, ctrl+alt+F6), you&#8217;ll find that you&#8217;re already logged in on that tty.</p>
<h4>Step 2<br />
~/.profile</h4>
<p>The ~/.profile is a script that is run after opening a login shell.  There&#8217;s probably some stuff already in there that can be left alone.  You&#8217;ll need to add the following IF statement, which will automatically run startx (which, appropriately, starts X) when someone logs in to tty6 (which will happen automatically, thanks to Step 1).</p>
<p>[bash]<br />
#First (always), make a backup copy<br />
cp ~/.profile ~/.profile.backup<br />
[/bash]</p>
<p>[bash]<br />
# if logging into tty6 (which will autologin), run startx<br />
if [ -z "$DISPLAY" ] &amp;&amp; [ $(tty) = /dev/tty6 ] ; then<br />
    startx ;<br />
fi<br />
[/bash]</p>
<p>That&#8217;s the end of Step 2.  Now your computer will auto-login on tty6 (thanks to /etc/inittab), and then automatically start X (thanks to ~/.profile).  Now all that&#8217;s left is to start ratpoison.</p>
<h4>Step 3<br />
~/.xinitrc</h4>
<p>The .xinitrc is a script that consists of commands you want to run when you start X.  I have around 11 commands in my .xinitrc, but there&#8217;s only one that&#8217;s necessary to start ratpoison (which is the window manager I use &#8212; you may want to use a different WM, and if so, alter your .xinitrc accordingly).  This needs to be the last command listed in your .xinitrc:</p>
<p>[bash]<br />
ratpoison<br />
[/bash]</p>
<p>That last step seems fairly obvious, but maybe not if this is your first time.  Feel free to leave a comment if you have any questions or suggestions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/302/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/302/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/302/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=302&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/24/autostart-x-without-gdm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Bluehost Vs. Godaddy: Bluehost Wins</title>
		<link>http://saintsteele.wordpress.com/2010/04/23/bluehost-vs-godaddy/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/23/bluehost-vs-godaddy/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 02:14:52 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[comparison]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[wordpress.org]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=292</guid>
		<description><![CDATA[This isn&#8217;t an in-depth analysis of the two hosting providers, just my limited experiences. I recently switched my WordPress blog from godaddy.com to bluehost.com, and I&#8217;ve been very pleased with the results. Reasons: Bluehost seems way less gimmicky There aren&#8217;t ads plastered everywhere in Bluehost They aren&#8217;t trying to constantly upsell (in fact, there&#8217;s really [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=292&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.shellperson.net/wp-content/uploads/bluehostvgodaddy1.jpg"><img class="alignright size-full wp-image-350" title="bluehostvgodaddy" src="http://www.shellperson.net/wp-content/uploads/bluehostvgodaddy1.jpg" alt="" width="198" height="218" /></a>This isn&#8217;t an in-depth analysis of the two hosting providers, just my limited experiences.  I recently switched my WordPress blog from godaddy.com to bluehost.com, and I&#8217;ve been very pleased with the results.</p>
<p>Reasons:</p>
<ul>
<li>Bluehost seems way less gimmicky
<ul>
<li>There aren&#8217;t ads plastered everywhere in Bluehost</li>
<li>They aren&#8217;t trying to constantly upsell (in fact, there&#8217;s really not much to move up to &#8211; they just seem to have the one plan)</li>
<li>They don&#8217;t charge extra for private domain registration</li>
</ul>
</li>
<li>The Bluehost interface is clean and uncluttered</li>
<li>Setting up WordPress is pretty easy with either site, but it seems easier with Bluehost</li>
<li>Bluehost&#8217;s cPanel is easier to use</li>
</ul>
<p>I&#8217;ve never had major problems with either site, so I can&#8217;t compare the quality of their customer service.  The customer support at both sites have impressed me the few times I&#8217;ve interacted with them (Godaddy&#8217;s telephone support is really nice).</p>
<p>This isn&#8217;t intended to bash Godaddy &#8211; they didn&#8217;t treat me poorly, and I would have never tried Bluehost had I not heard such positive recommendations.  However, after trying them both, I&#8217;ll be sticking with Bluehost.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=292&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/23/bluehost-vs-godaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>

		<media:content url="http://www.shellperson.net/wp-content/uploads/bluehostvgodaddy1.jpg" medium="image">
			<media:title type="html">bluehostvgodaddy</media:title>
		</media:content>
	</item>
		<item>
		<title>MPC Script &#8211; Quickly Find and Play by Album</title>
		<link>http://saintsteele.wordpress.com/2010/04/22/mpc-script-quickly-find-and-play-by-album/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/22/mpc-script-quickly-find-and-play-by-album/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 03:32:50 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[album]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[mpc]]></category>
		<category><![CDATA[mpd]]></category>
		<category><![CDATA[playlist]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=277</guid>
		<description><![CDATA[This is a simple script for MPD &#38; MPC users. It allows you to quickly queue and play an album. I name the script &#8220;album&#8221; and put it in ~/bin (which is included in my $PATH). [bash] #!/bin/bash ## Shortcut to search, add, and play an album (after clearing current playlist). ## Use -a (for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=277&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a simple script for MPD &amp; MPC users.  It allows you to quickly queue and play an album.  I name the script &#8220;album&#8221; and put it in ~/bin (which is included in my $PATH).</p>
<p>[bash]<br />
#!/bin/bash<br />
## Shortcut to search, add, and play an album (after clearing current playlist).<br />
## Use -a (for &#8220;add&#8221;) to add the album to the playlist without clearing current playlist.</p>
<p>if [ $1 = -a ]<br />
then<br />
shift<br />
mpc search album &#8220;$*&#8221; | mpc add ; mpc play<br />
exit<br />
fi</p>
<p>mpc clear<br />
mpc search album &#8220;$*&#8221; | mpc add ; mpc play<br />
[/bash]</p>
<p><span id="more-277"></span>The usage is simple:<br />
[bash]album abbey[/bash]<br />
The above command would stop the song currently playing, clear the current playlist and replace it with The Beatles&#8217; Abbey Road, and start playing it.  If I had another album with &#8220;abbey&#8221; in the name, it would have loaded that one as well.  Spaces are included as part of the search string &#8212; for example, this also works:<br />
[bash]album abbey road[/bash]</p>
<p>You can use the &#8220;-a&#8221; switch to add the album to the current playlist.  It won&#8217;t interrupt what&#8217;s currently playing, it will only put the new album in the queue.<br />
[bash]album -a abbey road[/bash]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/277/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/277/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/277/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=277&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/22/mpc-script-quickly-find-and-play-by-album/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
		<item>
		<title>Removing Ratpoison&#8217;s Borders</title>
		<link>http://saintsteele.wordpress.com/2010/04/21/removing-ratpoisons-borders/</link>
		<comments>http://saintsteele.wordpress.com/2010/04/21/removing-ratpoisons-borders/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 17:45:03 +0000</pubDate>
		<dc:creator>saintsteele</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[.ratpoisonrc]]></category>
		<category><![CDATA[1px]]></category>
		<category><![CDATA[border]]></category>
		<category><![CDATA[fitts law]]></category>
		<category><![CDATA[fitts's law]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[ratpoison]]></category>

		<guid isPermaLink="false">http://shellperson.net/?p=282</guid>
		<description><![CDATA[This is a simple issue, but one that wasn&#8217;t immediately evident to me. When using Firefox in ratpoison, I noticed that there was a 1px border surrounding the window. This is annoying, especially when trying to scroll with the mouse &#8212; it&#8217;s always easiest to fling the mouse to the far edge of the screen, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=282&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a simple issue, but one that wasn&#8217;t immediately evident to me.  When using Firefox in ratpoison, I noticed that there was a 1px border surrounding the window.  This is annoying, especially when trying to scroll with the mouse &#8212; it&#8217;s always easiest to fling the mouse to the far edge of the screen, so I&#8217;m not scrolling frames or text boxes (or flash).  But the 1px border is essentially dead space, so I then have to move back a little, wasting time.  (I suppose this relates to <a href="http://en.wikipedia.org/wiki/Fitts%27s_law">Fitts&#8217;s law</a>).<span id="more-282"></span></p>
<p>It&#8217;s not hard to fix, but the commands changed at one point, and I was still using the old commands.  This is what I had in my .ratpoisonrc (which wasn&#8217;t working):<br />
[bash]<br />
defborder 0<br />
defpadding 0 0 0 0<br />
defbarpadding 0 0<br />
[/bash]<br />
That should be replaced by this:<br />
[bash]<br />
set border 0<br />
set padding 0 0 0 0<br />
set barpadding 0 0<br />
[/bash]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/saintsteele.wordpress.com/282/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/saintsteele.wordpress.com/282/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/saintsteele.wordpress.com/282/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=saintsteele.wordpress.com&amp;blog=3179429&amp;post=282&amp;subd=saintsteele&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://saintsteele.wordpress.com/2010/04/21/removing-ratpoisons-borders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7502b788a834ebbd0c0f7edfa965c3e1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">saintsteele</media:title>
		</media:content>
	</item>
	</channel>
</rss>
