<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nicolas Kuttler &#187; Linux</title>
	<atom:link href="http://www.nkuttler.de/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nkuttler.de</link>
	<description>WordPress Services, IT Services</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:49:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Samsung ML-1610 on Debian GNU/Linux</title>
		<link>http://www.nkuttler.de/2010/06/30/samsung-ml-1610-driver-linux/</link>
		<comments>http://www.nkuttler.de/2010/06/30/samsung-ml-1610-driver-linux/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 15:00:24 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[printer]]></category>
		<category><![CDATA[printing]]></category>

		<guid isPermaLink="false">http://nkuttler.wordpress-server.de/?p=1772</guid>
		<description><![CDATA[I bought this printer a long time ago and it was connected to my Mac until that box died. I tried to install it once but never tried again after I didn&#8217;t get it to work in less than five minutes. Well, this time I did invest like ten minutes and it works just fine. [...]]]></description>
			<content:encoded><![CDATA[<p>I bought this printer a long time ago and it was connected to my Mac until that box died. I tried to install it once but never tried again after I didn&#8217;t get it to work in less than five minutes. Well, this time I did invest like ten minutes and it works just fine.<span id="more-1772"></span></p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;"># apt-get install cups splix</pre></div></div>

<p>Then go to the CUPS admin site at <tt>http://localhost:631/</tt> and then <tt>Administration</tt>, <tt>Add new Printer</tt>, click through and select the splix driver for the ML-1610. That&#8217;s all. <img src='http://www.nkuttler.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I think the first time I tried I just hadn&#8217;t installed the splix driver&#8230; which is easy enough to find:</p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">$ apt-cache search samsung driver</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2010/06/30/samsung-ml-1610-driver-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using recordmydesktop to upload to YouTube, Vimeo etc.</title>
		<link>http://www.nkuttler.de/2010/06/21/convert-recordmydesktop-movies-to-flash/</link>
		<comments>http://www.nkuttler.de/2010/06/21/convert-recordmydesktop-movies-to-flash/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 13:10:51 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de/?p=1527</guid>
		<description><![CDATA[recordMyDesktop is a great tool to make videos of what you&#8217;re doing with your computer. This can be very useful to demonstrate software features or to document workflows. By default, recordMyDesktop produces Ogg-Theora-Vorbis. If you want to share your files or upload them to a video site you&#8217;ll want to convert them to something more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://recordmydesktop.sourceforge.net/">recordMyDesktop</a> is a great tool to make videos of what you&#8217;re doing with your computer. This can be very useful to demonstrate software features or to document workflows. By default, recordMyDesktop produces Ogg-Theora-Vorbis. If you want to share your files or upload them to a video site you&#8217;ll want to convert them to something more common.<span id="more-1527"></span></p>

<div class="wp_syntax"><div class="code"><pre class="shell" style="font-family:monospace;">mencoder out.ogv -ovc xvid -oac mp3lame -xvidencopts pass=1 -o out.avi</pre></div></div>

<p>This will produce a video of good enough quality so that people can see what you are doing.</p>
<p>Here&#8217;s an example:</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/v/OTv8loMWDPU&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OTv8loMWDPU&#038;fs=1" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>Please notice that mouse and click highlighting aren&#8217;t recordMyDesktop features.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2010/06/21/convert-recordmydesktop-movies-to-flash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Canon Powershot A60 on Debian</title>
		<link>http://www.nkuttler.de/2009/10/04/canon-powershot-a60-on-debian/</link>
		<comments>http://www.nkuttler.de/2009/10/04/canon-powershot-a60-on-debian/#comments</comments>
		<pubDate>Sun, 04 Oct 2009 13:02:52 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[gphoto2]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[powershot]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de/?p=1093</guid>
		<description><![CDATA[Edit: This is a very old (2003) page of mine that needs a new location, and I think this blog is the best place. I bought my camera at the end of april 2003 and after a few minutes of toying around i wanted to connect it to my favorite OS. I have been told [...]]]></description>
			<content:encoded><![CDATA[<p><b>Edit</b>: This is a <strong>very old</strong> (2003) page of mine that needs a new location, and I think this blog is the best place.</p>
<p>I bought my camera at the end of april 2003 and after a few minutes of toying around i wanted to connect it to my favorite OS. I have been told that some of the stuff on this page will work with a powershot A70 or A75 too.<span id="more-1093"></span></p>
<p>Feel free to contact me if you have questions or solutions to any problems. But I&#8217;m in no way an expert. Please notice that I haven&#8217;t changed this page for a very long time and probably won&#8217;t update it any more.</p>
<p>Debian sarge comes with gphoto 2.1.5, I tested 2.1.3.</p>
<a name="wptoc_0_0_0"></a><h1>Preparations</h1>
<a name="wptoc_0_1_0"></a><h2>gphoto2 and hotplug</h2>
<pre># apt-get install gphoto2 hotplug</pre>
<a name="wptoc_0_1_1"></a><h2>Kernel</h2>
<p>I&#8217;m not sure but i guess stock Debian kernels should have all the USB stuff compiled in, if you build your own kernel figure out what you need reading the <a href="http://gphoto.sourceforge.net/doc/manual/">fine gphoto2 manual</a>.</p>
<a name="wptoc_0_1_2"></a><h2>Connect the cam</h2>
<p>Connect the camera to your USB port and and turn it on in replay mode. Try</p>
<pre>$ grep Canon /proc/bus/usb/devices </pre>
<p>You will hopefully see something like</p>
<pre>
S:  Manufacturer=Canon Inc.
S:  Product=Canon Digital Camera
</pre>
<p>If not have a look at <tt>/var/log/messages</tt>. Does your kernel support USB?</p>
<a name="wptoc_0_1_3"></a><h2>Setting permissions</h2>
<p>You don&#8217;t want to run gphoto2 as root, so follow the steps in <tt>/usr/share/doc/libgphoto2-2/README.Debian</tt>. If you don&#8217;t have a usb group yet create it (<tt>man addgroup</tt>) and remember to logout and login after adding yourself (<tt>man adduser</tt>) to the group. Change fstab and set the correct devgid there (<tt>man id</tt>).</p>
<p>I added the following line to my /etc/fstab:</p>
<pre>
none  /proc/bus/usb  usbfs devuid=0,devgid=1002,devmode=0660  0   0
</pre>
<a name="wptoc_0_1_4"></a><h2>First test</h2>
<p>If hotplug found your camera try</p>
<pre>$ gphoto2 --auto-detect</pre>
<p>The output should be</p>
<pre>
Model                          Port
----------------------------------------------------------
Canon PowerShot A60            usb:
</pre>
<p>To download the first picture from your camera type</p>
<pre>$ gphoto2 --get-file 1 </pre>
<p>You will need at least one file (photo, movie) on the cam of course.</p>
<a name="wptoc_0_0_1"></a><h1>Gphoto2 drivers</h1>
<p>The camera can be accessed by two different kind of drivers:</p>
<ol>
<li>The PTP protocol is a manufacturer-independent picture transfer protocol. Libgphoto2 doesn&#8217;t fully support PTP completeley yet.<br />
There is also a project called jphoto that seems supports PTP but looks inactive, I haven&#8217;t tried it yet.</li>
<li>Canon protocol.</li>
</ol>
<p>If you want to capture images with gphoto2 you need the ptp driver. This may work or not with the canon driver in the future.</p>
<a name="wptoc_1_1_0"></a><h2>Driver status</h2>
<table class="sci">
<thead>
<tr>
<th>feature</th>
<th>ptp2 driver 2.1.3</th>
<th>canon driver 2.1.3</th>
</tr>
</thead>
<tbody>
<tr>
<td>&#8211;capture-image</td>
<td>yes</td>
<td>no</td>
</tr>
<tr>
<td>&#8211;capture-movie</td>
<td>no</td>
<td>no</td>
</tr>
<tr>
<td>&#8211;delete-all-files</td>
<td>no (4)</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;delete-file range</td>
<td>no (4)</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;get-all-files</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;get-all-thumbnails</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;get-audio-data</td>
<td>?</td>
<td>?</td>
</tr>
<tr>
<td>&#8211;get-file range</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;get-thumbnail range</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;list-files</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;list-folders</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;mkdir folder</td>
<td>no</td>
<td>yes (1,3)</td>
</tr>
<tr>
<td>&#8211;num-files</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;rmdir folder</td>
<td>?</td>
<td>?</td>
</tr>
<tr>
<td>&#8211;show-info range</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;summary</td>
<td>yes</td>
<td>yes</td>
</tr>
<tr>
<td>&#8211;upload-file file</td>
<td>no</td>
<td>yes (2)</td>
</tr>
</tbody>
</table>
<p>Comments:</p>
<ol>
<li>the folder will be in capitals</li>
<li>the .deb in sid DOESN&#8217;T SUPPORT upload.</li>
<li>hm, can&#8217;t create a folder &#8216;folder&#8217;&#8230;
<li>doesn&#8217;t delete everything properly (firmware bug?)</li>
</ol>
<p><b>Note:</b> Mixing the usage of both drivers seems to crash the camera.</p>
<a name="wptoc_0_0_2"></a><h1>More tools for the A60</h1>
<ul>
<li><a href="http://sourceforge.net/projects/libptp">libptp</a> is part of gphoto but there is a stand-alone tool included that uses it to set camera properties.<br />
You can&#8217;t do that with gphoto2.
</li>
<li>
Petr Danecek wrote a tool for for <a href="http://www.ucl.cas.cz/~petr/plant-growth/">periodic capturing</a> for the A70.<br />
It should work with the A60 too (I didn&#8217;t test it yet).
</li>
</ul>
<a name="wptoc_0_0_3"></a><h1>More links&#8230;</h1>
<ul>
<li>I love <a href="http://hugin.sf.net">hugin</a> to stitch my photos!
</li>
<li>Have a look at <a href="http://www.patrice.ch/en/computer/linux/articles/2003/0509">this page about the A60</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/10/04/canon-powershot-a60-on-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Filesystem with huge files cannot be mounted read-write without CONFIG_LBDAF</title>
		<link>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/</link>
		<comments>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 15:43:07 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de/?p=956</guid>
		<description><![CDATA[After skipping 2.6.30 and building a new 2.6.31 I suddenly couldn&#8217;t mount my ext4 drive anymore and got this rather confusing error in dmesg: EXT4-fs (sda1): Filesystem with huge files cannot be mounted read-write without CONFIG_LBDAF But&#8230; I don&#8217;t have any huge files on that disk. Not bigger than some DVD iso anyway. After a [...]]]></description>
			<content:encoded><![CDATA[<p>After skipping 2.6.30 and building a new 2.6.31 I suddenly couldn&#8217;t mount my ext4 drive anymore and got this rather confusing error in <tt>dmesg</tt>:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">EXT4-fs (sda1): Filesystem with huge files cannot be mounted
read-write without CONFIG_LBDAF</pre></div></div>

<p>But&#8230; I don&#8217;t have any huge files on that disk. Not bigger than some DVD iso anyway.<span id="more-956"></span></p>
<p>After a few days I finally get the time to check the kernel configuration docs, and they say:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">CONFIG_LBDAF:
&nbsp;
Enable block devices or files of size 2TB and larger.
&nbsp;
This option is required to support the full capacity of large
(2TB+) block devices, including RAID, disk, Network Block
Device, Logical Volume Manager (LVM) and loopback.
&nbsp;
This option also enables support for single files larger than
2TB.
&nbsp;
The ext4 filesystem requires that this feature be enabled in
order to support filesystems that have the huge_file feature
enabled.  Otherwise, it will refuse to mount in the read-write
mode any filesystems that use the huge_file feature, which is
enabled by default by mke2fs.ext4.
&nbsp;
The GFS2 filesystem also requires this feature.
&nbsp;
If unsure, say Y.</pre></div></div>

<p>Well, alright. <tt>mkfs.ext4</tt> has said feature enabled by default. That&#8217;s what you get for building your own kernels and not reading everything in <tt>make oldconfig</tt>.</p>
<p><strong>Edit</strong>:  The feature can be activated at <tt>Enable the block layer  ---&gt;  Support for large (2TB+) block devices and files</tt>, thanks to Arix.</p>
<p><strong>Edit:</strong>: The feature can be removed from an existing filesystem by running the following commands:<br />
<tt>tune2fs -O ^huge_file /dev/whatever</tt><br />
<tt>fsck /dev/whatever</tt><br />
This should allow you to mount the drive without CONFIG_LBDAF in the kernel. Thanks Marcus!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/09/14/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>My favorite Firefox Add-ons</title>
		<link>http://www.nkuttler.de/2009/08/25/my-favorite-firefox-add-ons/</link>
		<comments>http://www.nkuttler.de/2009/08/25/my-favorite-firefox-add-ons/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 12:02:23 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=834</guid>
		<description><![CDATA[This is about the Firefox Add-ons I use. This really is a complete list, I like to keep my browser lean. I&#8217;m fully aware that most people will miss things like Adblock, Pixel perfect and greasemonkey, but I don&#8217;t use them. Usability Tab Kit: My favorite tab extension. Has many many features, I use it [...]]]></description>
			<content:encoded><![CDATA[<p>This is about the Firefox Add-ons I use. This really is a complete list, I like to keep my browser lean. I&#8217;m fully aware that most people will miss things like Adblock, Pixel perfect and greasemonkey, but I don&#8217;t use them.<span id="more-834"></span></p>
<a name="wptoc_0_0_0"></a><h2>Usability</h2>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/5447">Tab Kit</a>:</strong> My favorite tab extension. Has many many features, I use it mostly because it allow more than one row of tabs and tab grouping/collapsing.</p>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/2408">Clear Fields</a>:</strong> This solves a quite annoying issue with Firefox and the xorg clipboard. Xorgs lets you paste things that you have highlighted with the mouse by simply clicking the middle mouse button. However, the previous contents of the search and address fields don&#8217;t get cleared. This adds buttons to clear those fields before pasting.</p>
<a name="wptoc_0_0_1"></a><h2>Development and Webdesign</h2>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a>:</strong> The swiss army knife of web developer add-ons. To quote from it&#8217;s description: &#8220;You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page&#8221;. Very power- and useful.</p>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/4904">Gridfox</a>:</strong> Indispensable while making grid-based layouts or aligning text to a base grid.</p>
<p><strong><a href="http://livehttpheaders.mozdev.org/">Live HTTP headers</a>:</strong> This is rather esoteric, but very useful for JavaScript debugging and web app development.</p>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer</a>:</strong> This is what I used before Firebug existed, and it&#8217;s still useful today.</p>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/539">MeasureIt</a>:</strong>This is very useful for quickly measuring the size of various elements on a page.</p>
<a name="wptoc_0_0_2"></a><h2>Privacy/Security</h2>
<p><strong><a href="https://addons.mozilla.org/en-US/firefox/addon/4703">Cookie Monster</a>:</strong> The best cookie manager I could find. I always block all 3rd party cookies, and by default no website is allowed to store cookies on my computer. Cookie monster makes it very easy to allow cookies for sites I visit. Another nice feature is to only allow session cookies for some sites.</p>
<p><strong><a href="http://flashblock.mozdev.org/">Flashblock</a>:</strong> Blocks all annoying flash animations. Can whitelist sites of course. A must.</p>
<p><strong><a href="http://noscript.net/">NoScript</a>:</strong> Blocks all (3rd party) JavaScript. Indispensable security tool and gets rid of most ads as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/08/25/my-favorite-firefox-add-ons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accents in xorg</title>
		<link>http://www.nkuttler.de/2009/06/18/accents-in-xorg/</link>
		<comments>http://www.nkuttler.de/2009/06/18/accents-in-xorg/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:54:14 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[accents]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[keymap]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=821</guid>
		<description><![CDATA[Most of the time I&#8217;m a very happy vim user. Vim has superb support for inputting all kind of characters, see :help digraph and :digraphs. But from time to time I need to input accents etc. in other GUI apps. A long time ago xorg in Debian did default to use deadkeys. I remember that [...]]]></description>
			<content:encoded><![CDATA[<p>Most of the time I&#8217;m a very happy <a href="http://www.vim.org/">vim</a> user. Vim has superb support for inputting all kind of characters, see <tt>:help digraph</tt> and <tt>:digraphs</tt>. But from time to time I need to input accents etc. in other GUI apps.<span id="more-821"></span><br />
A long time ago xorg in Debian did default to use deadkeys. I remember that I was quite annoyed by it, because typing <tt>~/</tt> required three key presses. However, somewhen in the past the keyboard behavior was changed to <tt>nodeadkeys</tt>  which makes it kind of impossible to input accents as in é, è, or â. What&#8217;s even worse, I didn&#8217;t manage to override xorg&#8217;s auto-configuration of <tt>(**) Option "xkb_variant" "nodeadkeys</tt>, no setting of <tt>Option "XkbVariant" "nodeadkeys"</tt> did help.<br />
Running <tt>setxkbmap de</tt> restored the dead keys for me. I should add that my system uses <tt>locale de_DE.UTF-8</tt>. This will be ok for some time, however, I think I really want to use the <tt>"xkb_options" "compose:rctrl"</tt> option, at least for the tilde.<br />
Btw, I&#8217;m perfectly aware of <tt>xmodmap</tt>, but I really don&#8217;t like to mess around with it for such a simple requirement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/06/18/accents-in-xorg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PPC Mac partition oddity</title>
		<link>http://www.nkuttler.de/2009/05/29/ppc-mac-partition-oddity/</link>
		<comments>http://www.nkuttler.de/2009/05/29/ppc-mac-partition-oddity/#comments</comments>
		<pubDate>Fri, 29 May 2009 11:33:07 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[powerbook]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=815</guid>
		<description><![CDATA[I have an old Powerbook and wanted to mount a USB drive I formatted with it on a Linux box. The Linux computer had a custom kernel with mac partition support (CONFIG_MAC_PARTITION). Oddly, the kernel didn&#8217;t recognize the partitions on the drive. Unfortunately the Powerbook&#8217;s display is broken and I can&#8217;t confirm it uses open [...]]]></description>
			<content:encoded><![CDATA[<p>I have an old Powerbook and wanted to mount a USB drive I formatted with it on a Linux box. The Linux computer had a custom kernel with mac partition support (CONFIG_MAC_PARTITION). Oddly, the kernel didn&#8217;t recognize the partitions on the drive.<span id="more-815"></span></p>
<p>Unfortunately the Powerbook&#8217;s display is broken and I can&#8217;t confirm it uses <a href="http://osxbook.com/book/bonus/ancient/whatismacosx//arch_boot.html">open firmware</a>, but all sources I found say <a href="http://www.everymac.com/systems/apple/powerbook_g4/stats/powerbook_g4_1.5_15_2.html"> it does</a>.</p>
<p>So I thought <strong>EFI GUID Partition support</strong> was not necessary, but it turns out that PPC macs <a href="http://www.articlesbase.com/data-recovery-articles/mac-data-loss-while-changing-partition-table-from-apm-to-gpt-920045.html">can use that partition type as well</a>, so CONFIG_EFI_PARTITION is necessary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/05/29/ppc-mac-partition-oddity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switching to Openbox</title>
		<link>http://www.nkuttler.de/2009/05/28/switching-to-openbox/</link>
		<comments>http://www.nkuttler.de/2009/05/28/switching-to-openbox/#comments</comments>
		<pubDate>Thu, 28 May 2009 12:24:04 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openbox]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=781</guid>
		<description><![CDATA[After a decade of windowmaker and fluxbox I&#8217;ve switched to openbox. I was motivated by the fact that some recent fluxbox upgrade left my decor-less urxvtcs visible on all desktops which was rather annoying. Somebody on irc suggested openbox, and after a few minutes I started to like it a lot! What&#8217;s great about openbox: [...]]]></description>
			<content:encoded><![CDATA[<p>After a decade of <a href="http://www.windowmaker.info/">windowmaker</a> and <a href="http://www.fluxbox.org">fluxbox</a> I&#8217;ve switched to <a href="http://icculus.org/openbox/">openbox</a>. I was motivated by the fact that some recent fluxbox upgrade left my decor-less <a href="http://software.schmorp.de/pkg/rxvt-unicode.html">urxvtc</a>s visible on all desktops which was rather annoying. Somebody on irc suggested openbox, and after a few minutes I started to like it a lot!<span id="more-781"></span></p>
<p>What&#8217;s great about openbox:</p>
<ul>
<li>it&#8217;s fast</li>
<li>it&#8217;s based on blackbox (but has been completely rewritten) and has a dock</li>
<li>it&#8217;s standards compliant</li>
<li><a href="http://icculus.org/openbox/index.php/Help:Bindings#Key_chains">chainable key bindings</a></li>
<li><a href="http://icculus.org/openbox/index.php/Openbox:Pipemenus">pipe menus</a>, menu elements that are dynamically generated through small scripts</li>
<li>nice tools like <a href="http://icculus.org/openbox/index.php/ObConf:About">ObConf</a> and <a href="http://obmenu.sourceforge.net/">ObMenu</a></li>
</ul>
<p>I like a minimal configuration, my main workspace has just two terminals:</p>

<p>The transparent task bar at the bottom is <a href="http://code.google.com/p/tint2/">tint2</a>. The 0.7 version has an integrated systray which is nice, however the debian package is slightly outated. If your version doesn&#8217;t support the systray download the source from the tint2 page. My version oddly had a binary included in the <tt>src/</tt> folder. If you need to compile yourself,  <tt>apt-get build-dep tint2</tt>, go to the <tt>src/</tt> folder, type <tt>make</tt> and copy the binary to some place that&#8217;s in your <tt>$PATH</tt>.</p>
<p>The openbox wiki seems to have all the documentation that&#8217;s necessary, like <a href="http://icculus.org/openbox/index.php/Help:Applications">per application window settings</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/05/28/switching-to-openbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using any Debian box as a wireless access point</title>
		<link>http://www.nkuttler.de/2009/02/25/using-any-debian-box-as-wireless-access-point/</link>
		<comments>http://www.nkuttler.de/2009/02/25/using-any-debian-box-as-wireless-access-point/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 14:02:45 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=664</guid>
		<description><![CDATA[I just lost an hour trying to configure a Thinkpad T41 as a wireless access point. Most of that time was due to problems with the built-in wlan interface and a kernel recompile to use a prism54-based PCMCIA card. This is mostly a post to remind myself what to do, and how to do it [...]]]></description>
			<content:encoded><![CDATA[<p>I just lost an hour trying to configure a Thinkpad T41 as a wireless access point. Most of that time was due to problems with the built-in wlan interface and a kernel recompile to use a  prism54-based PCMCIA card. This is mostly a post to remind myself what to do, and how to do it on Debian. It&#8217;s not the first time I create an access point, but I do it so infrequently that I always forget something.<span id="more-664"></span></p>
<a name="wptoc_0_0_0"></a><h2>The NIC</h2>
<p>Make sure there&#8217;s a Linux driver for your network interface card. Make sure the card can be run in <tt>master</tt> mode.</p>
<a name="wptoc_0_0_1"></a><h2>DHCP</h2>
<p>The boxes that will connect need an IP. Install <tt>dhcp3-server</tt> and do something like this in <tt>/etc/dhcp3/dhcpd.conf</tt>:</p>
<pre>
[...]
option domain-name "192.168.6.0";
option domain-name-servers 192.168.6.1;
[...]
subnet 192.168.6.0 netmask 255.255.255.0 {
  range 192.168.6.10 192.168.6.15;
  option routers 192.168.6.1;
}
[...]
</pre>
<a name="wptoc_0_0_2"></a><h2>Configure the network</h2>
<p>Configure the interface so that it can be started with <tt>ifup</tt>. Usually you want the connected boxes to have access to whatever internet connection the access point has, so I enable forwarding and masquerading in <tt>/etc/network/interfaces</tt>:</p>
<pre>
iface eth1 inet static
    address 192.168.6.1
    netmask 255.255.255.0
    network 192.168.6.0
    wireless-mode master
    wireless-essid debianftw
    wireless-key1 s:12345
    post-up /bin/echo 1 &gt; /proc/sys/net/ipv4/ip_forward
    post-up /sbin/iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
    post-up /etc/init.d/dhcp3-server restart
</pre>
<p><tt>13245</tt> is the WEP password and the network will be called <tt>debianftw</tt>.</p>
<a name="wptoc_0_0_3"></a><h2>Optional: DNS</h2>
<p>You may want to have name servers for the connected boxes. A quick solution is to take those from your <tt>/etc/resolv.conf</tt> and to put them in your <tt>/etc/dhcp3/dhcpd.conf</tt>. There are other solutions, like a caching only DNS server.</p>
<a name="wptoc_0_0_4"></a><h2>Security</h2>
<p>WEP isn&#8217;t a very good encryption but it&#8217;s enough for me. You probably don&#8217;t want to run this setup for a long time, it&#8217;s really just some notes to get me started quickly. Maybe I&#8217;ll add more about security in an update.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2009/02/25/using-any-debian-box-as-wireless-access-point/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>mp3gain, normalizing and other things</title>
		<link>http://www.nkuttler.de/2008/11/01/mp3gain-for-normalizing-and-other-things/</link>
		<comments>http://www.nkuttler.de/2008/11/01/mp3gain-for-normalizing-and-other-things/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 14:43:00 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=356</guid>
		<description><![CDATA[Recently my band made some recordings with a Zoom H2 Digital Recorder. Awesome machine btw. But it turned out that the recording wasn&#8217;t loud enough. I probably messed something up when I configured it&#8230; Anyway, the recording was done, so how do I fix it? I had already encoded mp3s with lame and wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently <a href="http://www.suetailor.de">my band</a> made some recordings with a <a href="http://www.zoom.co.jp/english/products/h2/">Zoom H2 Digital Recorder</a>. Awesome machine btw. But it turned out that the recording wasn&#8217;t loud enough. I probably messed something up when I configured it&#8230;<span id="more-356"></span></p>
<p>Anyway, the recording was done, so how do I fix it? I had already encoded mp3s with <a href="http://lame.sourceforge.net/">lame</a> and wanted to fix the volume as quick as possible. A little research lead me to <a href="http://mp3gain.sourceforge.net/">mp3gain</a>. Wonderful little app that adjusts multiple mp3s so that they have the same volume. I used it to raise the volume of all mp3s by a certain value. What&#8217;s great about mp3gain is that it doesn&#8217;t reencode the mp3 but changes the volume in the mp3 file itself. I didn&#8217;t even know that was possible.</p>
<p>I just wish I had done this earlier, now I&#8217;ll need to reencode all that iPhoto and iDVD stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2008/11/01/mp3gain-for-normalizing-and-other-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
