<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://cptsalek.twoday.net/rss2html.xsl" type="text/xsl"?>
<rdf:RDF 
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  xmlns:cc="http://web.resource.org/cc/"
  xmlns="http://purl.org/rss/1.0/"
> 

  <channel rdf:about="http://cptsalek.twoday.net/">
    <title>Captains Log (Heidentum, IT, Mittelalter, Rollenspiel, Gesellschaft, Politik und der alltägliche Wahnsinn: Tagebuch meines Lebens.) : Rubrik:xmonad</title>
    <link>http://cptsalek.twoday.net/</link>
    <description>Heidentum, IT, Mittelalter, Rollenspiel, Gesellschaft, Politik und der alltägliche Wahnsinn: Tagebuch meines Lebens.</description>
    <dc:publisher>cptsalek</dc:publisher>
    <dc:creator>cptsalek</dc:creator>
    <dc:date>2009-07-14T16:38:21Z</dc:date>
    <dc:language>en</dc:language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T00:00:00Z</sy:updateBase>
    <cc:license rdf:resource="http://creativecommons.org/licenses/by-nc-sa/2.0/de/" />

    <image rdf:resource="http://static.twoday.net/cptsalek/images/icon.jpg" />
    <items>
      <rdf:Seq>
            <rdf:li rdf:resource="http://cptsalek.twoday.net/stories/5810999/" />
            <rdf:li rdf:resource="http://cptsalek.twoday.net/stories/5592221/" />

      </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://static.twoday.net/cptsalek/images/icon.jpg">
    <title>Captains Log</title>
    <url>http://static.twoday.net/cptsalek/images/icon.jpg</url>
    <link>http://cptsalek.twoday.net/</link>
  </image>

  <item rdf:about="http://cptsalek.twoday.net/stories/5810999/">
    <title>Caps Lock gepflegt nutzen</title>
    <link>http://cptsalek.twoday.net/stories/5810999/</link>
    <description>Seitdem ich mich mit Computern beschäftige hat mich die Caps Lock-Taste eher gestört, als das sie mir irgendeinen Nutzen gebracht hätte. Im Netz gilt Großschreibung als schreien, was man tunlichst vermeiden sollte, und es gibt auch kaum eine Programmiersprache, deren Schlüsselwörter groß geschrieben werden. Also wenn Ihr mich fragt, ist das Ding überflüssig. &lt;br /&gt;
Allerdings, und hier wirds wieder spannend, läßt sich Caps Lock unter den Unixen (X11) umprogrammieren und als Sondertaste verwenden. Das ist z.B. bei älteren Laptops und Tastaturen von Vorteil, die keine Windows/Apple/Diamant-Taste haben. Wobei heutzutage viele Anwendungen oder auch Benutzeroberflächen diese Taste ja ebenfalls belegen. Wer, wie ich, tastaturgesteuerte Window Manager wie z.B. den &lt;a href=&quot;http://www.xmonad.org&quot;&gt;XMonad&lt;/a&gt; verwendet, möchte vielleicht auch diese Freiheit nutzen. Hier bietet sich Caps Lock an. Der Umbau ist dabei relativ einfach und lehnt sich an ein Postings aus der XMonad-Mailingliste an: &lt;br /&gt;
 &lt;br /&gt;
Als erstes braucht man eine ~/.xmodmaprc, in der Caps Lock auf einen anderen Modifier-Key umgebogen wird:
&lt;pre&gt;&lt;code&gt;% cat ~/.xmodmaprc 
remove lock = Caps_Lock
add    mod5 = Caps_Lock&lt;/code&gt;&lt;/pre&gt;

In meinem Beispiel wird die Taste Caps_Lock mod5 zugeordnet, was bei mir leer war. Dann folgt nur noch ein Schritt, denn nun muss man XMonad über die ~/.xmonad/xmonad.hs noch mitteilen, das sich modMask eben auf mod5 geändert hat. Dies ist abhängig von der eigenen Konfiguration, weshalb ich da nicht viel zu sagen kann. Bei mir sieht die Zuweisung wie folgt aus:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;myModMask       = mod5Mask&lt;/code&gt;&lt;/pre&gt;

