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

Bug#258399: xlibs: dvorak keyboard layout is missing right alt key



On Thu, 2004-08-26 at 15:37, Denis Barbier wrote:
> Adam C Powell IV wrote:
> > On Wed, 2004-08-25 at 16:38, Branden Robinson wrote:
[snip]
> > >   So I'm thinking the fix is to apply the above, then modify the
> > >   symbol maps such that (in most cases) any keys that get modifier
> > >   mappings are cleared first.
> > >   This solution will absolutely positively need testing.
> 
> No, original bugreport is against -4, so this is a different issue.
> And 'modifier_map none' does not appear in XFree86 CVS, so shipping
> files with this construct seems very risky.  OTOH incorporating 667
> would be nice since users may try this syntax if everything else
> fails.
> 
> > I see.  Thanks for the rapid response!  Let me know how I can help with
> > testing.
> 
> What does
>   $ xmodmap
>   $ setxkbmap -print
> display?  You told that your right alt key is missing, what does xev
> tell when it is pressed?  And what is this key supposed to do in your
> environment?

This is with the GNOME keyboard manager set to the Dvorak layout with
left Ctrl and caps lock switched:

54 p4-117-1% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x25)
control     Control_L (0x42),  Control_R (0x6d)
mod1        Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        BadKey (0x7f),  BadKey (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

55 p4-117-1% setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc/pc(pc104)+pc/dvorak+ctrl(swapcaps)" };
        xkb_geometry  { include "pc(pc104)"     };
};

Now when I use the capplet to remove Dvorak and add U.S. English, and
remove the ctrl-caps lock switch (IOW, revert to defaul settings):

56 p4-117-1% xmodmap
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock        Caps_Lock (0x42)
control     Control_L (0x25),  Control_R (0x6d)
mod1        Alt_L (0x40),  BadKey (0x7d),  BadKey (0x9c)
mod2        Num_Lock (0x4d)
mod3
mod4        BadKey (0x7f),  BadKey (0x80)
mod5        Mode_switch (0x5d),  ISO_Level3_Shift (0x7c)

57 p4-117-1% setxkbmap -print
xkb_keymap {
        xkb_keycodes  { include "xfree86+aliases(qwerty)"       };
        xkb_types     { include "complete"      };
        xkb_compat    { include "complete"      };
        xkb_symbols   { include "pc/pc(pc104)+pc/us"    };
        xkb_geometry  { include "pc(pc104)"     };
};

Interestingly, I had thought that the absence of Alt_R in mod2 was the
problem with the Dvorak/switched layout.  But it's also missing in the
default US/no switch layout, in which right Alt works just fine...

FYI, in the case of Dvorak/no switch, right Alt does nothing; with
US/switch, right Alt works fine.  So Dvorak seems to be the problem.

Thanks much,

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://lyre.mit.edu/~powell/The_Best_Stuff_In_The_World_Today_Cafe.ogg




Reply to: