Bug#533863: xserver-xorg: keyboard layout switching not working properly after hal / evdev upgrade
On Sun, Nov 29, 2009 at 20:49:08 +0100, Julien Cristau wrote:
> With your keymap it seems I can reproduce your bug: switching from il to
> us(dvorak) seems fine, but switching from us(dvorak) to il needs 2
> alt-shift presses. Not sure what's up. As a last data point, does this
> also happen if you just run 'startx -- /usr/bin/xterm'? If so please
> file a bug at bugs.freedesktop.org against the xorg product, component
> Input/XKB. Attach your X log and the file from xkbcomp.
>
Hmm. Actually, running xserver 1.7.0, things seem to work fine if I
switch to your keymap using "setxkbmap us,il -variant dvorak, -option ''
-option grp:alt_shift_toggle,ctrl:swapcaps".
Diffing the xkbcomp output shows this:
[some stuff in the xkb_compatibility section, probably not relevant]
then:
- key <BKSP> { [ BackSpace ] };
+ key <BKSP> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ BackSpace, Terminate_Server ]
+ };
because you have the terminate:ctrl_alt_bksp option enabled, fine.
then it gets weird:
key <LSGT> {
- type= "FOUR_LEVEL",
- symbols[Group1]= [ less, greater, bar, brokenbar ]
+ type[group1]= "FOUR_LEVEL",
+ symbols[Group1]= [ less, greater, bar, brokenbar ],
+ symbols[Group2]= [ less, greater ],
+ symbols[Group3]= [ bar ]
there's a Group3 symbol here for some reason...
dunno if the following matters:
- key <RALT> {
- type= "TWO_LEVEL",
- symbols[Group1]= [ Alt_R, ISO_Next_Group ]
- };
+ key <RALT> { [ Alt_R, ISO_Next_Group ] };
[some other irrelevant stuff]
So, that may be a bug in server 1.6, fixed in 1.7. Hopefully we can get
it in a usable state in experimental soon. I don't have an 1.6 server
handy to easily confirm.
Cheers,
Julien
Reply to: