FS#32327 - [xorg] XkbLayout option ignored

Attached to Project: Arch Linux
Opened by Fabio Zanini (iosonofabio) - Wednesday, 31 October 2012, 15:51 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 00:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Multilanguage keyboard settings sit in /etc/X11/xorg.conf.d. Files in there are parsed by the X server when starting up. XkbLayout, however, seems to be ignored on my system, and I always get 'us english' keyboard layout.

Setting the layout afterwards via 'setxkbmap -layout' works though.

Additional info:
* package version(s):

xf86-input-evdev 2.7.3-2
xf86-input-keyboard 1.6.2-2
xf86-input-mouse 1.8.1-2
xorg-server 1.13.0-3
xorg-server-common 1.13.0-3
xorg-xinit 1.3.2-3

* config and/or log files etc.

/etc/X11/xorg.conf.d/10-evdev.conf (snippet):

...
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"

# Keyboard layouts
Option "XkbLayout" "it, de, us"
Option "XkbOptions" "grp:menu_toggle, terminate:ctrl_alt_bksp"
EndSection
...


Steps to reproduce:
Set the options in /etc/X11/xorg.conf.d/10-evdev.conf as above. XkbOptions will be set accordingly, but XkbLayout will be ignored.

Possibly related bug reports:
 FS#29858 
 FS#32113 
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 00:54 GMT
Reason for closing:  Upstream
Additional comments about closing:  This is a bug in IBUS, not in any Xorg package. Note that the bug is still around.
Comment by Fabio Zanini (iosonofabio) - Sunday, 11 November 2012, 21:07 GMT
This is actually related to an input engine (for Chinese characters and the likes), IBUS, which is currently broken. I had in my .xinitrc the recommended lines,

export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

and I was starting IBUS at X startup. If I do not start IBUS, the keyboard works as expected.

Conclusion: IBUS and xkb do not like each other, and tend to override each other's settings. Since IBUS is currently broken (it seems), xkb suffers as well.

Loading...