<?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>Libre Things &#187; Debian</title>
	<atom:link href="http://positon.org/tag/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://positon.org</link>
	<description></description>
	<lastBuildDate>Tue, 23 Feb 2016 20:01:11 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.7.1</generator>
	<item>
		<title>A very simple mysqldump script to backup your databases</title>
		<link>http://positon.org/a-very-simple-mysqldump-script-to-backup-your-databases</link>
		<comments>http://positon.org/a-very-simple-mysqldump-script-to-backup-your-databases#comments</comments>
		<pubDate>Sun, 13 Mar 2011 20:42:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[shell script]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=110</guid>
		<description><![CDATA[Here are some lines I&#8217;m using to backup my MySQL databases on my Debian server: #!/bin/sh # This will dump all your databases DATE=$(date +%Y%m%d%H%M) for DB in $(echo &#34;show databases&#34; &#124; mysql --defaults-file=/etc/mysql/debian.cnf -N) do mysqldump --defaults-file=/etc/mysql/debian.cnf $DB &#62; /backup/mysql/${DB}_${DATE}.sql gzip /backup/mysql/${DB}_${DATE}.sql done # purge old dumps find /backup/mysql/ -name &#34;*.sql*&#34; -mtime +8 -exec [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Here are some lines I&#8217;m using to backup my MySQL databases on my Debian server:</p>
<pre>
#!/bin/sh
# This will dump all your databases

DATE=$(date +%Y%m%d%H%M)

for DB in $(echo &quot;show databases&quot; | mysql --defaults-file=/etc/mysql/debian.cnf -N)
do
        mysqldump --defaults-file=/etc/mysql/debian.cnf $DB &gt; /backup/mysql/${DB}_${DATE}.sql

        gzip /backup/mysql/${DB}_${DATE}.sql
done

# purge old dumps
find /backup/mysql/ -name &quot;*.sql*&quot; -mtime +8 -exec rm -vf {} \;
</pre>
<p>You can run it in a cron:</p>
<pre>
11 1 * * * /usr/local/bin/mysqldump.sh &gt; /tmp/mysqldump.log
</pre>
<p>This way any error displayed by the script will be sent by mail to the root user (mail address in <code>/etc/aliases</code>).</p>
<p>If you are not under Debian and there is no password file in /etc/mysql, you should create such file.</p>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/a-very-simple-mysqldump-script-to-backup-your-databases/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clementine: a good music player</title>
		<link>http://positon.org/clementine-a-good-music-player</link>
		<comments>http://positon.org/clementine-a-good-music-player#comments</comments>
		<pubDate>Tue, 30 Nov 2010 20:11:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Amarok]]></category>
		<category><![CDATA[Clementine]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=106</guid>
		<description><![CDATA[I discovered Clementine some time ago. There is not any package for Ubuntu or Debian, but the official site gives you a .deb for your favorite Ubuntu version. And you&#8217;ll also find Mac OS X and Windows versions&#8230; A small click on the good .deb file for your Ubuntu distro and it should install. I [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I discovered <a href="http://code.google.com/p/clementine-player/">Clementine</a> some time ago.</p>
<p>There is not any package for Ubuntu or Debian, but the official site gives you a .deb for your favorite Ubuntu version.<br />
And you&#8217;ll also find Mac OS X and Windows versions&#8230;</p>
<p>A small click on the good .deb file for your Ubuntu distro and it should install.</p>
<p>I tested tons of players (<a href="http://amarok.kde.org/">Amarok</a>, <a href="http://projects.gnome.org/rhythmbox/">Rythmbox</a>, old <a href="http://www.xmms.org/">XMMS</a>, <a href="http://www.exaile.org/">Exaile</a>, <a href="http://www.listen-project.org/">Listen</a>, <a href="http://projects.gnome.org/totem/">Totem</a>&#8230;).</p>
<p>Clementine is based on Amarok, it&#8217;s far simpler and integrates very well in Gnome desktop using Qt4 librairies.</p>
<p>I&#8217;m happy to know this software and I recommend it to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/clementine-a-good-music-player/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim Router: recipient filter</title>
		<link>http://positon.org/exim-router-recipient-filter</link>
		<comments>http://positon.org/exim-router-recipient-filter#comments</comments>
		<pubDate>Tue, 09 Nov 2010 22:51:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=105</guid>
		<description><![CDATA[In a previous post, I explained how to setup a catchall with Exim. This to create multiple addresses all redirecting to the same destination: catchall_pub: driver = redirect domains = ads.mydomain.com data = user@mydomain.com Then, I wrote that on destination address we could setup a Sieve or Exim filter with a .forward file. If you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In a previous post, I explained how to setup a catchall with Exim. This to create multiple addresses all redirecting to the same destination:</p>
<pre>
catchall_pub:
  driver = redirect
  domains = ads.mydomain.com
  data = user@mydomain.com
</pre>
<p>Then, I wrote that on destination address we could setup a Sieve or Exim filter with a <code>.forward</code> file.</p>
<p>If you want to do that directly in Exim, to have all config in one place, or simply if your destination mail box doesn&#8217;t supports filters&#8230;</p>
<p>Just add a <code>local_parts</code> option:</p>
<pre>
catchall_pub:
  driver = redirect
  domains = ads.mydomain.com
  local_parts = !/etc/exim4/ads.mydomain.com.blacklist
  data = user@mydomain.com
</pre>
<p>In <code>/etc/exim4/ads.mydomain.com.blacklist</code> we put all rejected addresses, one per line:</p>
<pre>
foo1
bar2
</pre>
<p>This way foo1@ads.mydomain.com and bar2@ads.mydomain.com will be rejected.</p>
<p><ins>Exim4 Doc</ins>:</p>
<ul>
<li><a href="http://www.exim.org/exim-html-4.30/doc/html/spec_22.html">The redirect router</a></li>
<li><a href="http://www.exim.org/exim-html-4.30/doc/html/spec_3.html#SECT3.11">Router preconditions</a></li>
<li><a href="http://www.exim.org/exim-html-4.30/doc/html/spec_10.html#SECT10.3">File names in lists</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/exim-router-recipient-filter/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ProFTPD and AuthUserFile for password file</title>
		<link>http://positon.org/proftpd-and-authuserfile-for-password-file</link>
		<comments>http://positon.org/proftpd-and-authuserfile-for-password-file#comments</comments>
		<pubDate>Sun, 10 Oct 2010 23:45:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[ProFTPD]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=101</guid>
		<description><![CDATA[Default in Debian: ProFTPD only uses the /etc/passwd system user base. To add &#8220;virtual&#8221; users : In /etc/proftpd/proftpd.conf: DefaultRoot ~ AuthUserFile /etc/proftpd/ftpd.passwd RequireValidShell off Then restart proftpd: /etc/init.d/proftpd restart Create users file: vi /etc/proftpd/ftpd.passwd username:HASH:1011:1011:MyUserName:/home/ftp/directory:/bin/true You can also generate the user lines with the ftpasswd command, but I think it&#8217;s simpler to generate passwords with [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Default in Debian: <a href="http://www.proftpd.org">ProFTPD</a> only uses the <code>/etc/passwd</code> system user base.</p>
<p>To add &#8220;virtual&#8221; users :</p>
<p>In <code>/etc/proftpd/proftpd.conf</code>:</p>
<pre>
DefaultRoot ~
AuthUserFile /etc/proftpd/ftpd.passwd
RequireValidShell off
</pre>
<p>Then restart proftpd:  <code>/etc/init.d/proftpd restart</code></p>
<p>Create users file:</p>
<pre>
vi /etc/proftpd/ftpd.passwd
username:HASH:1011:1011:MyUserName:/home/ftp/directory:/bin/true
</pre>
<p>You can also generate the user lines with the <code>ftpasswd</code> command, but I think it&#8217;s simpler to generate passwords with the command:</p>
<pre>
mkpasswd --hash=md5
</pre>
<p>Then paste the HASH in the passwd file.</p>
<p>Correct passwd file permissions:</p>
<pre>
chown proftpd /etc/proftpd/ftpd.passwd
chmod go-r /etc/proftpd/ftpd.passwd
</pre>
<p>And just test it to finish.</p>
<p><ins>Links</ins>:</p>
<ul>
<li><a href="http://www.proftpd.org/docs/howto/AuthFiles.html" title="http://www.proftpd.org/docs/howto/AuthFiles.html">http://www.proftpd.org/docs/howto/AuthFiles.html</a></li>
<li><a href="http://www.proftpd.org/docs/directives/linked/config_ref_AuthUserFile.html" title="http://www.proftpd.org/docs/directives/linked/config_ref_AuthUserFile.html">http://www.proftpd.org/docs/directives/linked/config_ref_AuthUserFile.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/proftpd-and-authuserfile-for-password-file/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Change NetHack tiles (xnethack)</title>
		<link>http://positon.org/change-nethack-tiles-xnethack</link>
		<comments>http://positon.org/change-nethack-tiles-xnethack#comments</comments>
		<pubDate>Mon, 05 Jul 2010 21:19:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[NetHack]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[XPM]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=99</guid>
		<description><![CDATA[NetHack: one of the best games ever. I find xnethack default tileset rather ugly. Under Debian/Ubuntu (nethack-x11 package), the tileset file must be in XPM format. It&#8217;s configuration is in the /etc/X11/app-defaults/NetHack file with the default xpm: /usr/share/pixmaps/nethack/x11tiles. The file must be in XPM format, with a limited size and different color number, otherwise Nethack [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.nethack.org/">NetHack</a>: one of the best games ever.</p>
<p>I find <a href="http://nethackwiki.com/wiki/File:Vanilla_tiles.png">xnethack default tileset</a> rather ugly. Under Debian/Ubuntu (<code>nethack-x11</code> package), the tileset file must be in <a href="http://en.wikipedia.org/wiki/X_PixMap">XPM</a> format. It&#8217;s configuration is in the <code>/etc/X11/app-defaults/NetHack</code> file with the default xpm: <code>/usr/share/pixmaps/nethack/x11tiles</code>.</p>
<p>The file must be in <a href="http://fr.wikipedia.org/wiki/X_PixMap">XPM</a> format, with a limited size and different color number, otherwise Nethack loading time explodes (several minutes).</p>
<p>Here is how to change it on Debian / Ubuntu:</p>
<ol>
<li>Example: on <a href="http://www.multifoliate.com/nh/" title="http://www.multifoliate.com/nh/">http://www.multifoliate.com/nh/</a>, get the <code>chozo32b.zip</code> file (link: <em>NetHack 3.4.2 (32&#215;32) (modified by me)</em>). Extract it to get <code>chozo32b.bmp</code>.</li>
<li>Open it with <a href="http://www.gimp.org/">Gimp</a>, cut it to 1280&#215;864 (to delete the black at the bottom). You can then convert it to 256 colors, then save it as XPM. It works but it&#8217;s ugly.</li>
<li>To get a better result, save it to <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics">PNG</a>.</li>
<li>Install <code>imagemagick</code> package, then <code>convert -depth 5 chozo32b.png chozo5.png</code></li>
<li>Open chozo5.png with Gimp. Then save it to XPM format.</li>
<li>Edit <code>/etc/X11/app-defaults/NetHack</code> and replace <code>/usr/share/pixmaps/nethack/x11tiles</code> with the path to <code>chozo5.xpm</code>.</li>
<li>Then, reload X ressources: <code>xrdb -merge /etc/X11/app-defaults/NetHack</code></li>
<li>Start your favorite game: <code>xnethack</code></li>
</ol>
<p>The final gzipped file: <a href="/wp-content/uploads/dotclearold/chozo5.xpm.gz">chozo5.xpm.gz</a></p>
<p><ins>Notes</ins>:</p>
<ul>
<li><code>convert</code> always saves xpms in 256 colors. I don&#8217;t know why.</li>
<li><code>head image.xpm</code> gives you the first lines of the XPM file, with number of different colors.</li>
<li>Abigada tileset is by default in NetHack iPhone version.</li>
</ul>
<p><ins>Links</ins>:</p>
<ul>
<li><a href="http://www.multifoliate.com/nh/">Abigada tiles</a></li>
<li><a href="http://nethackwiki.com/wiki/Tileset">Tilesets on Nethack wiki</a></li>
<li><a href="http://www.wotsit.org/list.asp?search=XPM">XPM Format Specification</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/change-nethack-tiles-xnethack/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Catch-all mail with Exim</title>
		<link>http://positon.org/catch-all-mail-with-exim</link>
		<comments>http://positon.org/catch-all-mail-with-exim#comments</comments>
		<pubDate>Mon, 24 May 2010 22:52:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=93</guid>
		<description><![CDATA[The main idea is to have a set of anything@ads.mydomain.com addresses, all redirecting to a single mailbox. Then I can use any address @ads.mydomain.com as an alias to my primary mailbox. This way, I give ebay@ads.mydomain.com to Ebay, amazon@ads.mydomain.com to Amazon and so on. This solutions allows me to disable an alias if unsubscribing on [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The main idea is to have a set of <code>anything@ads.mydomain.com</code> addresses, all redirecting to a single mailbox. Then I can use any address <code>@ads.mydomain.com</code> as an alias to my primary mailbox.<br />
This way, I give <code>ebay@ads.mydomain.com</code> to Ebay, <code>amazon@ads.mydomain.com</code> to Amazon and so on.</p>
<p>This solutions allows me to disable an alias if unsubscribing on the site doesn&#8217;t work. I can also use this to track sites selling my address to other sites.</p>
<p>First, <a href="http://www.exim.org/">Exim</a> has to listen on the network, and accept mail to the <code>ads.mydomain.com</code> domain. Under Debian, put this in <code>/etc/exim4/update-exim4.conf.conf</code>:</p>
<pre>
dc_local_interfaces='0.0.0.0'
dc_relay_domains='ads.mydomain.com'
</pre>
<p>Note under Debian: each time Exim starts the <code>/etc/exim4/exim4.conf.template</code> file is filled with variables set in <code>/etc/exim4/update-exim4.conf.conf</code>, générating the <code>/var/lib/exim4/config.autogenerated</code> file. This is to ease Exim configuration in standard cases.</p>
<p>Then edit the <code>/etc/exim4/exim4.conf.template</code> file to add a new <em>router</em>, in first position just bellow <code>begin routers</code>:</p>
<pre>
catchall_pub:
  driver = redirect
  domains = ads.mydomain.com
  data = user@mydomain.com
</pre>
<p>The <em>router</em> will be called for any mail @ads.mydomain.com. It give all mails to the <em>redirect</em> transport sending them to the address set in <em>data</em>.</p>
<p>Finally, you can then use a <code>/home/user/.forward</code> file to disable aliases with a <a href="http://www.exim.org/exim-html-current/doc/html/filter.html">Sieve or Exim filter</a>.</p>
<p><strong>UPDATE 2010-11-10:</strong> <a href="/exim-router-recipient-filter">another way of disabling aliases</a></p>
<p><ins>References</ins>:</p>
<ul>
<li><a href="http://www.exim.org/exim-html-current/doc/html/spec_html/ch03.html">How Exim receives and delivers mail</a></li>
<li><a href="http://www.exim.org/exim-html-current/doc/html/spec_html/ch07.html#SECID55">Router configuration</a></li>
<li><code>man update-exim4.conf.conf</code></li>
<li><a href="http://www.exim-users.org/forums/showthread.php?t=42346" title="http://www.exim-users.org/forums/showthread.php?t=42346">http://www.exim-users.org/forums/showthread.php?t=42346</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/catch-all-mail-with-exim/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Brasero Bug Copying Audio CD in Ubuntu Lucid</title>
		<link>http://positon.org/brasero-bug-copying-audio-cd-in-ubuntu-lucid</link>
		<comments>http://positon.org/brasero-bug-copying-audio-cd-in-ubuntu-lucid#comments</comments>
		<pubDate>Thu, 20 May 2010 22:53:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Brasero]]></category>
		<category><![CDATA[Cdrdao]]></category>
		<category><![CDATA[cdrom]]></category>
		<category><![CDATA[CheckInstall]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Lucid]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=92</guid>
		<description><![CDATA[Audio CD copy is actually not possible with Brasero on Ubuntu Lucid. All details in the bug report. As a workaround, you must install cdrdao version 1.2.3, which is not yet available as a package. To install it, you can use CheckInstall which is a bit cleaner than the old make install: tar -xjvf cdrdao-1.2.3.tar.bz2 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Audio CD copy is actually not possible with <a href="http://projects.gnome.org/brasero/">Brasero</a> on Ubuntu Lucid. All details in the <a href="https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/529696">bug report</a>.</p>
<p>As a workaround, you must install <a href="http://cdrdao.sourceforge.net/">cdrdao</a> version 1.2.3, which is <a href="https://bugs.launchpad.net/ubuntu/+source/cdrdao/+bug/495655">not yet available as a package</a>.</p>
<p>To install it, you can use <a href="http://www.asic-linux.com.mx/~izto/checkinstall/">CheckInstall</a> which is a bit cleaner than the old <code>make install</code>:</p>
<pre>
tar -xjvf cdrdao-1.2.3.tar.bz2
cd cdrdao-1.2.3/
./configure
make
sudo checkinstall make install
</pre>
<p>Note: the <code>make</code> command can fail because of missing dev packages you&#8217;ll have to install.</p>
<p>CheckInstall builds and installs a nice Debian package.</p>
<p>You can also use cdrdao directly. <code>ps axf</code> shows us the command Brasero is using:</p>
<pre>
cdrdao read-cd --device /dev/sr0 --read-raw --datafile /home/dooblem/brasero.toc.bin -v 2 /home/dooblem/brasero.toc
</pre>
<p>Here we go!</p>
<p><ins>Links</ins> :</p>
<ul>
<li><a href="http://packages.debian.org/lenny/checkinstall" title="http://packages.debian.org/lenny/checkinstall">http://packages.debian.org/lenny/checkinstall</a></li>
<li><a href="http://en.wikipedia.org/wiki/CheckInstall" title="http://en.wikipedia.org/wiki/CheckInstall">http://en.wikipedia.org/wiki/CheckInstall</a></li>
<li><a href="/audio-cd-backup-archive">Audio CD Backup/Archive</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/brasero-bug-copying-audio-cd-in-ubuntu-lucid/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Clictap: how to convert your mouse into a remote control</title>
		<link>http://positon.org/clictap-how-to-convert-your-mouse-into-a-remote-control</link>
		<comments>http://positon.org/clictap-how-to-convert-your-mouse-into-a-remote-control#comments</comments>
		<pubDate>Tue, 09 Mar 2010 21:11:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Clictap]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[VLC]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=88</guid>
		<description><![CDATA[Here is a small C program I wrote some years ago: Clictap. It&#8217;s very convenient and I&#8217;m still using it to watch my movies. It makes use of Xlib and Xtest libraries to replace your mouse buttons by keyboard keys. I made a small Debian package a few days ago: clictap_0.6-1_i386.deb soon included in the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Here is a small C program I wrote some years ago: <a href="http://clictap.positon.org">Clictap</a>. It&#8217;s very convenient and I&#8217;m still using it to watch my movies.</p>
<p>It makes use of <a href="http://packages.debian.org/lenny/libx11-6">Xlib</a> and <a href="http://packages.debian.org/lenny/libxtst6">Xtest</a> libraries to replace your mouse buttons by keyboard keys.</p>
<p>I made a small Debian package a few days ago:</p>
<p><a href="http://clictap.positon.org/pages/download/_fichiers/clictap_0.6-1_i386.deb">clictap_0.6-1_i386.deb</a></p>
<p>soon included in the official repositories ?</p>
<p>Configuration file example including profiles for <a href="http://projects.gnome.org/totem/">totem</a>, <a href="http://www.xmms.org/">xmms</a>, <a href="http://projects.gnome.org/rhythmbox/">rhythmbox</a> and <a href="http://www.mplayerhq.hu">mplayer</a>:</p>
<pre>
# ClicTap configuration file
# You can copy this example to ~/.clictap.conf

# When this key is pressed, Clictap will ungrab your mouse and quit
# Examples :
# quit_key q
# quit_key ctrl+q
quit_key q

# Profile used by default
default_profile mplayer

# List of profiles
# For each profile, a set of buttons to keys translations is given,
# each translation on a separate line.
# For a translation, the first field is the set of buttons,
# the second is the set of keys.
# Buttons are specified by their numbers.
# Keys are specified by their KeySym (Key Symbols).
# To know the button numbers and KeySyms, use the xev program to test X events.
# Example :
#
# profile foo
# 	1   a
# 	2   b+c
# 	3+1 space
# 	3+2 Control_L+d

profile totem
	1 b
	2 p
	3 n
	4 Up
	5 Down

profile xmms
	1 w
	2 c
	3 b
	4 Up
	5 Down

profile rhythmbox
	1 Alt_L+Left
	2 Control_L+space
	3 Alt_L+Right
	4 Control_L+Up
	5 Control_L+Down

profile mplayer
	1 Left
	2 space
	3 Right
	4 asterisk
	5 KP_Divide

profile mplayersub
	1 x
	2 space
	3 z
	4 asterisk
	5 KP_Divide

profile test
	1 XF86AudioLowerVolume
	2 space
	3 z
	4 asterisk
	5 KP_Divide
</pre>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/clictap-how-to-convert-your-mouse-into-a-remote-control/feed</wfw:commentRss>
		<slash:comments></slash:comments>
		</item>
		<item>
		<title>Disable a service with update-rc.d under Debian (update resistant)</title>
		<link>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant</link>
		<comments>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant#comments</comments>
		<pubDate>Wed, 10 Feb 2010 18:38:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[update-rc.d]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=86</guid>
		<description><![CDATA[The well known way to remove a service from system boot under Debian / Ubuntu, without removing the package: update-rc.d -f mysql remove This command removes all /etc/rc*/*mysql* symbolic links. At next boot, the service is not started. Problem: when you update the mysql package (aptitude update), symlinks are created again. Solution: in the last [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The well known way to remove a service from system boot under Debian / Ubuntu, without removing the package:</p>
<pre>
update-rc.d -f mysql remove
</pre>
<p>This command removes all <code>/etc/rc*/*mysql*</code> symbolic links. At next boot, the service is not started.</p>
<p><ins>Problem</ins>: when you update the <code>mysql</code> package (<code>aptitude update</code>), symlinks are created again.</p>
<p><ins>Solution</ins>: in the last <code>update-rc.d</code> versions, there are <code>disable / enable</code> commands:</p>
<pre>
update-rc.d mysql disable
</pre>
<p>Useful if like me you only start apache or mysql some times for Web development. Also useful if you share files with Samba and only want to start the daemon occasionaly.</p>
<p><ins>Note</ins>: <code>update-rc.d --help</code> tells us that <code>The disable|enable API is not stable and might change in the future.</code></p>
<p><ins>References</ins>:</p>
<ul>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580" title="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=546580</a></li>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095" title="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67095</a></li>
<li><code>man update-rc.d</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/disable-a-service-with-update-rcd-under-debian-update-resistant/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>(Français) [Exim] Filtre système</title>
		<link>http://positon.org/exim-filtre-systeme</link>
		<comments>http://positon.org/exim-filtre-systeme#comments</comments>
		<pubDate>Tue, 07 Jul 2009 16:02:00 +0000</pubDate>
		<dc:creator><![CDATA[dooblem]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Exim]]></category>

		<guid isPermaLink="false">http://positon.org:81/?p=56</guid>
		<description><![CDATA[Sorry, this entry is only available in Français.]]></description>
				<content:encoded><![CDATA[<p>Sorry, this entry is only available in <a href="http://fr.positon.org/tag/debian/feed">Français</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://positon.org/exim-filtre-systeme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
