[Bug 803222] New: unable to change X11 keyboard layout.
https://bugzilla.novell.com/show_bug.cgi?id=803222 https://bugzilla.novell.com/show_bug.cgi?id=803222#c0 Summary: unable to change X11 keyboard layout. Classification: openSUSE Product: openSUSE Factory Version: 12.3 Beta 1 Platform: x86 OS/Version: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: rsatool@sina.com.cn QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0 When I use opensuse 12.2, I changed layout in /etc/sysconfig/keyboard to dvorak, and with autodetect in xorg.conf, the keydoard layout both in console and X11 are changed to dvorak. But now, there's nothing happen both in conlole and when in XLogin and XTerm after login. Afterworth, I modified /etc/X11/xorg.conf to: Section "InputDevice" Identifier "Keyboard" Driver "evdev" Option "Device" "/dev/input/event0" Option "XkbLayout" "dvorak" EndSection Section "ServerLayout" ... InputDevice "Keyboard" "CoreKeyboard" ... EndSection The layout motifitation only works on XLogin. After login, it still is 'us'. I looked at /var/log/Xorg.0.log, event0 has effectively been changed. and I checked /dev/input/event0, it realy points to my keyboard. Then I looked xdm and xinit scripts, even though I find something absolete, but it will not modify the keyboard layout: #in /etc/X11/xdm/Xsetup # # Set keymap for various displays # if test -x $xmodmap -o -x $xkbmap ; then if test -z "${DISPLAY%:*}" ; then # local connection if test -s $sysxkbmap -a -x $xkbmap ; then BUG cat $sysxkbmap | $xkbmap elif test -r $sysmodmap ; then $xmodmap $sysmodmap fi else # TCP/IP connection (remote or local) if test -s $defxkbmap -a -x $xkbmap ; then BUG cat $defxkbmap | $xkbmap elif test -r $defmodmap ; then $xmodmap $defmodmap fi if test -s $hostxkbmap -a -x $xkbmap ; then BUG cat $hostxkbmap | $xkbmap elif test -r $hostmodmap ; then $xmodmap $hostmodmap fi fi fi in /etc/X11/xinit/xinitrc.common, there's the same problem. It seams thay in Fedora, these lines have bee changed to "$xkbmap `cat $hostxkbmap`", I just searched online, Never installed a Fedora. And I looked at openSuSE-12.2, these scripts are the same, but never affect the keyboard layout. done. Reproducible: Always Steps to Reproduce: Please refer to the details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c1
--- Comment #1 from YZ Xie
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c2
--- Comment #2 from YZ Xie
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c3
--- Comment #3 from YZ Xie
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c4
--- Comment #4 from YZ Xie
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c5
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=803222
https://bugzilla.novell.com/show_bug.cgi?id=803222#c6
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com