News for hackers. Stuff that matters.
Re:Xmonad 0.9 released The light, reliable, extensible tilin... by jsrn on Sunday October 25, 2009 @11:37PM (#902582)
I've used Xmonad for a few weeks now and it is simply great: "screen real estate" is never wasted, you get free brain cycles by never doing the nitty-gritty details of window arrangement manually again - you switch high level "layout algorithms" instead that arrange your windows differently.

Are you (like me) an Emacs user? You want to remap the Xmonad modifier-key (default is on left Alt a.k.a. Meta). Here is my solution:

    xmodmap -e "clear Mod3"
    xmodmap -e "clear Lock"
    xmodmap -e "add Mod3 = Caps_Lock"
    xmonad
taken from my ~/.xsession file - this remaps the "Caps Lock" key as a "Mod3 key".

My ~/.xmonad/xmonad.hs looks like this:

    import XMonad

    main = xmonad defaultConfig {
             modMask = mod3Mask
           , terminal = "xterm"
    }
Now I can use Caps Lock as Xmonad modifier key and Ctrl/Meta as I'm used to for Emacs (note that I have a PC 102 keyboard - if you have a keyboard with "Windows"-key you might use this key as modifier key instead and perhaps remap Caps Lock as your Control key...).
Re:Xmonad 0.9 released The light, reliable, extensible tilin... by buugs on Monday October 26, 2009 @01:02AM (#902666)
I have a laptop with no windows key and am forced to use stumpwm because of the awkward positioning I have to use if it were bound to caps lock as alt is needed for emacs

stumpwm isn't bad though just xmonad is really nice when you have a decent modifier key available.

Re:Xmonad 0.9 released The light, reliable, extensible tilin... by alexkay on Monday October 26, 2009 @08:22AM (#903012)
You can replace Mod-X with a key sequence, for example C-m X. I blogged about it here: http://versia.com/2009/10/18/xmonad-metacity-gnome/