<?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>cat /dev/braindump</title>
	<atom:link href="http://blog.ginkel.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ginkel.com</link>
	<description>A Geek&#039;s Thoughts on Life, Arts, Software and Technology</description>
	<lastBuildDate>Sun, 04 Dec 2011 14:36:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixing Double-Click Interval for Java Applications Under Linux</title>
		<link>http://blog.ginkel.com/2011/12/fixing-double-click-interval-for-java-applications-under-linux/</link>
		<comments>http://blog.ginkel.com/2011/12/fixing-double-click-interval-for-java-applications-under-linux/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 02:00:46 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1044</guid>
		<description><![CDATA[If you are using any Java applications (such as IntelliJ IDEA or RubyMine) under Linux / KDE you may have wondered why their response to double-clicks is somewhat sluggish or unreliable. As it turns out, Java (Swing) ignores KDE&#8217;s setting for the double-click interval, so Java uses a pretty short default (AFAIK ~200 ms). To [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using any Java applications (such as IntelliJ IDEA or RubyMine) under Linux / KDE you may have wondered why their response to double-clicks is somewhat sluggish or unreliable. As it turns out, Java (Swing) ignores KDE&#8217;s setting for the double-click interval, so Java uses a pretty short default (AFAIK ~200 ms).</p>
<p>To fix this, create a file named <code>.Xresources</code> in your home directory and add the following line:</p>
<blockquote><p><code>*.multiClickTime: 500</code></p></blockquote>
<p>Set its value to whatever interval you prefer (the example is using 500 ms).</p>
<p><strong>Edit:</strong> JetBrains support just mailed me that the root cause is a bug in the JDK, reported in 2004 and fixed in Java 7 (doh!): <a href="http://bugs.sun.com/view_bug.do?bug_id=5076635">http://bugs.sun.com/view_bug.do?bug_id=5076635</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/12/fixing-double-click-interval-for-java-applications-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vodafone: Cave MNP &#8211; oder: Von der Unmöglichkeit einer Rufnummernportierung</title>
		<link>http://blog.ginkel.com/2011/12/vodafone-cave-mnp-oder-von-der-unmoeglichkeit-einer-rufnummernportierung/</link>
		<comments>http://blog.ginkel.com/2011/12/vodafone-cave-mnp-oder-von-der-unmoeglichkeit-einer-rufnummernportierung/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 21:45:47 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Commonsense]]></category>
		<category><![CDATA[WTF!?!]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1042</guid>
		<description><![CDATA[o2 hat derzeit ein paar Probleme mit ihrem Netz &#8211; ach, was sage ich: Das Netz ist ein einziges Desaster. Nachzulesen bei &#8220;Wir sind Einzelfall&#8221;. Nun ist es ja Dank MNP (Mobile Number Portability) heutzutage kein Problem mehr, entsprechende Konsequenzen zu ziehen und den Netzbetreiber zu wechseln. Sollte man meinen. Der neue Netzbetreiber sollte Vodafone [...]]]></description>
			<content:encoded><![CDATA[<p>o2 hat derzeit ein paar Probleme mit ihrem Netz &#8211; ach, was sage ich: Das Netz ist ein einziges Desaster. Nachzulesen bei <a href="http://wir-sind-einzelfall.de/2011/11/neue-auswertung/">&#8220;Wir sind Einzelfall&#8221;</a>.</p>
<p>Nun ist es ja Dank MNP (Mobile Number Portability) heutzutage kein Problem mehr, entsprechende Konsequenzen zu ziehen und den Netzbetreiber zu wechseln. Sollte man meinen. Der neue Netzbetreiber sollte Vodafone sein und nach schechten Erfahrungen mit Providern sollte es direkt zum Netzbetreiber gehen. Gesagt, getan. Schließlich kam es jedoch ganz anders&#8230; <span id="more-1042"></span></p>
<p>Um bis zum Ablauf der Kündigungsfrist Ende Dezember bei discoPLUS noch halbwegs sinnvoll mobil erreichbar zu sein, sollte die Kombination Rufumleitung von o2 -> Vodafone mit nachträglicher Portierung der alten Rufnummer als Lösung dienen. Laut Vodafone <a href="http://www.vodafone.de/infofaxe/101.pdf">kein Problem</a>. Sollte man meinen. Zitat:</p>
<blockquote><p>Sie können aber auch sofort bei Vodafone einen Vertrag abschließen und bis zum Portierungstag mit einer temporären VF D2 Rufnummer telefonieren. Wenn Sie wollen, sind Sie auf Ihrer zu portierenden Rufnummer beim bisherigen Dienstanbieter noch bis zum Vertragsende erreichbar.</p></blockquote>
<p>Also am 28.11.2011 online einen passenden Vertrag bestellt. Der wurde erstmal einen Tag später kommentarlos &#8220;auf Ihren Wunsch hin&#8221; storniert. Eine Rückmeldung, was schief lief, habe ich bis heute nicht erhalten. Also habe ich den Vertriebskanal gewechselt und telefonisch bestellt. Zwei Tage später war dann die SIM-Karte da (allerdings nicht wie angekündigt via DHL, sondern via UPS). Nun wollte ich die nachträgliche Portierung in die Wege leiten. Dazu muss man wissen, dass das bei Vodafone nicht schriftlich oder online geht, sondern dass man dazu zwingend einen Vodafone-Shop aufsuchen muss. Also habe ich auch dieses Übel auf mich genommen &#8211; was tut man nicht für eine einigermaßen anständige Netzqualität. So suchte ich am Abend des 01.12.2011 den (offiziellen) Vodafone-Shop in der Heidelberger Innenstadt auf.</p>
<p>Ich staunte nicht schlecht, als man mir mitteilte, dass man nicht wisse, wie die Portierung für einen Geschäftskunden durchzuführen sei, faxte dann aber ein Portierungsformular an die Vodafone-Niederlassung Süd/West in Stuttgart. Laut einhelliger Auskunft von dritter Seite ist dieses Formular jedoch nicht für nachträgliche Portierungen geeignet &#8211; schließlich fehlten auf diesem jegliche Identifikationsmerkmale des Vodafone-Vertrags, auf den portiert werden soll.</p>
<p>Also kontaktierte ich daraufhin die telefonische Kundenbetreuung (die sich vollmundig &#8220;Business-Team&#8221; nennt). Der Mitarbeiter dort teilte mir freundlich, aber sichtlich ratlos mit, dass nachträgliche eingehende Portierungen für Geschäftskunden nicht möglich seien. Man könne lediglich den bestehenden Vertrag stornieren. Wieso diese Information in öffentlich zugänglichen Vodafone-Medien nirgends Erwähnung findet, konnte er mir aber auch nicht erklären. Ganz in Ruhe ließ ihn der Fall jedoch offenbar nicht, denn fünfzehn Minuten später rief er mich noch einmal an und teilte mir mit, er werde den Fall am kommenden Tag mit der Fachabteilung klären.</p>
<p>Von dort erreichte mich am Morgen des 02.12.2011 tatsächlich auch ein Rückruf: Man habe mit dem Shop in Heidelberg gesprochen, ich möge dort am Abend nochmal persönlich vorstellig werden &#8211; man werde dann die gewünschte Portierung umsetzen. Bei Problemen solle der Shop-Mitarbeiter sich mit der Vodafone-Vertriebspartnerhotline in Verbindung setzen. Dort könne man im Fall der Fälle eventuelle Probleme aus dem Weg räumen.</p>
<p>Nun machte ich mich also am Abend wieder auf den Weg in den Vodafone-Shop in der Hoffnung, die Portierung endlich zum Abschluss bringen zu können. Zwischenzeitlich hatte ich auch die passende Dokumentation für Vertriebspartner, &#8220;Klartext Nr. 102&#8243;, aufgetan, in dem die Portierung akribisch genau incl. Screenshots beschrieben ist &#8211; auch für Geschäftskunden. Leider sollte dieser Wunsch jedoch nicht erfüllt werden: Nach über einer Stunde des Hin- und Her strich der Vodafone-Mitarbeiter im Shop vor Ort die Segel. Ich möge doch bitte meinen bestehenden Vertrag widerrufen und einen neuen Vertrag mit eingeschlossenem Portierungsauftrag abschließen. Dies habe ich dann schließlich auch getan, jedoch frage ich mich an dieser Stelle, wieso es einem Konzern wie Vodafone nicht möglich ist, eine Trivialität wie eine eingehende Portierung korrekt abzuwickeln bzw. konsistente Informationen darüber bereitzustellen, mit welchen Einschränkungen eine solche Portierung verbunden sein mag. Im Infodok 101 sowie im Klartext 102 ist davon nichts zu lesen.</p>
<p>Für mich bedeutet das Ganze: Außer Spesen nichts gewesen. Keine Portierung, den Vertrag habe ich widerrufen. Ob mein ersatzweise vor Ort beauftragter Portierungsauftrag so umgesetzt und zu den zugesicherten Online-Konditionen abgerechnet wird, wage ich nach dem bisherigen Chaos zu bezweifeln. Vodafone scheint jedenfalls ganz alltägliche Prozesse nicht im Griff zu haben und beschäftigt entweder Mitarbeiter, die das <a href="http://www.youtube.com/watch?v=2r_u1F3IQNU">Peter-Prinzip</a> bereits maximiert haben, oder spart so sehr bei den Schulungen, dass die eigenen Mitarbeiter durch die unternehmenseigenen Prozesse völlig überfordert sind.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/12/vodafone-cave-mnp-oder-von-der-unmoeglichkeit-einer-rufnummernportierung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing to a Kyocera FS-1370DN via IPP/SSL under Linux</title>
		<link>http://blog.ginkel.com/2011/11/printing-to-a-kyocera-fs-1370dn-via-ippssl-under-linux/</link>
		<comments>http://blog.ginkel.com/2011/11/printing-to-a-kyocera-fs-1370dn-via-ippssl-under-linux/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 21:15:18 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1036</guid>
		<description><![CDATA[So I recently got a shiny new Kyocera FS-1370DN printer, which features a built-in NIC (and even supports IPv6). As I have multiple client PCs I wanted to actually use the printer&#8217;s network interface instead of wiring it up through USB. While not being strictly necessary in a SOHO network environment, I wanted to go [...]]]></description>
			<content:encoded><![CDATA[<p>So I recently got a shiny new Kyocera FS-1370DN printer, which features a built-in NIC (and even supports IPv6). As I have multiple client PCs I wanted to actually use the printer&#8217;s network interface instead of wiring it up through USB. While not being strictly necessary in a SOHO network environment, I wanted to go for a protocol that supports encryption. Fortunately, the FS-1370DN supports IPP over SSL. The documentation on how to correctly address the printer through that protocol was scarce, though, and Google was not much of a help.</p>
<p>As I eventually figured out the right URL to use in CUPS:</p>
<blockquote><p><code>ipp://&lt;hostname&gt;:443/printers/lp1?encryption=required</code></p></blockquote>
<p>Apart from that you need to make sure that IPP over SSL is turned on (which you can&#8217;t using the printer&#8217;s built-in menu, but only through its web-based management UI [Basic -&gt; Device Security -&gt; Network Security -&gt; IPP over SSL -&gt; Unblock] and [Advanced -&gt; Secure Protocols -&gt; SSL -&gt; On]).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/11/printing-to-a-kyocera-fs-1370dn-via-ippssl-under-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reducing T420s Power Consumption under KDE/Linux</title>
		<link>http://blog.ginkel.com/2011/10/reducing-t420s-power-consumption-under-kdelinux/</link>
		<comments>http://blog.ginkel.com/2011/10/reducing-t420s-power-consumption-under-kdelinux/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 19:03:52 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1024</guid>
		<description><![CDATA[If you own a Lenovo ThinkPad T420s (or any recent-generation notebook with a Sandy Bridge CPU) with Intel HD 3000 Graphics, this information may help you to reduce the power consumption under KDE/Linux: Intel HD 3000 Power-Saving: Enable the following Kernel command-line options: i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 Force ASPM: Enable the pcie_aspm=force Kernel command-line option In [...]]]></description>
			<content:encoded><![CDATA[<p>If you own a Lenovo ThinkPad T420s (or any recent-generation notebook with a Sandy Bridge CPU) with Intel HD 3000 Graphics, this information may help you to reduce the power consumption under KDE/Linux:</p>
<ul>
<li>Intel HD 3000 Power-Saving: Enable the following Kernel command-line options: <code>i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1</code></li>
<li>Force ASPM: Enable the <code>pcie_aspm=force</code> Kernel command-line option</li>
<li>In KDE, go to &#8220;System Settings&#8221; | &#8220;Desktop Effects&#8221; | &#8220;Advanced&#8221; and set the &#8220;Scale method&#8221; to &#8220;Crisp&#8221;.</li>
</ul>
<p>Overall, this brings my T420s&#8217;s power consumption down below 9 W. For best results, use a recent Linux 3.1-rc pre-release.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/10/reducing-t420s-power-consumption-under-kdelinux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Current NVIDIA Drivers for Ubuntu Natty</title>
		<link>http://blog.ginkel.com/2011/07/current-nvidia-drivers-for-ubuntu-natty/</link>
		<comments>http://blog.ginkel.com/2011/07/current-nvidia-drivers-for-ubuntu-natty/#comments</comments>
		<pubDate>Sun, 31 Jul 2011 20:18:51 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[OSS]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1008</guid>
		<description><![CDATA[If you are looking for current NVIDIA drivers for Ubuntu Natty (11.04), my new PPA may be of interest to you. It hosts an Ubuntu port of the current release version 275.21 of the NVIDIA Linux driver. To install: sudo apt-add-repository \ ppa:thilo.ginkel/nvidia-graphics-drivers sudo apt-get update sudo apt-get upgrade Caution: There are some reports on [...]]]></description>
			<content:encoded><![CDATA[<p>If you are looking for current NVIDIA drivers for Ubuntu Natty (11.04), my new <a href="https://launchpad.net/~thilo.ginkel/+archive/nvidia-graphics-drivers">PPA</a> may be of interest to you. It hosts an Ubuntu port of the current release version 275.21 of the NVIDIA Linux driver.</p>
<p>To install:</p>
<blockquote><p><code>sudo apt-add-repository \<br />
   ppa:thilo.ginkel/nvidia-graphics-drivers<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
</code></p></blockquote>
<p><strong>Caution:</strong> There are some <a href="http://www.nvnews.net/vbulletin/showthread.php?t=164619">reports</a> on the nvnews.net forums that this driver version breaks Gnome / GTK applications under certain circumstances, which I can neither confirm nor deny as I am using KDE (but GTK apps work correctly for me). You have been warned, use at your own risk.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/07/current-nvidia-drivers-for-ubuntu-natty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swissvoice Eurit 4000 &#8211; Displayrestauration</title>
		<link>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-displayrestauration/</link>
		<comments>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-displayrestauration/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 17:38:39 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[DIY]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=1005</guid>
		<description><![CDATA[Mein neues gebrauchtes (als Neuware gibt es das Telefon leider nicht mehr) Swissvoice Eurit 4000 war ja bereits Thema meines letzten Blog-Beitrags. Nachdem die Technik inzwischen einwandfrei kooperierte, war noch eine Baustelle verblieben: Das Display. Leider hatte es der Vorbesitzer nicht so mit der schonenden Reinigung, so dass das Display mit lauter feinen Kratzern gespickt [...]]]></description>
			<content:encoded><![CDATA[<p>Mein neues gebrauchtes (als Neuware gibt es das Telefon leider nicht mehr) Swissvoice Eurit 4000 war ja bereits Thema meines <a href="http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-headset-kompatibilitat/">letzten Blog-Beitrags</a>. Nachdem die Technik inzwischen einwandfrei kooperierte, war noch eine Baustelle verblieben: Das Display. Leider hatte es der Vorbesitzer nicht so mit der schonenden Reinigung, so dass das Display mit lauter feinen Kratzern gespickt war.</p>
<p>Da mich soetwas kategorisch stört &#8211; schließlich telefoniert das Auge mit &#8211; musste eine Lösung her. Mögliche Optionen waren: Das Aufkleben einer Displayschutzfolie, ein Displaytausch oder eine Restaurierung des aktuellen Displays.</p>
<p>Displayfolien waren nun noch nie mein Favorit, sind sie doch sehr schwer sauber aufzubringen. Ein Displaytausch wäre sehr aufwändig und möglicherweise kostspielig geworden und die Verfügbarkeit eines Ersatzdisplays war nicht einfach zu klären. Blieb also vorerst als Option, das bestehende Display zu restaurieren. Im Netz findet man diverse Erfahrungsberichte zu Displaypolituren für Handys, an einem Eurit 4000 scheint sich damit aber noch niemand versucht zu haben. Das klang also erstmal nach einer Option.</p>
<p>Erschwert wurde die Entscheidung pro oder contra Politur allerdings dadurch, dass der Swissvoice-Support keine Aussage zum Material der Displayoberfläche machen konnte, weshalb die Auswahl der korrekten Politur eher zur Glückssache ausartete (die gängigste Politur am Markt verträgt sich beispielsweise nicht mit Polycarbonaten).</p>
<blockquote><p><strong>Disclaimer:</strong> Die im Folgenden beschriebene Prozedur hat bei meinem Telefon zufällig funktioniert. Ich übernehme bei Nachahmungen keine Gewähr für eine Unschädlichkeit der Prozedur.</p></blockquote>
<p>Lange Rede, kurzer Sinn: Ich habe in den sauren Apfel gebissen und einen Versuch mit &#8220;Displex Display Polish&#8221; unternommen, mit dem ich unter leichtem Druck unter Zuhilfenahme eines Wattepads das Display in geraden Bewegungen poliert habe. Vorher nicht vergessen, das Display rundum abzukleben, damit man nicht versehentlich den Rahmen mit poliert. Das Ergebnis kann sich durchaus sehen lassen &#8211; ich würde sogar sagen, das Display sieht fast wieder neuwertig aus.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-displayrestauration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Swissvoice Eurit 4000 Headset-Kompatibilität</title>
		<link>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-headset-kompatibilitat/</link>
		<comments>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-headset-kompatibilitat/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 18:00:00 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=978</guid>
		<description><![CDATA[Vor kurzem bin ich von meinem betagten Ascom Eurit 40 auf ein Swissvoice Eurit 4000 umgestiegen und war dabei recht naiv der Meinung, mein Plantronics-H141N-Headset einfach weiterverwenden zu können. Dem war leider nicht so, d.h., nach Anschluss des Headsets an das Eurit 4000 tat sich akustisch erstmal gar nichts. Die Lösung war aber schlussendlich so [...]]]></description>
			<content:encoded><![CDATA[<p>Vor kurzem bin ich von meinem betagten Ascom Eurit 40 auf ein Swissvoice Eurit 4000 umgestiegen und war dabei recht naiv der Meinung, mein Plantronics-H141N-Headset einfach weiterverwenden zu können. Dem war leider nicht so, d.h., nach Anschluss des Headsets an das Eurit 4000 tat sich akustisch erstmal gar nichts.</p>
<p>Die Lösung war aber schlussendlich so simpel, dass ich sie hier dokumentieren möchte: Offenbar hat der Höreranschluss des Eurit 40 gegenüber dem Eurit 4000 eine andere Pin-Belegung. Ein passendes Kabel aus dem Zubehör, im Falle des Eurit 4000 ist das die Plantronics-P/N 27190-01, hat das Problem in Nullzeit gelöst.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/06/swissvoice-eurit-4000-headset-kompatibilitat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>World IPv6 Day</title>
		<link>http://blog.ginkel.com/2011/06/world-ipv6-day/</link>
		<comments>http://blog.ginkel.com/2011/06/world-ipv6-day/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 23:46:17 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=998</guid>
		<description><![CDATA[Today is World IPv6 Day and as my hosting provider has been offering IPv6 support for some time, I took the opportunity to enable IPv6 support for most services offered under the ginkel.com domain. Let&#8217;s see whether there will be any IPv6-based requests (except for my own ones thanks to the excellent SixXS service). Welcome [...]]]></description>
			<content:encoded><![CDATA[<p>Today is <a href="http://www.worldipv6day.org/">World IPv6 Day</a> and as my hosting provider has been offering IPv6 support for some time, I took the opportunity to enable IPv6 support for most services offered under the ginkel.com domain.</p>
<p>Let&#8217;s see whether there will be any IPv6-based requests (except for my own ones thanks to the excellent <a href="http://www.sixxs.net/">SixXS</a> service).</p>
<p>Welcome to the next evolutionary stage of the Internet! <img src='http://blog.ginkel.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/06/world-ipv6-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE: Location-based Screen Lock Activation</title>
		<link>http://blog.ginkel.com/2011/06/kde-location-based-screen-lock-activation/</link>
		<comments>http://blog.ginkel.com/2011/06/kde-location-based-screen-lock-activation/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 18:10:42 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[KDE]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=976</guid>
		<description><![CDATA[Some laptop users may know the following scenario: In situations where others may potentially gain unauthorized access to your machine, e.g., in public places or in the office, you may want to enable a screen lock shortly after the screensaver kicks in so that the time window during which your system is potentially vulnerable to [...]]]></description>
			<content:encoded><![CDATA[<p>Some laptop users may know the following scenario: In situations where others may potentially gain unauthorized access to your machine, e.g., in public places or in the office, you may want to enable a screen lock shortly after the screensaver kicks in so that the time window during which your system is potentially vulnerable to malicious users stays short (of course, it is still recommended to manually lock the screen when you leave your laptop unattended). However, at home, the need to unlock the machine after some inactivity becomes a little annoying, which makes enabling the locking functionality by default a less desirable option.</p>
<p>Now, what if your laptop could automatically detect your working environment and disarm or re-arm the screen lock depending on its physical location? Well, it can: Turns out there are some nice hooks available to run scripts during various network state change events. The ones that will be of interest for us are <code>if-up</code> and <code>if-down</code>. Apart from that we make the assumption that it will be possible to detect the laptop&#8217;s &#8220;safe&#8221; home location by means of it being signed in to a given WiFi network (identified by its SSID).</p>
<p>Before proceeding, let&#8217;s make some further assumptions for the sake of simplicity:</p>
<ul>
<li>You are running a recent KDE version (the author uses 4.6.x &#8211; older versions may also work, though).</li>
<li>The paths mentioned in this guide may be specific to Ubuntu/Debian. Your mileage for other distributions may vary.</li>
<li>You have configured a screensaver through the KDE System Settings to automatically kick in after some time of inactivity.</li>
</ul>
<p>The portion we will be automating is enabling and disabling the automatic screen lock after disengaging the screensaver using KDE&#8217;s kwriteconfig command. To do so, create a new script <code>/etc/network/if-up.d/screenlock</code> and populate it with the following content:</p>
<blockquote><pre>#!/bin/bash

SSID=<your "home" SSID>
USERNAME=<your user name>

/sbin/iwconfig wlan0 | /bin/grep -q ${SSID}

if [ $? = 0 ]; then
    logger "Disarming screen lock"
    su -c "/usr/bin/kwriteconfig --file kscreensaverrc \
       --group ScreenSaver --key Lock false" ${USERNAME}
else
    logger "Re-arming screen lock"
    su -c "/usr/bin/kwriteconfig --file kscreensaverrc \
       --group ScreenSaver --key Lock true" ${USERNAME}
fi

exit 0</pre>
</blockquote>
<p>Make sure not to forget to configure your user and SSID placeholder at the top of the script.</p>
<p>Also, make the script executable:</p>
<blockquote><p><code>sudo chmod +x /etc/network/if-up.d/screenlock</code></p></blockquote>
<p>So far, the script is only invoked when establishing a network connection. To also invoke it upon disconnecting, we need to create an appropriate symbolic link:</p>
<blockquote><p><code>cd /etc/network/if-down.d/<br />
sudo ln -s ../if-up.d/screenlock .</code></p></blockquote>
<p>You can test whether the screen lock is working by manually enabling the locking facility in the KDE System Settings -> &#8220;Display and Monitor&#8221; -> &#8220;Screen Saver&#8221; -> &#8220;Require password after &#8230;&#8221;. Test whether the lock is effective by letting the screensaver kick in. When dismissing the screensaver you should be prompted for a password. Now, connect to your WLAN. Retry the screensaver test cycle, which should no longer require the entry of a password. Last, disconnect from your WLAN again to observe the lock coming back.</p>
<p>That&#8217;s it. Have fun with your new location-aware screen lock configuration. Of course, further uses of the mechanism can be thought of, such as automatic file synchronization. More to follow in a future blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/06/kde-location-based-screen-lock-activation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wehret den Anfängen!</title>
		<link>http://blog.ginkel.com/2011/05/wehret-den-anfangen/</link>
		<comments>http://blog.ginkel.com/2011/05/wehret-den-anfangen/#comments</comments>
		<pubDate>Sun, 08 May 2011 22:00:23 +0000</pubDate>
		<dc:creator>Thilo-Alexander Ginkel</dc:creator>
				<category><![CDATA[Life, the Universe & Everything]]></category>

		<guid isPermaLink="false">http://blog.ginkel.com/?p=962</guid>
		<description><![CDATA[Im Gedenken an eine couragierte junge Frau, die sich nicht zu fein war, für ihre Ideale zu kämpfen. Bildquelle: http://commons.wikimedia.org/wiki/File:Mrs._Herbert_Stevens_May_2008.jpg]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.ginkel.com/wp-content/uploads/2011/05/weisse-rose.jpg" alt="" title="" width="450" height="323" class="alignnone size-full wp-image-963" /><br />
Im Gedenken an eine couragierte junge Frau, die sich nicht zu fein war, für ihre Ideale zu kämpfen.
<p>
<font color="gray"><small>Bildquelle: <a href="http://commons.wikimedia.org/wiki/File:Mrs._Herbert_Stevens_May_2008.jpg">http://commons.wikimedia.org/wiki/File:Mrs._Herbert_Stevens_May_2008.jpg</a></small></font></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ginkel.com/2011/05/wehret-den-anfangen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

