Xkb Configuration in xorg.conf for us+il(lyx)+compose key misbehaves
Submitted by Shlomi Fish
Assigned to Xorg Project Team
Description
I'm on Mandriva Linux Cooker and I have the following in my /etc/X11/xorg.conf :
{{{{{{{{{{{{{{{{{{
Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us,il" Option "XkbCompat" "" Option "XkbVariant" ",lyx" Option "XkbOptions" "compose:rwin,grp:switch,grp:alt_shift_toggle,grp_led:scroll" EndSection
. . .
Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection
}}}}}}}}}}}}}}}}}}
After starting the X server I have the following setxkbmap -print:
{{{{{{{{{{{ xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete+ledscroll(group_lock)" }; xkb_symbols { include "pc+us+il:2+inet(evdev)+group(alt_shift_toggle)+compose(rwin)" }; xkb_geometry { include "pc(pc104)" }; }; }}}}}}}}}}}
And then what happens is that the keyboard misbehaves when switching from Hebrew to English and back - sometimes the LED is on when it's English and vice versa.
When I run the following script:
{{{{ #!/bin/sh
setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll -variant ",phonetic," 'us,ru,il'
setxkbmap
-option "compose:rwin,grp:switch,grp:alt_shift_toggle,grp_led:scroll"
-variant ",lyx"
'us,il'
}}}}
I'm getting the following setxkbmap -print:
{{{{ xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete+ledscroll(group_lock)" }; xkb_symbols { include "pc+us+il(lyx):2+inet(evdev)+group(switch)+group(alt_shift_toggle)+compose(rwin)" }; xkb_geometry { include "pc(pc104)" }; }; }}}}
Which behaves perfectly OK.
The xorg.conf worked up to a few weeks ago, so I don't understand why it isn't working properly now.
Version: 7.4 (2008.09)