Bug 19718

Summary: Xkb Configuration in xorg.conf for us+il(lyx)+compose key misbehaves
Product: xorg Reporter: Shlomi Fish <shlomif>
Component: Server/Input/XKBAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.4 (2008.09)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Shlomi Fish 2009-01-24 08:19:39 UTC
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.
Comment 1 Shlomi Fish 2009-05-21 04:56:38 UTC
Still present on xorg-x11-7.3-5mdv2009.1 on latest Mandriva Cooker. Can anyone look into it?

Regards,

-- Shlomi Fish
Comment 2 GitLab Migration User 2018-12-13 18:39:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/318.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.