Rank newbie here, so apologies if this isn't the right forum.

I have just installed xmonad on an Ubuntu box using a keyboard with a "Windows" key.   The basic problem is I can't get the modMask settings correct, so I am quite unable to manipulate xmonad.

Here's what I have, and have done.  I'm sure there is a simple fix for those more familiar with some of this, but it eludes me.

* I've set my "modMask" to "mod4Mask".

* xmodmap shows:

> xmodmap
xmodmap:  up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x69)
mod1        Alt_L (0x40),  Meta_L (0xcd)
mod2        Num_Lock (0x4d)
mod3     
mod4        Super_L (0xce),  Hyper_L (0xcf)
mod5        ISO_Level3_Shift (0x5c),  Mode_switch (0xcb)


Note that mod4 shows "Super_L", and that "0xce" is decimal 206.

When I run xev and hit my Windows key, I get:

KeyPress event, serial 30, synthetic NO, window 0x3e00001,
    root 0xc9, subw 0x0, time 25223274, (174,261), root:(2935,412),
    state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3e00001,
    root 0xc9, subw 0x0, time 25223351, (174,261), root:(2935,412),
    state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False


So it is showing up as "Super_L", but with a keycode of 133 instead of 0Xce (206).

What incantation of xmodmap must I utter to get things set up so xmonad can "see" the modMask correctly when I chord with the Windows key?

Many thanks,

Michael



--
Twitter: http://twitter.com/campbellmichael