<?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>Severin's Blog</title>
	<atom:link href="http://kacianka.at/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://kacianka.at</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 31 Jan 2010 18:37:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Firefox middle mouse button on Linux</title>
		<link>http://kacianka.at/?p=37</link>
		<comments>http://kacianka.at/?p=37#comments</comments>
		<pubDate>Sun, 31 Jan 2010 18:37:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=37</guid>
		<description><![CDATA[I noticed that firefox did *something* when clicking the middle mouse button without hovering a link. I finally found out what it did and how to disable it:
http://aymanh.com/archives/2006/01/27/firefox-and-middle-click-clipboard-url
So setting middlemouse.contentLoadURL to false keeps firefox from trying to load the current clipboard content.
]]></description>
			<content:encoded><![CDATA[<p>I noticed that firefox did *something* when clicking the middle mouse button without hovering a link. I finally found out what it did and how to disable it:</p>
<p>http://aymanh.com/archives/2006/01/27/firefox-and-middle-click-clipboard-url</p>
<p>So setting middlemouse.contentLoadURL to false keeps firefox from trying to load the current clipboard content.</p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remapping mouse buttons</title>
		<link>http://kacianka.at/?p=34</link>
		<comments>http://kacianka.at/?p=34#comments</comments>
		<pubDate>Sun, 31 May 2009 11:44:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=34</guid>
		<description><![CDATA[Yesterday I got a new mouse. A Logitech G5. Being a nice mouse overall it has a small little flaw: clicking the mouse wheel is not that easy because you can click it in three ways. Down and from left and right.
As I frequently use the middle mouse button I was not happy (because it [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got a new mouse. A Logitech G5. Being a nice mouse overall it has a small little flaw: clicking the mouse wheel is not that easy because you can click it in three ways. Down and from left and right.</p>
<p>As I frequently use the middle mouse button I was not happy (because it often misinterpreted a click for a wiggle-left). As a geek I thought: wiggling the mouse wheel to the left is even easier than clicking on it. I would no longer have to lift my finger off the left mouse button. The question was: How can I remap this 7th mouse button?</p>
<p>After some research I found it was very easy to remap the button.</p>
<p>First you have to correctly configure the mouse in your Xorg configuration file:</p>
<pre>Section "InputDevice"
Identifier "Logitech G5"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Gaming_Mouse-event-mouse"
Option "ZAxisMapping" "invert"
Option "Emulate3Buttons" "false"
Option "Buttons" "9"
Option "Resolution" "800"
EndSection</pre>
<p>(My thanks go to <a href="http://adterrasperaspera.com/blog/2006/06/20/logitech-g5-review-under-linux?cp=5#comments">chuck</a>)</p>
<p>From there it took a bit more research to learn that I can use xmodmap  to easily remap the mouse buttons:</p>
<pre>xmodmap -e "pointer = 1 7 3 4 5 6 2 8 9"</pre>
<p>Remaps button 7 into the poistion of button 2 ( mouse- wheel-click). For more information visit the very <a href="http://docs.hp.com/en/B2355-90122/ch06s04.html">good tutorial by HP</a>.</p>
<p>Now I just had to put the &#8220;pointer = 1 7 3 4 5 6 2 8 9&#8243; part into a file into my home directory (surprisingly called .Xmodmap) and let Fluxbox execute it at startup.</p>
<p>Now I just have to get used to other mice not worknig like that ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mapping postal codes to countries</title>
		<link>http://kacianka.at/?p=19</link>
		<comments>http://kacianka.at/?p=19#comments</comments>
		<pubDate>Thu, 05 Feb 2009 09:35:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=19</guid>
		<description><![CDATA[Every now and again I had the problem of matching postal codes and countries. I often wondered if there is a system to (austrian) postal codes and finally found a table that says how to map a postal code to a country.
I encoded it into a simple PHP function &#8211; maybe it is useful :-)
plz2bl.php
]]></description>
			<content:encoded><![CDATA[<p>Every now and again I had the problem of matching postal codes and countries. I often wondered if there is a system to (austrian) postal codes and finally found a table that says how to map a postal code to a country.</p>
<p>I encoded it into a simple PHP function &#8211; maybe it is useful :-)</p>
<p><a href="http://kacianka.at/wp-content/uploads/2009/02/plz2bl.phps">plz2bl.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting two monitor to a NVIDIA card without the proprietary driver</title>
		<link>http://kacianka.at/?p=17</link>
		<comments>http://kacianka.at/?p=17#comments</comments>
		<pubDate>Sun, 16 Nov 2008 19:11:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[xorg]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=17</guid>
		<description><![CDATA[For a long time I searched for a way to connect two monitors to an NVIDIA graphic card without using the proprietary nvidia driver (mainly because I wanted to try use OpenBSD and 64bit FreeBSD).
Somehow I never read nv&#8217;s (the free Xorg driver) man page &#8211; until today. And there it is, clear as crystal:
Option [...]]]></description>
			<content:encoded><![CDATA[<p>For a long time I searched for a way to connect two monitors to an NVIDIA graphic card without using the proprietary nvidia driver (mainly because I wanted to try use OpenBSD and 64bit FreeBSD).</p>
<p>Somehow I never read nv&#8217;s (the free Xorg driver) man page &#8211; until today. And there it is, clear as crystal:</p>
<pre>Option "Dualhead" "boolean"
    Enables simple VBE-based dual head mode.  This sets the same resolution on both outputs and lays them out
    side-by-side.   The screens will be panned together as one big metamode if the virtual desktop is larger than both
    screens combined.</pre>
<p>So I just had to change my Xorg config from:</p>
<pre>Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    Option        "TwinView"
EndSection</pre>
<p>to</p>
<pre>Section "Device"
    Identifier     "Card0"
    Driver "nv"
    Option	"Dualhead"
EndSection

So simple!</pre>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ken Thompson on Security</title>
		<link>http://kacianka.at/?p=16</link>
		<comments>http://kacianka.at/?p=16#comments</comments>
		<pubDate>Fri, 11 Jul 2008 09:43:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=16</guid>
		<description><![CDATA[I just stumbled on a very good article by Ken Thompson on computer security:
Reflections on Trusting Trust
In this article Ken shows how easy it is to alter a compiler  to compromise all binaries created with it. Although 24 years old this article is a very interesting read.
]]></description>
			<content:encoded><![CDATA[<p>I just stumbled on a very good article by Ken Thompson on computer security:</p>
<p><a href="http://cm.bell-labs.com/who/ken/trust.html">Reflections on Trusting Trust</a></p>
<p>In this article Ken shows how easy it is to alter a compiler  to compromise all binaries created with it. Although 24 years old this article is a very interesting read.</p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>us_de Keyboardlayout</title>
		<link>http://kacianka.at/?p=15</link>
		<comments>http://kacianka.at/?p=15#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:08:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=15</guid>
		<description><![CDATA[The more I used it, the more unhappy I became with the us-intl keyboard layout. Especially all the dead keys (keys that may modify the following key e.g. &#8221; + a to write ä) made typing tiresome. Always typing a space after double quotes is really not suited for programming.
I found a good tutorial on [...]]]></description>
			<content:encoded><![CDATA[<p>The more I used it, the more unhappy I became with the us-intl keyboard layout. Especially all the dead keys (keys that may modify the following key e.g. &#8221; + a to write ä) made typing tiresome. Always typing a space after double quotes is really not suited for programming.</p>
<p>I found a good tutorial on writing your own Xorg keyboard layouts:<br />
<a href="http://hektor.umcs.lublin.pl/~mikosmul/computing/articles/custom-keyboard-layouts-xkb.html"> Creating custom keyboard layouts for X11 using XKB</a></p>
<p>Using these instructions I created a us_de layout, that uses the us layout and bind alt + a/u/o/s to the german  umlauts ä/ü/ö/ß.</p>
<p>To install the file, just copy it to /etc/X11/xkb/symbols/ and edit your /etc/X11/xorg.conf (or type setxkbmap -layout us_de -variant basic into a shell): <a href="http://kacianka.at/misc/us_de">us_de</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cups woes</title>
		<link>http://kacianka.at/?p=14</link>
		<comments>http://kacianka.at/?p=14#comments</comments>
		<pubDate>Tue, 04 Mar 2008 19:25:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=14</guid>
		<description><![CDATA[I just tried to get cups working and had the following problem:
I have a Lexmark Optra E+ parallel port printer and usually cups shows the parallel port as Device: on the second configuration screen. Only this time cups did not recognize the parallel port. lptest &#62; /dev/lpt0 worked fine, just cups could not see the [...]]]></description>
			<content:encoded><![CDATA[<p>I just tried to get cups working and had the following problem:</p>
<p>I have a Lexmark Optra E+ parallel port printer and usually cups shows the parallel port as Device: on the second configuration screen. Only this time cups did not recognize the parallel port. lptest &gt; /dev/lpt0 worked fine, just cups could not see the parallel port.</p>
<p>After about half an hour I finally found the solution:</p>
<p># ls -l /dev/lpt0<br />
crw&#8212;&#8212;-  1 root  wheel    0,  57 Mar  4 20:00 /dev/lpt0</p>
<p>The rights on /dev/lpt0 were not set correctly. After changing them, everything worked fine:</p>
<p># chmod 666 /dev/lpt0<br />
# ls -l /dev/lpt0<br />
crw-rw-rw-  1 root  wheel    0,  57 Mar  4 20:00 /dev/lpt0</p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Always compile audacious with dbus</title>
		<link>http://kacianka.at/?p=13</link>
		<comments>http://kacianka.at/?p=13#comments</comments>
		<pubDate>Tue, 04 Mar 2008 13:53:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[audacious]]></category>
		<category><![CDATA[dbus]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=13</guid>
		<description><![CDATA[When I compiled audacious without dbus support yesterday I did not know it would break all application options (i.e. entering audacious -f on a shell skips to the next track) . Today I read a bit in the audacious sources and found that it has to be compiled with dbus support in order to work.
]]></description>
			<content:encoded><![CDATA[<p>When I compiled audacious without dbus support yesterday I did not know it would break all application options (i.e. entering audacious -f on a shell skips to the next track) . Today I read a bit in the audacious sources and found that it has to be compiled with dbus support in order to work.</p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>k3b on FreeBSD</title>
		<link>http://kacianka.at/?p=12</link>
		<comments>http://kacianka.at/?p=12#comments</comments>
		<pubDate>Tue, 04 Mar 2008 10:48:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[k3b]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=12</guid>
		<description><![CDATA[Today I configured k3b on FreeBSD. The building from ports works fine (although it took almost all morning. But then again k3b depends on most of KDE ;-)).
Turns out all I had to do was to enable the ATAPI/CAM Driver: link
]]></description>
			<content:encoded><![CDATA[<p>Today I configured k3b on FreeBSD. The building from ports works fine (although it took almost all morning. But then again k3b depends on most of KDE ;-)).</p>
<p>Turns out all I had to do was to enable the ATAPI/CAM Driver: <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html#ATAPICAM">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=12</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running ion3 on FreeBSD</title>
		<link>http://kacianka.at/?p=10</link>
		<comments>http://kacianka.at/?p=10#comments</comments>
		<pubDate>Sun, 02 Mar 2008 16:18:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[freebsd]]></category>
		<category><![CDATA[operating_systems]]></category>
		<category><![CDATA[ion3]]></category>

		<guid isPermaLink="false">http://kacianka.at/?p=10</guid>
		<description><![CDATA[I just started to try out FreeBSD 7.0 (I am very impressed so far) and ran into huge problems installing my favorite  window manager ion3 .  Apparently the main developer  had some trouble with various  distribution  maintainers and forbade then to ship ion (link).
After some try and error (and a [...]]]></description>
			<content:encoded><![CDATA[<p>I just started to try out FreeBSD 7.0 (I am very impressed so far) and ran into huge problems installing my favorite  window manager <a href="http://modeemi.fi/~tuomov/ion/">ion3</a> .  Apparently the main developer  had some trouble with various  distribution  maintainers and forbade then to ship ion (<a href="http://en.wikipedia.org/wiki/Ion_(window_manager)#Controversy">link)</a>.</p>
<p>After some try and error (and a pointer in the right direction by Markus) I finally figured out how to tweak the system.mk to make ion3 compile.</p>
<p>I had to change the following things:</p>
<ul>
<li>install to $(HOME)/ion (you have to create this directory first)</li>
<li>comment  DL_LIBS=-ldl (as this lib seems to be part of the FreeBSD libc anyway)</li>
<li>Set the path for lua 5.1</li>
<li>uncomment DEFINES =+ -DCF_NO_LOCALE -DCF_NO_GETTEXT</li>
</ul>
<p>Attached: <a href="http://kacianka.at/wp-content/uploads/2008/03/system.mk" title="system.mk">system.mk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kacianka.at/?feed=rss2&amp;p=10</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
