Bug 25347 - keyboard layout switching not working properly
Summary: keyboard layout switching not working properly
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/XKB (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-29 13:52 UTC by celejar
Modified: 2018-12-13 18:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
output of 'xkbcomp -xkb $DISPLAY keymap.xkb' (49.39 KB, application/octet-stream)
2009-11-29 13:52 UTC, celejar
no flags Details
X server log (80.89 KB, application/octet-stream)
2009-11-29 13:53 UTC, celejar
no flags Details

Description celejar 2009-11-29 13:52:02 UTC
Created attachment 31559 [details]
output of 'xkbcomp -xkb $DISPLAY keymap.xkb'

[Originally reported here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533863

Reporting here as per maintainer request.]

I use two keymaps: us and il, I use the dvorak variant of us, and I
switch between us and il using some key combination, generally alt
+shift.  I used to configure this in Xorg.conf thus:

        Option          "XkbLayout"     "us,il"
	Option          "XkbVariant"    "dvorak,"
        Option          "XkbOptions"    "grp:alt_shift_toggle,ctrl:swapcaps"

Recently, with the Xorg switch to evdev and hal for input device
configuration, this stopped working, and I eventually discovered that
the keyboard is no longer configured in Xorg.conf.

I therefore configured the keyboard in /etc/default/console-setup thus:

XKBMODEL="acer_laptop"
XKBLAYOUT="us,il"
XKBVARIANT="dvorak,"
XKBOPTIONS="lv3:ralt_switch"
XKBOPTIONS="grp:alt_shift_toggle,ctrl:swapcaps"

[A combination of the Debian defaults and my Xorg options.]  This works
fine in the console, but for some reason behaves strangely in X.  I
have to hit alt+shift *twice* to switch to il, and once to switch
back.  I tried changing the toggle to lwin, with the same results.
[I notice using xev that when alt+shift is configured, ISO_Prev_Group
keysyms are generated, while when lwin is configured, ISO_Next_Group
keysyms are generated.  I have no idea why, or if this is significant.]

[I have been warned that the dual XKBOPTIONS means that the first one will be ignored; I'm going to correct that.]
Comment 1 celejar 2009-11-29 13:53:02 UTC
Created attachment 31560 [details]
X server log
Comment 2 GitLab Migration User 2018-12-13 18:38:13 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/291.


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.