<?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>Kuhrti Brothers &#187; Linux</title>
	<atom:link href="http://www.kuhrti.de/index.php/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kuhrti.de</link>
	<description></description>
	<lastBuildDate>Sun, 01 Nov 2009 16:10:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using &#8216;date&#8217; in cron jobs</title>
		<link>http://www.kuhrti.de/index.php/linux/using-date-in-cron-jobs/</link>
		<comments>http://www.kuhrti.de/index.php/linux/using-date-in-cron-jobs/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 13:15:47 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[liunx]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[tipps]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=282</guid>
		<description><![CDATA[I was trying to backup a file every hour by using crontab:



0 * * * * cp /project/myfile /project/backups/backup_`/bin/date +%Y-%m-%d-%H`0 * * * * cp /project/myfile /project/backups/backup_$(/bin/date +%Y-%m-%d-%H)



None of these lines are working. Instead I receive mails, complaining about &#8220;unexpected EOF while looking for matching &#8220;&#8221; \ &#8220;syntax error: unexpected end of file&#8221;.
Referring to the [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to backup a file every hour by using crontab:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">0 * * * * cp /project/myfile /project/backups/backup_`/bin/date +%Y-%m-%d-%H`<br />0 * * * * cp /project/myfile /project/backups/backup_$(/bin/date +%Y-%m-%d-%H)</td>
</tr>
</table>
</div>
<p>None of these lines are working. Instead I receive mails, complaining about &#8220;unexpected EOF while looking for matching &#8220;&#8221; \ &#8220;syntax error: unexpected end of file&#8221;.<br />
Referring to the man pages (man 5 crontab), &#8220;%&#8221; are &#8220;newline characters&#8221; and needs to be escaped with backslash:</p>
<blockquote><p>
The  &#8220;sixth&#8221; field (the rest of the line) specifies the command to be run.  The entire command portion of the line, up to a new-<br />
line or % character, will be executed by /bin/sh or by the shell specified in the SHELL variable of the  crontab  file.   Percent-<br />
signs (%) in the command, unless escaped with backslash (\), will be changed into newline characters, and all data after the first<br />
% will be sent to the command as standard input. There is no way to split a single command line  onto  multiple  lines,  like  the<br />
shell&#8217;s trailing &#8220;\&#8221;.
</p></blockquote>
<p>In other words, to get it working, add backslashes (\) in front of your &#8220;%&#8221;s and your fine:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">0 * * * * cp /project/myfile /project/backups/backup_`/bin/date +\%Y-\%m-\%d-\%H`</td>
</tr>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/using-date-in-cron-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logitech QuickCam Messenger on Ubuntu 9.04 (Jaunty)</title>
		<link>http://www.kuhrti.de/index.php/article/logitech-quickcam-messenger-on-ubuntu-9-04/</link>
		<comments>http://www.kuhrti.de/index.php/article/logitech-quickcam-messenger-on-ubuntu-9-04/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 14:14:13 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[quickcam]]></category>
		<category><![CDATA[skype]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=265</guid>
		<description><![CDATA[Thanks to everyone helping me out, making this instruction better. Once again, this shall help you getting a Logitech QuickCam Messenger (ID: 046d:08f0) running on Linux Ubuntu 9.04 (Jaunty) using Skype. Please don&#8217;t waste any time posting instructions for other webcams. We don&#8217;t care! 

To make sure, you got the right cam, plug it into [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to everyone helping me out, making this instruction better. Once again, this shall help you getting a Logitech QuickCam Messenger (ID: <strong>046d:<span style="color: #dd0000">08f0</span></strong>) running on Linux Ubuntu 9.04 (Jaunty) using Skype. <strong>Please don&#8217;t waste any time posting instructions for other webcams. We don&#8217;t care! </strong></p>
<p><a href="http://www.kuhrti.de/wp-content/uploads/mess.gif"><img src="http://www.kuhrti.de/wp-content/uploads/mess.gif" alt="" title="Logitch Quickcam Messenger" width="115" height="115" class="alignleft size-medium wp-image-202" /></a></p>
<p>To make sure, you got the right cam, plug it into your computer.<br />
Check if your camera matches my ID by running:</p>
<div class="shell">lsusb | grep QuickCam</div>
<p>There should be something like this:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">Bus 008 Device 003: ID 046d:08f0 Logitech, Inc. QuickCam Messenger</td>
</tr>
</table>
</div>
<p>If your ID matches, please continue, otherwise you might be lucky and can start installing Gstfakevideo straight away. However this &#8220;Howto&#8221; was only tested for a QuickCam Messenger with the ID above. For other IDs please take a look here: <a href="https://wiki.ubuntu.com/SkypeWebCams">https://wiki.ubuntu.com/SkypeWebCams</a></p>
<p>All you need before we start:</p>
<div class="shell">sudo apt-get install libgstreamer0.10-dev pkg-config subversion linux-headers-$(uname -r) build-essential</div>
<p>Remove the old <em>quickcam_messenger</em> module because it will not deliver the correct colors for our cam. If you do find a solution for this problem, please leave a comment! Thanks. Anyway removing the installed module:</p>
<div class="shell">sudo rmmod quickcam_messenger</div>
<p>To make sure it is not going to be loaded again we add the following line at the end of <em>/etc/modprobe.d/blacklist.conf</em></p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">blacklist quickcam_messenger</td>
</tr>
</table>
</div>
<p>Download the new qcmessener module:</p>
<div class="shell">wget http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz<br />
tar xzvf qc-usb-messenger-1.8.tar.gz<br />
cd qc-usb-messenger-1.8</div>
<p>Apply this patch:</p>
<div class="shell">wget -v http://kuhrti.de/files/qc_2.6.28_patch.txt<br />
patch -p0 &lt; qc_2.6.28_patch.txt</div>
<p>Continue installing:</p>
<div class="shell">make<br />
sudo make install<br />
sudo insmod ./qcmessenger.ko</div>
<p><strong>Ignore the &#8220;Kernel configuration is invalid.&#8221; errors.</strong></p>
<p>Give it a test:</p>
<div class="shell">sudo qcset /dev/video0 compat=dblbuf<br />
sudo gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! ximagesink</div>
<p>If every thing works go on and install Gstfakevideo:</p>
<div class="shell">svn checkout http://gstfakevideo.googlecode.com/svn/trunk/ gstfakevideo<br />
cd gstfakevideo<br />
make<br />
sudo make install</div>
<p>Create a new file (i.e. in your home directory) called skype.sh and add these lines:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">#!/bin/sh<br />gstfakevideo v4lsrc device=/dev/video1 ! ffmpegcolorspace</td>
</tr>
</table>
</div>
<p>And run:</p>
<div class="shell">chmod a+x skype.sh</div>
<p>Now reload the module</p>
<div class="shell">sudo rmmod qcmessenger<br />
sudo modprobe qcmessenger compatible=6 video_nr=1</div>
<p>Info: run
<div class="shell">sudo modinfo qcmessenger</div>
<p> to view more options.</p>
<p>Create a new file /etc/modprobe.d/qcmessenger.conf and add:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">options qcmessenger compatible=6 video_nr=1</td>
</tr>
</table>
</div>
<p>This makes sure, that your webcam will always be /dev/video1 (as /dev/vidoe0 is needed for gstfakevideo) and uses &#8220;dblbuf&#8221; (correct colors).</p>
<p>Add your account to the &#8220;video&#8221; group:</p>
<div class="shell">sudo usermod -a -G video &lt;YOUR USER NAME&gt;</div>
<p>Finally fire up Skype by running skype.sh. That&#8217;s it!</p>
<p>Please leave a comment if you got some problems or want to give me feedback.</p>
<p>Here is a test image.<br />
<a href="http://www.kuhrti.de/wp-content/uploads/webcam-1225636806.png"><img src="http://www.kuhrti.de/wp-content/uploads/webcam-1225636806-300x229.png" alt="" title="webcamtest" width="300" height="229" class="alignleft size-medium wp-image-201" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/article/logitech-quickcam-messenger-on-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>SSH: Connection closed.</title>
		<link>http://www.kuhrti.de/index.php/linux/ssh-connection-closed/</link>
		<comments>http://www.kuhrti.de/index.php/linux/ssh-connection-closed/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 13:10:12 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=259</guid>
		<description><![CDATA[Wer viel mit SSH arbeitet, dem mag vielleicht aufgefallen sein, dass an manchen Standorten eine SSH Verbindung zu einem Server, nach einer gewissen inaktiven Zeit, einfach unterbrochen wird. Ursache dürfte in den meisten Fällen der örtliche Router sein, der nach X Sekunden die Verbindung einfriert.
Um dem entgegenzuwirken müssen wir einfach weiter Traffic senden. Dies kann [...]]]></description>
			<content:encoded><![CDATA[<p>Wer viel mit SSH arbeitet, dem mag vielleicht aufgefallen sein, dass an manchen Standorten eine SSH Verbindung zu einem Server, nach einer gewissen inaktiven Zeit, einfach unterbrochen wird. Ursache dürfte in den meisten Fällen der örtliche Router sein, der nach X Sekunden die Verbindung einfriert.<br />
Um dem entgegenzuwirken müssen wir einfach weiter Traffic senden. Dies kann auf zwei simple Arten geschehen.</p>
<p><strong>Serverseitig</strong><br />
In der /etc/ssh/sshd_config folgende Zeile hinzufügen:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">ClientAliveInterval 90</td>
</tr>
</table>
</div>
<p>Restart des SSH Dienstes nicht vergessen.</p>
<p><strong>Clientseitig</strong><br />
In der /etc/ssh/ssh_config folgende Zeile hinzufügen:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">ServerAliveInterval 90</td>
</tr>
</table>
</div>
<p>Persönlich favorisiere ich die serverseitige Variante, da das Verbindungsproblem sowohl client- also auch standortunabhängig heben lässt. Wem der Zugriff auf den Server verwehrt wird, dem bleibt halt nur die clientseitige Version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/ssh-connection-closed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Auto Login</title>
		<link>http://www.kuhrti.de/index.php/linux/auto-login/</link>
		<comments>http://www.kuhrti.de/index.php/linux/auto-login/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 10:10:00 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[autologin]]></category>
		<category><![CDATA[linx]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=245</guid>
		<description><![CDATA[In some cases you might want your computer to automatically log in a user. There are a lot of tools or possibilities to do that but the lightest version I found so far, and I don&#8217;t think anybody can beat that, is just adding following line in your /etc/inittab:



1:12345:respawn:/sbin/mingetty &#8211;noclear &#8211;autologin &#60;YOUR USER NAME&#62; tty1



If [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases you might want your computer to automatically log in a user. There are a lot of tools or possibilities to do that but the lightest version I found so far, and I don&#8217;t think anybody can beat that, is just adding following line in your <em>/etc/inittab</em>:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">1:12345:respawn:/sbin/mingetty &#8211;noclear &#8211;autologin &lt;YOUR USER NAME&gt; tty1</td>
</tr>
</table>
</div>
<p>If it is not woking after a restart, make sure you installed <em>mingetty</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/auto-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mehrere Dateien mit Prefix umbenennen</title>
		<link>http://www.kuhrti.de/index.php/linux/mehrere-dateien-mit-prefix-umbenennen/</link>
		<comments>http://www.kuhrti.de/index.php/linux/mehrere-dateien-mit-prefix-umbenennen/#comments</comments>
		<pubDate>Sat, 13 Dec 2008 14:35:18 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[dateien]]></category>
		<category><![CDATA[mv]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[umbennen]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=228</guid>
		<description><![CDATA[Angenommen wir haben eine Reihe von Dateien, die alle mit einem Prefix in Form von ????_ (z.B 0234_, 1338_) beginnen, welches wir nun beseitigen wollen.
Die Lösung:
for i in ????_*; do x=`echo $i &#124; cut -c 6- `; mv -v $i $x; done
Dazu erstellen wir eine Schleife in der wir die Variablen $i und $x definieren. [...]]]></description>
			<content:encoded><![CDATA[<p>Angenommen wir haben eine Reihe von Dateien, die alle mit einem Prefix in Form von ????_ (z.B 0234_, 1338_) beginnen, welches wir nun beseitigen wollen.<br />
Die Lösung:</p>
<div class="shell">for i in ????_*; do x=`echo $i | cut -c 6- `; mv -v $i $x; done</div>
<p>Dazu erstellen wir eine Schleife in der wir die Variablen $i und $x definieren. $i sind alle Dateien, die ein Prefix der Form ????_* haben und $x ist nichts anders als $i (unsere Dateien) mit dem Unterschied, dass wir erst nach dem sechsten Zeichen anfangen zu lesen. Mit anderen Worten, wäre $i z.B 0323_MeineDatei.txt dann ist $x MeineDatei.txt.<br />
Im letzten Schritt werden die Datein dann mit <em>mv</em> umbenannt.</p>
<p>So einfach kann das sein.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/mehrere-dateien-mit-prefix-umbenennen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logitech QuickCam Messenger on Linux using Skype</title>
		<link>http://www.kuhrti.de/index.php/linux/logitech-quickcam-messenger-on-linux/</link>
		<comments>http://www.kuhrti.de/index.php/linux/logitech-quickcam-messenger-on-linux/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 16:15:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[logitech]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=168</guid>
		<description><![CDATA[Update: Ubuntu 9.04 Users klick here&#8230;
I am surprised how many people visit my site because their looking for a solution to get a Logitech QuickCam Messenger (046d:08f0) running on Linux using Skype

Since my last post seems to be a bit buggy for newer kernels, I updated my system to Debian (Lenny, 2.6.26-1-686) and gave it [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update: Ubuntu 9.04 Users <a href="http://www.kuhrti.de/index.php/article/logitech-quickcam-messenger-on-ubuntu-9-04/">klick here&#8230;</a></strong></p>
<p>I am surprised how many people visit my site because their looking for a solution to get a Logitech QuickCam Messenger (046d:08f0) running on Linux using Skype</p>
<p><a href="http://www.kuhrti.de/wp-content/uploads/mess.gif"><img src="http://www.kuhrti.de/wp-content/uploads/mess.gif" alt="" title="Logitch Quickcam" width="115" height="115" class="alignleft size-medium wp-image-202" /></a></p>
<p>Since <a href="http://www.kuhrti.de/index.php/linux/webcam-linux-and-skype-it-works/">my last post</a> seems to be a bit buggy for newer kernels, I updated my system to Debian (Lenny, 2.6.26-1-686) and gave it try.</p>
<p>All you need before we start:</p>
<div class="shell">apt-get install libgstreamer0.10-dev pkg-config subversion linux-headers-$(uname -r) build-essential</div>
<p>Plug in your webcam.<br />
Remove the old <em>quickcam_messenger</em> module:</p>
<div class="shell">rmmod quickcam_messenger</div>
<p>To make sure it is not going to be loaded again we add</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">blacklist quickcam_messenger</td>
</tr>
</table>
</div>
<p>at the end of <em>/etc/modprobe.d/blacklist</em></p>
<p>Download the new qcmessener module:</p>
<div class="shell">wget http://home.mag.cx/messenger/source/qc-usb-messenger-1.8.tar.gz<br />
tar xzvf qc-usb-messenger-1.8.tar.gz</div>
<p>Now if you are running kernel 2.6.26 or newer , it is necessary to patch some files.</p>
<div class="shell">wget http://bugs.gentoo.org/attachment.cgi?id=167504 -O patch.txt<br />
patch -p0 &lt; patch.txt</div>
<p>Continue installing:</p>
<div class="shell">cd qc-usb-messenger-1.8<br />
make<br />
make install<br />
insmod ./qcmessenger.ko</div>
<p>Remember to be root when running make install</p>
<p>Give it a test:</p>
<div class="shell">qcset /dev/video0 compat=dblbuf<br />
gst-launch-0.10 v4lsrc device=/dev/video0 ! ffmpegcolorspace ! ximagesink</div>
<p>If every thing works go on and install Gstfakevideo:</p>
<div class="shell">svn checkout http://gstfakevideo.googlecode.com/svn/trunk/ gstfakevideo<br />
cd gstfakevideo<br />
make<br />
make install</div>
<p>Create a new file called skype.sh and add these lines:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">#!/bin/sh<br />gstfakevideo v4lsrc device=/dev/video1 ! ffmpegcolorspace</td>
</tr>
</table>
</div>
<p>And run:</p>
<div class="shell">chmod +x skype.sh</div>
<p>Now reload the module</p>
<div class="shell">rmmod qcmessenger<br />
modprobe qcmessenger compatible=6 video_nr=1</div>
<p>Create a new file /etc/modprobe.d/qcmessenger and add:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">options qcmessenger compatible=6 video_nr=1</td>
</tr>
</table>
</div>
<p>This makes sure, that your webcam will always be /dev/video1 and uses &#8220;dblbuf&#8221;.</p>
<p>Finally fire up Skype by running skype.sh. That&#8217;s it!</p>
<p>Please leave a comment if you got some problems or want to give me feedback.</p>
<p>Update:<br />
Here is a test image.<br />
<a href="http://www.kuhrti.de/wp-content/uploads/webcam-1225636806.png"><img src="http://www.kuhrti.de/wp-content/uploads/webcam-1225636806-300x229.png" alt="" title="webcamtest" width="300" height="229" class="alignleft size-medium wp-image-201" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/logitech-quickcam-messenger-on-linux/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Wake On LAN</title>
		<link>http://www.kuhrti.de/index.php/linux/wake-on-lan/</link>
		<comments>http://www.kuhrti.de/index.php/linux/wake-on-lan/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 16:48:59 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[3Com]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[lan]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[wake on lan]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=105</guid>
		<description><![CDATA[You got Debian, a 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74) Ethernet controller and a PC which needs to be started via LAN and it is not working?
I assume you change the BIOS settings already. All you need to do now, is to tell you Debian not to turn off your Ethernet controller while shutting down [...]]]></description>
			<content:encoded><![CDATA[<p>You got Debian, a 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74) Ethernet controller and a PC which needs to be started via LAN and it is not working?</p>
<p>I assume you change the BIOS settings already. All you need to do now, is to tell you Debian not to turn off your Ethernet controller while shutting down your system.</p>
<p>Create a new file <em>/etc/modprobe.d/3c59x</em> and add following line:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">options 3c59x enable_wol=1</td>
</tr>
</table>
</div>
<p>and run</p>
<div class="shell">update-initramfs -t -c -k all</div>
<p>Now you are done.<br />
I use <em>wakeonlan</em> to start my computers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/wake-on-lan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dateien rekursiv löschen</title>
		<link>http://www.kuhrti.de/index.php/linux/dateien-rekursiv-loeschen/</link>
		<comments>http://www.kuhrti.de/index.php/linux/dateien-rekursiv-loeschen/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 14:05:24 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[befehl]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[dateien]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[entfernen]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[konsole]]></category>
		<category><![CDATA[Löschen]]></category>
		<category><![CDATA[ordner]]></category>
		<category><![CDATA[rekursiv]]></category>
		<category><![CDATA[rm]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/?p=107</guid>
		<description><![CDATA[Es kann vorkommen, dass ganze Verzeichnisse mit alten Backupdatein das Dateisystem unnötig aufblasen. Meinem Fall waren das Textdateien in From von index.php~. Die alle per Hand löschen? Auf gar keinen Fall:
find . -name *~ -exec rm -v {} \;
Dies eignet sich auch besonders gut, um die aus Windows stammende Thumbs.db aus Fotoalben zu löschen. Das [...]]]></description>
			<content:encoded><![CDATA[<p>Es kann vorkommen, dass ganze Verzeichnisse mit alten Backupdatein das Dateisystem unnötig aufblasen. Meinem Fall waren das Textdateien in From von <em>index.php~</em>. Die alle per Hand löschen? Auf gar keinen Fall:</p>
<div class="shell">find . -name *~ -exec rm -v {} \;</div>
<p>Dies eignet sich auch besonders gut, um die aus Windows stammende <em>Thumbs.db</em> aus Fotoalben zu löschen. Das würde dann so aussehen:</p>
<div class="shell">find . -name &apos;Thumbs.db&apos; -exec rm -v {} \;</div>
<p>Wer über alte <a href="http://de.wikipedia.org/wiki/Subversion">Subversion</a>-Projekte stolpert und die <em>.svn</em> Ordner loswerden möchte, kann folgendes in seine Konsole eintippen:</p>
<div class="shell">find /projektverzeichnis -name .svn -type d -exec rm -rv {} \;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/dateien-rekursiv-loeschen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How you should use evdev for your Mouse</title>
		<link>http://www.kuhrti.de/index.php/linux/how-you-should-use-evdev-for-your-mouse/</link>
		<comments>http://www.kuhrti.de/index.php/linux/how-you-should-use-evdev-for-your-mouse/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 14:22:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Mouse]]></category>
		<category><![CDATA[xorg.conf]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/blog/index.php/2008/07/how-you-should-use-evdev-for-your-mouse/</guid>
		<description><![CDATA[If you are using a mouse with more than three buttons and a wheel on a Linux system, you probably heard about using evdev instead of the default mouse driver. Unfortunately, many of those tutorials on the net contain mistakes due to old parameters or manly by simply mixing up evdev and mouse options. However, [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using a mouse with more than three buttons and a wheel on a Linux system, you probably heard about using <em>evdev</em> instead of the default <em>mouse</em> driver. Unfortunately, many of those tutorials on the net contain mistakes due to old parameters or manly by simply mixing up <em>evdev</em> and <em>mouse</em> options. However, it is quite easy to set it up.</p>
<p>If you want to use <em>evdev</em> just <strong>add</strong> (keep your <em>Configured Mouse</em> block) these lines to your <em>xorg.conf</em></p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">Section &quot;InputDevice&quot;<br />    Identifier  &quot;MX518&quot;<br />    Driver      &quot;evdev&quot;<br />    Option      &quot;Device&quot; &quot;/dev/input/by-id/usb-Logitech_USB-PS.2_Optical_Mouse-event-mouse&quot;<br />EndSection</td>
</tr>
</table>
</div>
<p>And this line into <em>ServerLayout</em>:</p>
<div class="codeBlock">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="codeLines">InputDevice &quot;MX518&quot; &quot;SendCoreEvents&quot;</td>
</tr>
</table>
</div>
<p>Just make sure you replace the <em>device</em> with the path to your mouse.<br />
Otherwise you can run</p>
<div class="shell">find /dev/input/by-id/ -name &quot;*event-mouse&quot;</div>
<p>to get the right device. That&#8217;s it! Your done.</p>
<p><span id="more-24"></span><br />
<strong>Step 2 for Laptop users</strong><br />
If you are running Linux on a Laptop you might have a <em>InputDevice</em> called something like <em>Synaptics Touchpad</em>. If that is the case, go ahead and remove your <em>Configured Mouse</em> InputDevie block and remove the <em>&#8220;Option SendCoreEvents true&#8221;</em> line in your Touchpad Device.<br />
Now add <em>Corepointer</em> behind the Touchpad InputDevice in the <em>ServerLayout</em> like here:</p>
<div class="codeBlock">
<table>
<tr>
<td class="codeNumbers">#1<br />#2<br />#3<br />#4<br />#5<br />#6<br />#7</td>
<td class="codeLines">Section &quot;ServerLayout&quot;<br />    Identifier  &quot;Default Layout&quot;<br />    Screen      &quot;Default Screen&quot;<br />    InputDevice &quot;Generic Keyboard&quot;<br />    InputDevice &quot;Synaptics Touchpad&quot; &quot;CorePointer&quot;<br />    InputDevice &quot;MX518&quot; &quot;SendCoreEvents&quot;<br />EndSection</td>
</tr>
</table>
</div>
<p>It is important that the Touchpad becomes CorePointer even though you use an external mouse the whole time, because otherwise your X-System will not boot if your mouse is not connected.</p>
<p>Now your are all set and can use all your mouse buttons. Use xev and xbindkeys to map you new buttons to other functions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/how-you-should-use-evdev-for-your-mouse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kleine Schrift in Firefox</title>
		<link>http://www.kuhrti.de/index.php/linux/kleine-schrift-in-firefox/</link>
		<comments>http://www.kuhrti.de/index.php/linux/kleine-schrift-in-firefox/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 20:23:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.kuhrti.de/blog/index.php/2008/04/kleine-schrift-in-firefox/</guid>
		<description><![CDATA[Nach einem Systemupgrade (~700 MB) und einem Reboot war es mir fast unmöglich sämtliche Systemtexte zu lesen, da die Schrift klein und unscharf war. Abhilfe verschafft folgender Code, der in einer neu erstellten /home/USER/.fonts.conf eingeführt wird:



#1#2#3#4#5#6#7#8#9
&#60;?xml version=&apos;1.0&apos; ?&#62;&#60;!DOCTYPE fontconfig SYSTEM &#34;fonts.dtd&#34;&#62;&#60;fontconfig&#62;&#60;match target=&apos;font&apos;&#62;&#60;edit name=&apos;autohint&apos; mode=&apos;assign&apos;&#62;&#60;bool&#62;true&#60;/bool&#62;&#60;/edit&#62;&#60;/match&#62;&#60;/fontconfig&#62;



Nach einem Restart von X waren zwar alle Fonts wieder auf Normalgröße, [...]]]></description>
			<content:encoded><![CDATA[<p>Nach einem Systemupgrade (~700 MB) und einem Reboot war es mir fast unmöglich sämtliche Systemtexte zu lesen, da die Schrift klein und unscharf war. Abhilfe verschafft folgender Code, der in einer neu erstellten <em>/home/USER/.fonts.conf</em> eingeführt wird:</p>
<div class="codeBlock">
<table>
<tr>
<td class="codeNumbers">#1<br />#2<br />#3<br />#4<br />#5<br />#6<br />#7<br />#8<br />#9</td>
<td class="codeLines">&lt;?xml version=&apos;1.0&apos; ?&gt;<br />&lt;!DOCTYPE fontconfig SYSTEM &quot;fonts.dtd&quot;&gt;<br />&lt;fontconfig&gt;<br />&lt;match target=&apos;font&apos;&gt;<br />&lt;edit name=&apos;autohint&apos; mode=&apos;assign&apos;&gt;<br />&lt;bool&gt;true&lt;/bool&gt;<br />&lt;/edit&gt;<br />&lt;/match&gt;<br />&lt;/fontconfig&gt;</td>
</tr>
</table>
</div>
<p>Nach einem Restart von X waren zwar alle Fonts wieder auf Normalgröße, aber Firefox hatte da wohl noch so seine Probleme.<br />
Dort öffnen wir <em>about:config</em> und setzen <em>layout.css.dpi</em> von -1 auf 0.</p>
<p>Was letzendlich zu dieser Verunstaltung führt, ist mir unbegreiflich.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kuhrti.de/index.php/linux/kleine-schrift-in-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
