Twitter (was mache ich gerade?)

    Suche

     

    Credits

    Archiv

    April 2024
    Mo
    Di
    Mi
    Do
    Fr
    Sa
    So
     1 
     2 
     3 
     4 
     5 
     6 
     7 
     8 
     9 
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
     
     
     
     
     
     
     
     

    Status

    Online seit 6714 Tagen
    Zuletzt aktualisiert: 17. Apr, 22:03

    Counter & Co.

    Egoload - Verträumter Idealist
    Mein
Koordinaten auf der EgoMap:  93,2
    100% Heidnisch

    Locations of visitors to this page

    xmonad

    Mittwoch, 8. Juli 2009

    Caps Lock gepflegt nutzen

    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.
    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 XMonad 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:
     
    Als erstes braucht man eine ~/.xmodmaprc, in der Caps Lock auf einen anderen Modifier-Key umgebogen wird:
    % cat ~/.xmodmaprc 
    remove lock = Caps_Lock
    add    mod5 = Caps_Lock
    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:
    myModMask       = mod5Mask
    Reichlich unspektakulär...
     
    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.

    Mittwoch, 18. März 2009

    XMonad and Psi

    I recently switched from my beloved ion3 to xmonad, a window manager written and configured in haskell. It takes some time getting used to edit the xmonad.hs configuration file, but it's really worth if it you want to learn haskell anyway. XMonads big plus is that there's a big extension library available that offers many cool workspace layouts. So you can have several workspaces, each with its own layouts.
    I'm using Psi 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 ("roster") 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 IM. 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:
     
    
    import XMonad.Layout.IM
    import XMonad.Layout.PerWorkspace
    

    Your layout configuration should contain something like this:
    
    withIM (1%6) (Title "Psi") Grid ||| resizableTile $
    
    (Title "Psi") is used by withIM to determine which window is Psis' 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.
    But this does not send the roster to my workspace "9", so Psi has to be added to the ManageHook.
        , className =? "chat"            --> doF (W.shift "9") 
        , title     =? "Psi"             --> doF (W.shift "9")
    
    The code listed above works, but the following solution is more elegant, because it simply catches all psi windows:
        , className =? "psi"            --> doF (W.shift "9")
    

    Aktuelle Beiträge

    Im happy I finally registered
    Excellent write-up. I absolutely love this site. Continue...
    http://mittenmail3.isblog.net/pick-a-winner-via-hashtag-entry-for-twitter-and-instagram-woobox-bl... (Gast) - 17. Apr, 22:03
    Just want to say Hi!
    I all the time emailed this blog post page to all...
    how to get instagram likes (Gast) - 30. Mär, 23:20
    Im happy I now signed...
    Hello, There's no doubt that your website could possibly...
    buy instagram followers cheap (Gast) - 30. Mär, 09:27
    Hallo Miau!
    Ich will einen schönen Tag wünschen, mit unseren Schmusekatzen....
    SCHLAGLOCH - 4. Apr, 14:51
    Sehe hier nut Tag und...
    Wo ist das Jahr an dem der Text geschrieben wurde?
    Gast (Gast) - 3. Mär, 20:38

    User Status

    Du bist nicht angemeldet.

    ...wenn man trotzdem lacht
    Atari Mega ST
    Auf Arbeit
    Bloggen
    Bookmarks & Links
    BSD
    Bundeswehr
    CCC07
    Computing
    Contentmafia
    Datenschutz
    DRM
    Fahrrad
    Finanzkrise
    Fundsachen
    G8
    ... weitere
    Profil
    Abmelden
    Weblog abonnieren