<?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>Catching that horse ...</title>
	<atom:link href="http://heelsbroke.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://heelsbroke.wordpress.com</link>
	<description>Debian Linux on a Powerbook5,8</description>
	<lastBuildDate>Tue, 25 Oct 2011 15:06:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='heelsbroke.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Catching that horse ...</title>
		<link>http://heelsbroke.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://heelsbroke.wordpress.com/osd.xml" title="Catching that horse ..." />
	<atom:link rel='hub' href='http://heelsbroke.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Why wordpress.com &#8230;</title>
		<link>http://heelsbroke.wordpress.com/2009/05/19/why-wordpress-com/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/19/why-wordpress-com/#comments</comments>
		<pubDate>Tue, 19 May 2009 10:49:12 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[blogger.com]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[looks]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress.com]]></category>
		<category><![CDATA[nice code]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=166</guid>
		<description><![CDATA[Why wordpress.com, instead of blogger.com. Notes on looks, functionality and code on blog pages.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=166&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Those knowing my blog at <em>heelsbroke.blogspot.com</em> might wonder why I started publishing Linux documentation here at <em>wordpress.com</em>. So a few words on this subject are in order &#8230;</p>
<p style="text-align:center;"><em><strong>Looks</strong></em></p>
<p>I&#8217;m pretty much lured by the visual impression that things have on me. Show me any well-written and helpful text on a page: If the design the text is embedded into is appalling, I hate to look at it. No matter how useful its reading might be.</p>
<p>This begins with pages overloaded with items, arranged so carelessly and ugly, that one cannot be sure: Are the designers simply non-pro enough to not bother whether we like their product or not, or did they simply choose the wrong job. After all a lousy web-designer could be an excellent flea circus manager any time.</p>
<p>Here&#8217;s a fine start of what I think is a web site with beautifully designed entrance pages, with only the needed information on it, and arranged to a nice design:<br />
<a href="http://www.clivemenzies.co.uk/">http://www.clivemenzies.co.uk/</a></p>
<p>WordPress fulfills my requirements in that regard, with dozens of different themes they offer. These themes are in most cases customizable, so to some degree users can change the appearance of them to their likings.</p>
<p>Additionally <em>wordpress.com</em> has set up a nice admin area  &#8211; a.k.a. dashboard &#8211; for their users, in non-kitschy  colors, and with easily browsable sub-items to edit the settings of a blog.</p>
<p style="text-align:center;"><em><strong>Functionality</strong></em></p>
<p>I refuse to waste my time with unnecessary efforts to reach some end: If I have to dig for hours for help, on how I change things on my blog, and whether I can change them at all, then I will look for a change of the blog host. Sooner or later.</p>
<p>A very good start for help so far was the very entrance help page for wordpress.com: <a href="http://support.wordpress.com/">http://support.wordpress.com/</a>.</p>
<p>Plus: I publish samples of code very often &#8211; which is a snap on wordpress com: They <a href="http://en.support.wordpress.com/code/posting-source-code/">offer</a> a style sheet tag to do that, that looks like so:</p>
<p><pre class="brush: css;">
&#x5b;sourcecode language=&quot;css&quot;&#x5d;
this is some &#x3c;code&#x3e; foo code &#x3c;&#x2f;code&#x3e;
&#x5b;/sourcecode&#x5d;
</pre></p>
<p>The important part above are lines 1 and 3: This little snippet also enables readers to easily distinguish explanations on my posts from some actual code I show them.</p>
<p>And yes: Sad to say on <a href="http://pleasemakeanote.blogspot.com/2008/06/posting-source-code-in-blogger.html">blogger.com</a> &#8211; to get code like that running like it does here &#8211; involves a lot more effort, as it seems.</p>
<p>One of my favorite features on my blogs at <em>wordpress.com</em> is the <em>diff</em> you can see between different versions of the entries I wrote: I like to fine tune my posts often, and under these circumstances it&#8217;s highly important to have definite control of what was changed: I publish code, and I have to make extra sure I don&#8217;t mess it up.</p>
<p>And yes, <em>wordpress.com</em> even gives me stats for my posts &#8211; at the admin area of my blog.</p>
<p style="text-align:center;"><em><strong>Code</strong></em></p>
<p>HTML code, as probably any code, has to be as short as possible, and as long as necessary. Keep it simple. This is important to keep debugging time at a minimum.</p>
<p>Besides that, non-bloated code is more elegant, and much more beautiful. For my eyes at least &#8230;</p>
<p>To learn HTML, a good and efficient way is to simply use the WYSIWYG editors of blog hosters. They&#8217;re available both on <em>blogger.com</em> and on <em>wordpress.com</em>: Switching from WYSIWYG to HTML editor mode shows you the tags to use for what you want.</p>
<p>To illustrate it, here&#8217;s an example &#8211; I want the code for these four words:</p>
<p style="text-align:center;"><em>italic</em>, <strong>bold</strong> and centered</p>
<p>To format the text above the <em>blogger.com</em> WYSIWYG editor writes this code:</p>
<p><pre class="brush: css;">
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;italic&lt;/span&gt;, &lt;span style=&quot;font-weight: bold;&quot;&gt;bold&lt;/span&gt; and centered&lt;/div&gt;
</pre></p>
<p>While the code writen by the editor on <em>wordpress.com</em> yields this:</p>
<p><pre class="brush: css;">
&lt;p style=&quot;text-align: center;&quot;&gt;&lt;em&gt;italic&lt;/em&gt;, &lt;strong&gt;bold&lt;/strong&gt; and centered&lt;/p&gt;
</pre></p>
<p>I prefer the shorter one produced by the <em>wordpress</em> editor. Especially as both code snippets on both <em>blogger</em> and <em>wordpress</em> do nearly the same.</p>
<p style="text-align:center;"><em><strong>Costs</strong></em></p>
<p>Well, yes &#8211; last, but certainly not least: blogging at <em>wordpress.com</em> is free for its users.</p>
<p>Now all this doesn&#8217;t mean I will close down my blog at <em>heelsbroke.blogspot.com</em>. It only means that I will use that blog for something else in the future. Details are not clear yet. Stay tuned, please &#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=166&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/19/why-wordpress-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>
	</item>
		<item>
		<title>Display cloning on Linux &#8212; xrandr1.2 and xorg-driver-ati</title>
		<link>http://heelsbroke.wordpress.com/2009/05/12/display-cloning-on-linux-xrandr1-2-and-xorg-driver-ati/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/12/display-cloning-on-linux-xrandr1-2-and-xorg-driver-ati/#comments</comments>
		<pubDate>Tue, 12 May 2009 22:54:13 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[display cloning]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[xorg]]></category>
		<category><![CDATA[xrandr]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=63</guid>
		<description><![CDATA[Following a few notes on the new way on Debian GNU/Linux to clone a notebook screen to an external video device. First please note there are already documents available on the background of it. Not necessarily Debian related: two links for that: http://wiki.debian.org/XStrikeForce/HowToRandR12 http://www.thinkwiki.org/wiki/Xorg_RandR_1.2 For the latest news on the software please see the xorg-driver-ati [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=63&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following a few notes on the new way on Debian GNU/Linux to clone a notebook screen to an external video device. First please note there are already documents available on the background of it. Not necessarily Debian related: two links for that:</p>
<p><a href="http://wiki.debian.org/XStrikeForce/HowToRandR12" target="_blank">http://wiki.debian.org/XStrikeForce/HowToRandR12</a><br />
<a href="http://www.thinkwiki.org/wiki/Xorg_RandR_1.2" target="_blank">http://www.thinkwiki.org/wiki/Xorg_RandR_1.2</a></p>
<p>For the latest news on the software please see the xorg-driver-ati archives on</p>
<p><a href="http://lists.x.org/archives/xorg-driver-ati/" target="_blank">http://lists.x.org/archives/xorg-driver-ati/</a></p>
<p>The hints here are meant for Debian Linux, and for the new ati radeon driver. The following from playing the software on an Apple PowerBook5,8. Display managing was done with KDE/KDM. Here&#8217;s <a href="http://www.geocities.com/wolfgangpfeiffer/xorg.conf.txt" target="_blank">xorg.conf</a> I have installed. Please note, that these drivers are work in progress. Their behavior sometimes seems to be completely  unpredictable. So the following few hints on how to use them do not necessarily take into account the intentions of the programmers of this software. That is the following procedures were found to work. No guarantees they&#8217;re right, whatsoever.</p>
<p style="text-align:center;"><em><strong>Help &#8211; if things go wrong</strong></em></p>
<p>If you&#8217;re running into problems with the software please make sure &#8211; before changing anything like suggested below &#8211; that you have a second Linux driven computer handy to <em>ssh</em> into the machine with the changed radeon drivers. Make sure you can shutdown your computer safely via an <em>ssh</em> connection.<br />
First a few basics on X on a friendly Apple page :</p>
<p><a href="http://developer.apple.com/opensource/tools/runningx11.html" target="_blank">http://developer.apple.com/opensource/tools/runningx11.html</a></p>
<p>The page above might help understand the following few emergency commands:</p>
<p>*** 1:<br />
If you need to run xrandr on a remote computer via <em>ssh</em> &#8211; for example to switch on or off its display &#8211; you need to login to this computer with the &#39;<em>Y</em>&#39; flag, something like</p>
<p style="text-align:center;"><em>ssh -Y xxx.xxx.xxx.xxx</em></p>
<p>where the <em>xxx &#8230;</em> part above is the IP of the remote client</p>
<p>*** 2:<br />
If you now run on the remote client <em>&#8216;xrandr -q&#8217;</em> it might yield the values for the computer where you were coming from. This indicates you won&#8217;t be able to change display settings for this remote client. So run this, on the remote machine:</p>
<p style="text-align:center;"><em>echo $DISPLAY</em></p>
<p>If your shell is answering with something like</p>
<p style="text-align:center;"><em>localhost:10.0</em></p>
<p>you probably will need to change that. Run</p>
<p style="text-align:center;"><em>export DISPLAY=:0</em></p>
<p>Again running <em>&#8216;echo $DISPLAY&#8217;</em> this time should give something like</p>
<p style="text-align:center;"><em>:0</em></p>
<p>So, e.g. if the notebook display on the remote client was shut down accidentally, with the now changed <em>$DISPLAY</em> environment it should be possible to switch it on again with something like:</p>
<p style="text-align:center;"><em>xrandr &#8211;output LVDS &#8211;auto</em></p>
<p>Thanks:<br />
Brice Goglin<br />
<a href="http://lists.x.org/archives/xorg-driver-ati/2007-December/003427.html" target="_blank">Xavier Bestel</a></p>
<p style="text-align:center;"><em><strong>Getting the software</strong></em></p>
<p>This seems to be a definite preliminary:</p>
<blockquote>
<ul>
<li> xrandr1.2 (can be checked with a &#8216;xrandr -v&#8217;) and a</li>
<li> xserver-xorg-video-ati 6.7.19x and newer</li>
</ul>
</blockquote>
<p>xrandr1.2, e.g., comes on Debian unstable with newer   x11-xserver-utils packages.</p>
<p>And a relatively fresh Debian from the unstable branch might be needed, too.</p>
<p>There&#8217;s also an option to compile the necessary ati drivers by yourself. Not quite necessarily the Debian way:<br />
<pre class="brush: css;">
apt-get build-dep xserver-xorg-video-ati
git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati
cd xf86-video-ati/
./autogen.sh
MAKEFLAGS=&quot;CC=gcc-4.3&quot; make
</pre></p>
<p>You might even try to <a href="http://lists.x.org/archives/xorg-driver-ati/2006-December/000204.html" target="_blank">just compile</a> what you need, with the last line above changed to something like<br />
<pre class="brush: css;">
MAKEFLAGS=&quot;CC=gcc-4.3&quot; make -C src {ati,radeon}_drv.la
</pre><br />
<em>gcc-4.3</em> is the compiler I would use.<br />
After the succeeded compile, for a PowerBook5,8 it should be enough to just manually copy those resulting drivers:</p>
<blockquote>
<ul>
<li>ati_drv.so</li>
<li>radeon_drv.so</li>
</ul>
</blockquote>
<p>to</p>
<blockquote><p><em>/usr/lib/xorg/modules/drivers</em></p></blockquote>
<p>Be careful: If you are in a running X session don&#8217;t copy these new drivers with the usual <em>&#39;cp&#39;</em>: If you do you might get thrown out of your X very ugly, with the keyboard being unavailable for further use. I recommend to either log out of X completely, and then copy the mentioned drivers to</p>
<blockquote><p><em>/usr/lib/xorg/modules/drivers</em></p></blockquote>
<p>Even better perhaps the <a href="http://lists.x.org/archives/xorg-driver-ati/2007-December/003307.html" target="_blank">solution</a> I was told, something like</p>
<blockquote>
<p style="text-align:center;"><em>cp &#8211;remove-destination &lt;your driver&gt; /usr/lib/xorg/modules/driver</em></p>
<p style="text-align:center;"><em><strong>Cloning your screen</strong></em></p>
<p>Two scenarios for the notes following:</p>
<ul>
<li>Connecting the notebook to an external VGA</li>
<li>Connecting the notebook to a TV set</li>
</ul>
<p>Cloning the notebook screen both to VGA and TV works.</p>
<p style="text-align:center;"><em><strong>Connecting the notebook to an external TV monitor</strong></em></p>
<p>At least with xorg packages on Debian unstable/powerpc software is getting installed, that enables screen cloning to an external PAL TV monitor, in color mode. This is accomplished here via the S-Video connector on the computer.</p>
<p>Please note the Debian/unstable/ppc packages being used for screen cloning to a TV set as reported here, have been fresh as of around June 10 2008.</p>
<p>A color video as being played here with mplayer on the laptop, seen on the telly, if the LCD is switched off:</p>
<p><a href="http://img393.imageshack.us/img393/8523/kellyeyesscaleddp2.jpg"><img alt="" src="http://img145.imageshack.us/img145/3559/kellyeyesssmall.jpg" class="aligncenter" width="320" height="240" /></a></p>
<p>(The girl is Kellemarie, from a video that was available via <a href="http://www.goodmagazine.com/section/Transparency/Internet_Porn">http://www.goodmagazine.com/section/Transparency/Internet_Porn</a> &#8211; and no, it&#8217;s no porn video &#8230; :)</p>
<p>Cloning was done like along the line of that:</p>
<p>1:<br />
<em>xrandr &#8211;output S-video &#8211;set load_detection 1</em></p>
<p>2:<br />
<em>xrandr &#8211;output S-video &#8211;set tv_standard pal</em></p>
<p>3:<br />
<em>xrandr &#8211;addmode S-video 800&#215;600</em></p>
<p>4:<br />
<em>xrandr &#8211;output S-video &#8211;off</em></p>
<p>5:<br />
<em>xrandr &#8211;output S-video &#8211;mode 800&#215;600</em></p>
<p>Seems one can omit step 4.</p>
<p>An S-video to composite adapter was used (see <a href="http://www0.info.apple.com/images/kbase/33001/33001_23.gif">http://www0.info.apple.com/images/kbase/33001/33001_23.gif</a> for more), which was connected via an adapter to a SCART cable. The latter connected to a rather cheap 800&#215;600  PAL color TV set. I&#8217;m no sure whether this device is really an 800&#215;600 one. But at least it works with these values given to <em>xrandr</em>.</p>
<p>Sound for the movie was played on the notebook, due to the fact the audio out connector on the Apple PowerBook is not installed near the S-video out port on the same side of the machine, but on the opposite one. Which leaves the audio adapter cable, that is connected to the SCART cable to the TV set, too short to reach the audio out port.</p>
<p>Note: to get the complete LCD screen to the external screen (VGA or TV-set): I switch off my LCD:</p>
<p style="text-align:center;"><em>xrandr &#8211;output LVDS &#8211;off</em></p>
<p>and after that the screen on the VGA/TV is complete. On the TV-set, that is, nearly complete: its corners are rounded, contrary to the LCD, where they&#8217;re angular.</p>
<p style="text-align:center;"><em><strong>Connecting the notebook to an external VGA</strong></em></p>
<p>Two scenarios are being discussed here:</p>
<ul>
<li>Setting the LCD screen to the largest possible common mode with the VGA</li>
<li>Setting the VGA to its largest mode</li>
</ul>
<p>The first option implies the possibility of having both screens switched on, with the drawback of a somewhat reduced picture quality at least for the now lower moded LCD screen, where fonts now look fuzzy, and the whole screen is considerably smaller. That is, the LCD picture is looking a bit ugly now. Please have a look at the output of <em>&#34;xrandr -q&#34;</em> <a name="mode"></a><a href="#query">below</a> for the highest possible common mode for both screens, which in that case is <em>&#34;1280 x 800&#34;</em><br />
These are the commands executed on the notebook:</p>
<blockquote><p><em>xrandr &#8211;output LVDS &#8211;mode 1280&#215;800<br />
xrandr &#8211;output DVI-0 &#8211;auto</em></p></blockquote>
<p>Result:</p>
<p>&#36; <em><a name="query"></a><a href="#mode">xrandr -q</a><br />
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2720 x 1024<br />
LVDS connected 1280&#215;800+0+0 (normal left inverted right x axis<br />
y axis) 321mm x 214mm<br />
1440&#215;960       59.9 +<br />
1280&#215;800       60.0*<br />
1280&#215;768       60.0<br />
1024&#215;768       60.0<br />
800&#215;600        60.3<br />
640&#215;480        59.9<br />
DVI-0 connected 1280&#215;1024+0+0 (normal left inverted right x axis<br />
y axis) 300mm x 225mm<br />
1280&#215;1024      60.0*<br />
1280&#215;960       59.9<br />
1280&#215;800       60.0<br />
1280&#215;768       60.0<br />
1024&#215;768       85.0     84.9     75.1     70.1     60.0<br />
800&#215;600        84.9     85.1     75.0     60.3<br />
640&#215;480        85.0     84.6     75.0     60.0     59.9<br />
720&#215;400        70.1<br />
S-video connected (normal left inverted right x axis y axis)<br />
800&#215;600        59.9 +   60.3</em></p>
<p>Please note that the VGA is in its highest possible mode, i.e. <em>&#39;1280&#215;1024&#39;</em>, while the notebook screen is not.</p>
<p>If you don&#8217;t like the reduced mode on your notebook screen, simply switch it off while the VGA attached to it is on. This latter approach might also be useful if parts of the LCD display are missing on the VGA.</p>
<p>Please note there&#8217;s much more you might want to try with this new driver. Please ask a search engine on that, something like <a href="http://www.google.com/search?hl=en&amp;q=site%3Ax.org+radeon+driver&amp;btnG=Search" target="_blank">this</a>, perhaps &#8230;<br />
&#39;<em>man &#123;xrandr,radeon&#125;</em>&#39; might be useful, too.</p>
<p><strong>Thanks</strong>:<br />
Michel Dänzer<br />
Brice Goglin<br />
Xavier Bestel<br />
Everyone out there who made this new software possible</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=63&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/12/display-cloning-on-linux-xrandr1-2-and-xorg-driver-ati/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>

		<media:content url="http://img145.imageshack.us/img145/3559/kellyeyesssmall.jpg" medium="image" />
	</item>
		<item>
		<title>muttprint</title>
		<link>http://heelsbroke.wordpress.com/2009/05/10/muttprint/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/10/muttprint/#comments</comments>
		<pubDate>Sun, 10 May 2009 19:05:16 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[kghostview]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[muttprint]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[muttprintrc]]></category>
		<category><![CDATA[muttrc]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=50</guid>
		<description><![CDATA[Muttprint is a tool to print an email message in mutt: The documentation &#8211; at least here on Debian/unstable, and as of today &#8211; in some important sections seems to be a bit useless. That&#8217;s why you&#8217;re here, right &#8230; :) &#8230; ? For example this setting in ~/.muttrc that is recommended in /usr/share/doc/muttprint/manual/manual-en.pdf.gz is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=50&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Muttprint is a tool to print an email message in mutt: The documentation &#8211; at least here on Debian/unstable, and as of today &#8211; in some important sections seems to be a bit useless. That&#8217;s why you&#8217;re here, right &#8230; :) &#8230; ?</p>
<p>For example this setting in  <em>~/.muttrc</em> that is recommended in<br />
<em>/usr/share/doc/muttprint/manual/manual-en.pdf.gz</em><br />
is useless here:<br />
<em><br />
# Dump all headers<br />
macro index p &#34;&lt;display-toggle-weed&gt; &lt;print-message&gt; &lt;display-toggle-weed&gt; &lt;exit&gt;&#34;<br />
macro pager p &#34;&lt;display-toggle-weed&gt; &lt;print-message&gt; &lt;display-toggle-weed&gt;&#34;<br />
</em><br />
Well: wrong, I was lying: the documentation mentioned above says, just a few words later, to set<br />
<em><br />
# No confirmation before printing<br />
set print=&#34;yes&#34;</em></p>
<p>If you have this last line in your <em>~/.muttrc</em> chances are good that things go well  for mutt printings &#8230; Problem with this setting: printing seems to start immediately, without confirmation, after typing <em>&#39;p&#39;</em> in mutt. Here&#8217;s a nice workaround for that:</p>
<p>Simply direct the print-out to your favorite <em>gv</em> viewer. I use <em>&#39;kghostview&#39;</em> for it. So the necessary setting for that would be something like this in <em>~/.muttprintrc</em>:</p>
<p><em>PRINT_COMMAND=&#34;kghostview &#8211; &#34;</em></p>
<p>Leaving away the hyphen in the line above might yield an empty page &#8230;</p>
<p>Please see my complete <em>~/.muttprintrc</em> near the end of this post.</p>
<p>Note that in <em>~/.muttprintrc</em> some options set to the  <em>&#34;PRINTED_HEADERS=&#34;</em> line seem to get ignored in the actual print-out. Don&#8217;t ask me why, because I don&#8217;t get that &#8230; </p>
<p>Here&#8217;s what might be necessary for your <em>~/.muttrc</em>, too :<br />
<em><br />
set print_command=&#34;muttprint&#34;<br />
set print_split</em></p>
<p>So with the settings mentioned here, to print an email it should be enough to open it, then maybe toggling the display of headers or not by typing <em>&#39;h&#39;</em>, and then <em>&#39;p&#39;</em> for the actual preview &#8230;</p>
<p>Result: Reading the available documentation for muttprint on Debian, added to the few hints from here should give you nice prints from within mutt.  &#8230; :)</p>
<p>Following the mentioned config settings in one place. Relevant lines in <em>~/.muttrc</em>:<br />
<pre class="brush: css;">

#### muttprint:
set print_command=&quot;muttprint&quot;
set print_split

# Dump all headers
macro index p &quot;&lt;display-toggle-weed&gt; &lt;print-message&gt; &lt;display-toggle-weed&gt; &lt;exit&gt;&quot;
macro pager p &quot;&lt;display-toggle-weed&gt; &lt;print-message&gt; &lt;display-toggle-weed&gt;&quot;

# No confirmation before printing
set print=&quot;yes&quot;

</pre></p>
<p>And here comes <em>~/.muttprintrc</em>:</p>
<p><pre class="brush: css;">
# MUTTPRINT configuration file
#
# ~/.muttprintrc or /etc/Muttprintrc
# ~/.muttprintrc

#
# Here you can configure your printer
# To print in a file, use the following entry:
# PRINTER=&quot;TO_FILE:/home/berwal/test.ps&quot;
#PRINTER=&quot;lp&quot;

#
# Here you can set the print command
# $PRINTER is substituted by the PRINTER
# variable
#PRINT_COMMAND=&quot;lpr -P$PRINTER&quot;
#PRINT_COMMAND=&quot;CUPS&quot;
#PRINT_COMMAND=&quot;gv -&quot;
PRINT_COMMAND=&quot;kghostview -&quot;

#
# Here you can set the path to the penguin image
PENGUIN=&quot;/usr/share/ospics/Debian_color.eps&quot;
#PENGUIN=&quot;off&quot;

#
# Turn printing of X-Face picture on/off (on needs the packages compface
# and imagemagick)
XFACE=&quot;off&quot;

#
# Here you can turn the duplex print on or off. (needs psutils)
# Possible values are &quot;off&quot; or &quot;on&quot;
#
# For Postscript duplex printer set it to &quot;printer&quot;
DUPLEX=&quot;printer&quot;

#
# Here you can turn on or off the paper save mode
# (printing 2 pages on 1 page) - needs psutils
# Set it to 'optional' if you only want papersave mode
# if more than one page is printed.
PAPERSAVE=&quot;off&quot;

#
# Here you can set the printing speed in seconds
# per page
SPEED=&quot;80&quot;

#
# Choose a font:
# - Latex (EC-Fonts)
# - Latex-bright (CM-bright)
# - Times
# - Utopia
# - Palatino
# - Charter
# - Bookman
FONT=&quot;Latex&quot;


#
# Choose a style for the first page
# - plain       no rules
# - border      rule after the headers
# - fbox        simple box around the mailheaders
# - shadowbox   shadowbox around the header
# - ovalbox     box with rounded corners around the header (thin lines)
# - Ovalbox     same as &quot;ovalbox&quot; but thicker lines
# - doublebox   box with double lines around the header
# - grey        grey background behind the headers
# - greybox     same as &quot;grey&quot; but with a additional black box
FRONTSTYLE=&quot;fbox&quot;

#
# Should there be a rule after the header (not first page)
HEADRULE=&quot;on&quot;

#
# Should there be a rule over the footer
FOOTRULE=&quot;on&quot;

#
# Choose a paper format, if not specified look in /etc/papersize
# - A4
# - letter
#PAPER=&quot;A4&quot;

#
# prints signatures, and strange: Letting it as follows keeps the sig:
REM_SIG=&quot;on&quot;
# how does a signature look like?
SIG_REGEXP=&quot;^-- $&quot;

#
# prints no quoting
REM_QUOTE=&quot;off&quot;

#
# Choose of the printed headers, separation with &quot;_&quot;
# /Header/ : italic printing
# *Header* : bold printing
# If the header does not exist, it is not printed.
#PRINTED_HEADERS=&quot;Date_To_From_CC_Newsgroups_*Subject*&quot;
#PRINTED_HEADERS=
PRINTED_HEADERS=&quot;Date_From_To_Cc_Subject_In-Reply-To_MIME-Version_Content-Type_Content-Transfer-Encoding_Content-Disposition_References_Resent-Message-ID_Resent-From_X-Mailing-List_X-Loop_List-Id_Precedence_Resent-Sender_Resent-Date_Status_Content-Length_Lines_Return-Path_Delivered-To_Received_Old-Return-Path_X-Original-To&quot;

# 
# Writes error messages of LaTeX and dvips to /tmp/muttprint.log
DEBUG=&quot;1&quot;

#
# Font size: 10pt, 11pt or 12pt
FONTSIZE=&quot;10pt&quot;

#
# Longest line
WRAPMARGIN=&quot;90&quot;

# margins
TOPMARGIN=&quot;19&quot;
BOTTOMMARGIN=&quot;22&quot;
LEFTMARGIN=&quot;20&quot;
RIGHTMARGIN=&quot;20&quot;

#
# Date (format of printed date)
# original, local (needs Date::Parse from libtimedate-perl)
DATE=&quot;original&quot;

#
# Date format string (only if DATE=local)
# See strftime(3) for details
#DATE_FORMAT=&quot;%c&quot;

# pass special options to the verbatim environment, see texdoc fancyvrvb
VERBATIMNORMAL=&quot;&quot;
VERBATIMSIG=&quot;fontshape=it&quot;

# how should the address be printed out?
ADDRESSFORMAT=&quot;%r &lt;%a&gt;,\n&quot;

# own LaTeX code to be inserted
#
# playing with these fonts:
# 'LATEXCODE=' seems to have an impact to the mail headers
# 'LATEXCODE1=' seems being good for the mail body
# .. now the 
#
# LATEXCODE1=&quot;\renewcommand{\ttdefault}{pcr}&quot;
#
# seems to change the body font to 'courier'
# while
#
# LATEXCODE1=&quot;\renewcommand{\ttdefault}{phv}&quot;
#
# seems to result in 'helvetica' for the mail body ..
#
# Alternatively you can try to replace 'phv' (in the 'LATEXCODE1' line) 
# with 'ptm', 'pop', 'pag' (bigger ..), 'pgm', 'pbk' ... no guarantees
# it will work ...
# See e.g.
# /usr/share/texmf-texlive/tex/latex/sugconf/sugconf.cls
# or simply grep the 'tex' files area above 
# for 'renewcommand', if you're curious ... :)


LATEXCODE=&quot;\renewcommand{\familydefault}{\sfdefault}&quot;
#LATEXCODE1=&quot;\renewcommand{\ttdefault}{phv}&quot;
LATEXCODE2=&quot;&quot;
LATEXCODE3=&quot;&quot;
LATEXCODE4=&quot;&quot;
LATEXCODE5=&quot;&quot;

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=50&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/10/muttprint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>
	</item>
		<item>
		<title>kmix &#8211; stopping the OSD popups</title>
		<link>http://heelsbroke.wordpress.com/2009/05/08/kmix-stopping-the-osd-popups/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/08/kmix-stopping-the-osd-popups/#comments</comments>
		<pubDate>Fri, 08 May 2009 22:38:45 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[gtkpbbuttons]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osd]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[kmilo]]></category>
		<category><![CDATA[kmix]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=44</guid>
		<description><![CDATA[Took me some time to find how to stop the on-screen pop-up&#8217;s when changing the volume on KDE: Finding KMilo and stopping/disabling it did the trick: KDE Control center &#8211;&#62; KDE Components &#8211;&#62; Service Manager And gtkpbbuttons OSD&#8217;s do the same as the ones from KMilo &#8211; except that the former look better &#8230; :)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=44&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Took me some time to find how to stop the on-screen pop-up&#8217;s when changing the volume on KDE:</p>
<p>Finding <em>KMilo</em> and stopping/disabling it did the trick:<br />
KDE Control center &#8211;&gt; KDE Components &#8211;&gt; Service Manager</p>
<p>And <em>gtkpbbuttons </em>OSD&#8217;s do the same as the ones from KMilo &#8211; except that the former look better &#8230; :)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=44&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/08/kmix-stopping-the-osd-popups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>
	</item>
		<item>
		<title>Disabling Power Management for a hard disk with hdparm</title>
		<link>http://heelsbroke.wordpress.com/2009/05/08/disabling-power-management-for-a-hard-disk-with-hdparm/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/08/disabling-power-management-for-a-hard-disk-with-hdparm/#comments</comments>
		<pubDate>Fri, 08 May 2009 22:25:27 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[apm]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[hdparm]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Power Management]]></category>
		<category><![CDATA[disable power management]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=35</guid>
		<description><![CDATA[Leaving the power management enabled for your hard disk might shorten its life considerably. To give you an idea about it read this entry in a thread on the topic: http://lists.debian.org/debian-powerpc/2008/10/msg00008.html To see whether power management is enabled for your disk, you can enter something like this: hdparm -I /dev/hda &#124; grep -i &#8220;power management&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=35&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Leaving the power management enabled for your hard disk might shorten its life considerably. To give you an idea about it read this entry in a thread on the topic:<br />
<em><a href="http://lists.debian.org/debian-powerpc/2008/10/msg00008.html">http://lists.debian.org/debian-powerpc/2008/10/msg00008.html</a></em></p>
<p>To see whether power management is enabled for your disk, you can enter something like this:<br />
<em>hdparm -I /dev/hda | grep -i &#8220;power management&#8221;</em></p>
<p>On Debian Linux one might want write an entry like this to <em>/etc/hdparm.conf</em>, if <em>/dev/hda </em>is the disk you want to switch off the Power Management for:<br />
<em><br />
### START excerpt /etc/hdparm.conf  ###</p>
<p>apm = 255</p>
<p>/dev/hda {<br />
}</p>
<p>### END excerpt /etc/hdparm.conf  ###<br />
</em><br />
Additionally I have this in <em>/etc/default/hdparm</em>:<br />
<em><br />
### START  excerpt  /etc/default/hdparm ###</p>
<p>harddisks=&#8221;/dev/hda&#8221;<br />
hdparm_opts=&#8221;-B255&#8243;</p>
<p>### END  excerpt  /etc/default/hdparm ###<br />
</em></p>
<p>A script like the one below might be necessary in <em>/etc/power/scripts.d/</em>, if you have <em>pbbuttonsd</em> running, to make sure the <em>hdparm </em>values are re-set after resuming the machine from some sleep mode:</p>
<p><em>/etc/power/scripts.d/hdresume</em>:<br />
<em><br />
### START /etc/power/scripts.d/hdresume ###<br />
#!/bin/sh</p>
<p># name           : hdresume</p>
<p># Exit silently if package is no longer installed<br />
[ -x /etc/init.d/hdparm ] || exit 0</p>
<p>/etc/init.d/hdparm reload</p>
<p>### END /etc/power/scripts.d/hdresume ###<br />
</em><br />
Link to the script from <em>/etc/power/resume.d/</em>:</p>
<p><em># cd /etc/power/resume.d/<br />
# ln -s /etc/power/scripts.d/hdresume .</em></p>
<p>Note the dot at the end of the last line &#8230;<br />
Oh, and the <em>laptop-mode-tools</em> package is not installed here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=35&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/08/disabling-power-management-for-a-hard-disk-with-hdparm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>
	</item>
		<item>
		<title>CUPS and cupsd.conf on Linux</title>
		<link>http://heelsbroke.wordpress.com/2009/05/08/cups-and-cupsd-conf-on-linux/</link>
		<comments>http://heelsbroke.wordpress.com/2009/05/08/cups-and-cupsd-conf-on-linux/#comments</comments>
		<pubDate>Fri, 08 May 2009 15:39:38 +0000</pubDate>
		<dc:creator>Wolfgang Pfeiffer</dc:creator>
				<category><![CDATA[authentication]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[cupsd.conf]]></category>
		<category><![CDATA[no authentication]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[without authentication]]></category>

		<guid isPermaLink="false">http://heelsbroke.wordpress.com/?p=3</guid>
		<description><![CDATA[Accessing a CUPS driven printer without password I had to do a few print-outs with my old printer, and realized the old cupsd.conf didn&#8217;t do any more what I wanted it to do, namely running my printer on my home network, via http://127.0.0.1:631/, and without having to type in usernames and passwords there every time [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=3&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><em>Accessing a CUPS driven printer without password</em></p>
<p>I had to do a few print-outs with my old printer, and realized the old <em>cupsd.conf</em> didn&#8217;t do any more what I wanted it to do, namely running my printer on my home network, via <a href="http://127.0.0.1:631/">http://127.0.0.1:631/</a>, and without having to type in usernames and passwords there every time I wanted to change some printer settings.</p>
<p>After lots of googling I found a solution:  I forgot where I found the template, and how much I changed it to make it work the way it should. You&#8217;ll find it below.</p>
<p>Please note that this configuration file is for a secure home network. That is I&#8217;m the only one using that printer. So if in doubt whether it&#8217;s a good idea or not to use this <em>cupsd.conf</em> &#8211; then for the sake of your network security: don&#8217;t use it.</p>
<p>Note the cups Debian packages installed with this file :</p>
<pre>$ dpkg -l | grep -i cups
ii  cups                                  1.3.10-1                       Common UNIX Printing System(tm) - server
ii  cups-bsd                              1.3.10-1                       Common UNIX Printing System(tm) - BSD comman
ii  cups-client                           1.3.10-1                       Common UNIX Printing System(tm) - client pro
ii  cups-common                           1.3.10-1                       Common UNIX Printing System(tm) - common fil
ii  cups-driver-gutenprint                5.2.3-2+b1                     printer drivers for CUPS
ii  gutenprint-doc                        5.2.3-2                        users' guide for Gutenprint and CUPS
ii  libcups2                              1.3.10-1                       Common UNIX Printing System(tm) - libs
ii  libcupsimage2                         1.3.10-1                       Common UNIX Printing System(tm) - image libs</pre>
<p>So here goes <em>/etc/cups/cupsd.conf</em>:</p>
<p><pre class="brush: css;">
#
# &quot;$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $&quot;
#
#   Sample configuration file for the Common UNIX Printing System (CUPS)
#   scheduler.  See &quot;man cupsd.conf&quot; for a complete description of this
#   file.
#

# Log general information in error_log - change &quot;info&quot; to &quot;debug&quot; for
# troubleshooting...
LogLevel debug

# Administrator user group...
#SystemGroup lpadmin


# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
&lt;Location /&gt;
  Order deny,allow
&lt;/Location&gt;

# Restrict access to the admin pages...
&lt;Location /admin&gt;
  Encryption Required
  Order deny,allow
&lt;/Location&gt;

# Restrict access to configuration files...
&lt;Location /admin/conf&gt;
  AuthType None
#  Require user @SYSTEM
  Order deny,allow
&lt;/Location&gt;

# Set the default printer/job policies...
&lt;Policy default&gt;
  # Job-related operations must be done by the owner or an administrator...
  &lt;Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job&gt;
#    Require user @OWNER @SYSTEM
    Order deny,allow
  &lt;/Limit&gt;

  # All administration operations require an administrator to authenticate...
  &lt;Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default&gt;
    AuthType None
#    Require user @SYSTEM
    Order deny,allow
  &lt;/Limit&gt;

  # All printer operations require a printer operator to authenticate...
  &lt;Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs&gt;
    AuthType None
#    Require user @SYSTEM
    Order deny,allow
  &lt;/Limit&gt;

  # Only the owner or an administrator can cancel or authenticate a job...
  &lt;Limit Cancel-Job CUPS-Authenticate-Job&gt;
#    Require user @OWNER @SYSTEM
    Order deny,allow
  &lt;/Limit&gt;

  &lt;Limit All&gt;
    Order deny,allow
  &lt;/Limit&gt;
&lt;/Policy&gt;

#
# End of &quot;$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $&quot;.
#
</pre></p>
<p>An important part to stop access without authentication do seem to play the <em>&#8216;Require user&#8217;</em> instances, that are commented out above.</p>
<p>I wouldn&#8217;t be astonished if the code above could be written much easier, more efficient, and yes, more beautiful than here &#8211; if all we want is unrestricted access to some printer: I did not have the time so far to find that solution. Please leave a comment here if you have one.</p>
<p>Thanks in anticipation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/heelsbroke.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/heelsbroke.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/heelsbroke.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=heelsbroke.wordpress.com&amp;blog=7671547&amp;post=3&amp;subd=heelsbroke&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://heelsbroke.wordpress.com/2009/05/08/cups-and-cupsd-conf-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">hungpony</media:title>
		</media:content>
	</item>
	</channel>
</rss>