Reichlich unspektakulär...&lt;br /&gt; &lt;br /&gt;
Jetzt laufen alle Keybindings gegen Caps Lock (nachdem man XMonad neu übersetzt und gestartet hat, natürlich). Aber vorsichtig: Es gibt wohl Tastaturen, die nicht für alle möglichen Tastenkombinationen ein Signal senden. Hier geht wohl probieren über studieren. Das Sun-Keyboard von meiner SunRay hier hat auf jeden Fall keine Lücken.</description>
    <dc:creator>cptsalek</dc:creator>
    <dc:subject>xmonad</dc:subject>
    <dc:rights>Copyright &#169; 2009 cptsalek</dc:rights>
    <dc:date>2009-07-08T11:32:00Z</dc:date>
  </item>
  <item rdf:about="http://cptsalek.twoday.net/stories/5592221/">
    <title>XMonad and Psi</title>
    <link>http://cptsalek.twoday.net/stories/5592221/</link>
    <description>I recently switched from my beloved ion3 to &lt;a href=&quot;http://www.xmonad.org&quot;&gt;xmonad&lt;/a&gt;, a window manager written and configured in &lt;a href=&quot;http://www.haskell.org&quot;&gt;haskell&lt;/a&gt;. It takes some time getting used to edit the xmonad.hs configuration file, but it&apos;s really worth if it you want to learn haskell anyway. XMonads big plus is that there&apos;s a big extension library available that offers many cool workspace layouts. So you can have several workspaces, each with its own layouts.&lt;br /&gt;
I&apos;m using &lt;a href=&quot;http://psi-im.org/&quot;&gt;Psi&lt;/a&gt; for most of my instant messaging needs (does Jabber and GPG encryption ring a bell?), so my idea was to have a layout that keeps my buddy list (&quot;roster&quot;) on one side of the screen, filling the rest with open chat windows. As you already might know there is a layout available, simply called &lt;a href=&quot;http://hackage.haskell.org/packages/archive/xmonad-contrib/0.8/doc/html/XMonad-Layout-IM.html&quot;&gt;IM&lt;/a&gt;. But it took me a while to figure out what I needed to get psi working completely. So here we go with some snippets of my xmonad.hs: &lt;br /&gt; &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
import XMonad.Layout.IM
import XMonad.Layout.PerWorkspace
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Your layout configuration should contain something like this:
&lt;pre&gt;&lt;code&gt;
withIM (1%6) (Title &quot;Psi&quot;) Grid ||| resizableTile $
&lt;/code&gt;&lt;/pre&gt;
(Title &quot;Psi&quot;) is used by withIM to determine which window is Psis&apos; buddy list/roster. The rest of the line is just a list of Layouts to be used by the rest of screen. So yes, you can have several layouts and even rotate them.&lt;br /&gt;
But this does not send the roster to my workspace &quot;9&quot;, so Psi has to be added to the ManageHook.
&lt;pre&gt;
    , className =? &quot;chat&quot;            --&gt; doF (W.shift &quot;9&quot;) 
    , title     =? &quot;Psi&quot;             --&gt; doF (W.shift &quot;9&quot;)
&lt;/pre&gt;
The code listed above works, but the following solution is more elegant, because it simply catches all psi windows:
&lt;pre&gt;
    , className =? &quot;psi&quot;            --&gt; doF (W.shift &quot;9&quot;)
&lt;/pre&gt;
&lt;br /&gt;</description>
    <dc:creator>cptsalek</dc:creator>
    <dc:subject>xmonad</dc:subject>
    <dc:rights>Copyright &#169; 2009 cptsalek</dc:rights>
    <dc:date>2009-03-18T21:12:00Z</dc:date>
  </item>


<textinput rdf:about="http://cptsalek.twoday.net/search">
   <title>find</title>
   <description>Search this site:</description>
   <name>q</name>
   <link>http://cptsalek.twoday.net/search</link>
</textinput>
<cc:License rdf:about="http://creativecommons.org/licenses/by-nc-sa/2.0/de/">
   <permits rdf:resource="http://web.resource.org/cc/Reproduction" />
   <permits rdf:resource="http://web.resource.org/cc/Distribution" />
   <requires rdf:resource="http://web.resource.org/cc/Notice" />
   <requires rdf:resource="http://web.resource.org/cc/Attribution" />
   <prohibits rdf:resource="http://web.resource.org/cc/CommercialUse" />
   <permits rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
   <requires rdf:resource="http://web.resource.org/cc/ShareAlike" />
</cc:License>

</rdf:RDF>
