Re: How to define wm-modifier-value to 'win' key (the key with microsoft logo in the keyboard)



>>>>> Christopher Roy Bratusek <zanghar freenet de> writes:

    > Am Montag, den 31.08.2009, 09:53 +0800 schrieb Wang Diancheng:
    >> >>>>> Timo Korvola <Timo Korvola iki fi> writes:
    >> 
    >> > On Friday 28 August 2009 05:04:55 Wang Diancheng wrote:
    >> >> My bindings use "W-*", It doesnot work, I setup some bindings
    >> >> through sawfish-ui, It grabed 'Mod4' not 'Super_L' when I
    >> press >> 'win' key.
    >> 
    >> > My guess is that your modifier map is broken.  Can you post the
    >> > output of xmodmap?
    >> 
    >> > -- Timo Korvola <URL:http://www.iki.fi/tkorvola>
    >> 
    >> Thank you, This is my xmodmap output:
    >> 
    >> shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42)
    >> control Control_L (0x25), Control_R (0x69) mod1 Alt_L (0x40),
    >> Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4
    >> Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c),
    >> Mode_switch (0xcb)

    > on my system

    > mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L
    > (0xcf)

    > look at `Super_L (0x85) ... Super_L (0xce)' ... you only got the
    > later, is adding the former manually fixing the problem?

I added this to my .Xmodmap, it works:

keycode 133 = Super_L
add Mod4 = Super_L

Thank you and Timo Korvola.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]