Alt -> meta? AltGr in mod5?



On Tue, 29 Dec 2009 21:56:09 +0100, Christopher Roy Bratusek wrote:
> On my system ALT is bound to ALT, but sawfish recognizes it as META,
> so using A in keybindings has no effect.

Chris, have you tried Xmodmap revise suggested by Timo? (See 1 Sep
2009 message by Wang Diancheng. In his case, Super and Hyper are
confused.)  It's a workaround, but if it works it doesn't hurt to have
one. Too bad what exactly fixed his issue remains obscure.

> AltGR is recognized as Mod5, though it actually is ISO_Level3_Shift
> on my System. Of course I can use ISO_Level3_Shift in bindigs
> correctly, unlike A for the ALT key, but this is confusing, if you
> use ISO_Level3_Shift and Sawfish refers to Mod5.

Look at xkb/symbols/level3. It reads:
------------------------------------------------------------------------
xkb_symbols "ralt_switch" { // This key seems to be the AltGr.
  key <RALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift }; // **Look here**
};
------------------------------------------------------------------------

So it's mod5 by default for some. Have you verified output of
xmodmap -pm?

Regards,
Teika (Teika kazura)



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