Rank newbie here, so apologies if this isn't the right forum.<br><br>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.<br>
<br>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.<br><br>* I've set my "modMask" to "mod4Mask".<br><br>* xmodmap shows:<br>
<br>> xmodmap<br>xmodmap: up to 2 keys per modifier, (keycodes in parentheses):<br><br>shift Shift_L (0x32), Shift_R (0x3e)<br>lock Caps_Lock (0x42)<br>control Control_L (0x25), Control_R (0x69)<br>
mod1 Alt_L (0x40), Meta_L (0xcd)<br>mod2 Num_Lock (0x4d)<br>mod3 <br>mod4 Super_L (0xce), Hyper_L (0xcf)<br>mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)<br><br><br>Note that mod4 shows "Super_L", and that "0xce" is decimal 206.<br>
<br>When I run xev and hit my Windows key, I get:<br><br>KeyPress event, serial 30, synthetic NO, window 0x3e00001,<br> root 0xc9, subw 0x0, time 25223274, (174,261), root:(2935,412),<br> state 0x10, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,<br>
XLookupString gives 0 bytes: <br> XmbLookupString gives 0 bytes: <br> XFilterEvent returns: False<br><br>KeyRelease event, serial 30, synthetic NO, window 0x3e00001,<br> root 0xc9, subw 0x0, time 25223351, (174,261), root:(2935,412),<br>
state 0x50, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,<br> XLookupString gives 0 bytes: <br> XFilterEvent returns: False<br><br><br>So it is showing up as "Super_L", but with a keycode of 133 instead of 0Xce (206).<br>
<br>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?<br><br>Many thanks,<br><br>Michael<br><br><br clear="all"><br>-- <br>
Twitter: <a href="http://twitter.com/campbellmichael">http://twitter.com/campbellmichael</a><br>