[Bug 1031925] New: Display manager's keyboard layout is always US, regardlessly of system locale settings
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925 Bug ID: 1031925 Summary: Display manager's keyboard layout is always US, regardlessly of system locale settings Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: nemeth.tamas.net@nyme.hu QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- The problem might be in /usr/lib/X11/display-manager or in some other script called by it, or in one of their configuration files, since the keyboard layout is always US, regardless of the display manager (either kdm or ssdm) used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c1
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c2
--- Comment #2 from Tamás Németh
Possibly a duplicate of boo#1023774.
Please give running
localectl set-x11-keymap <KEYMAP>
and restarting displaymanager afterwards a try. Always test with a freshly created user. The desktop may save the initial keyboard layout. Also check keyboard layout loaded in X logfile.
Hi Stefan, I'm glad to meet you here again after soo many years. I was reporting tons of bugs long ago, but ceased to do so a while ago. I will provide you with the requested info monday, because my only TumbleWeed machine is in my workplace. Have a nice weekend! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c3
Tamás Németh
Possibly a duplicate of boo#1023774.
Please give running
localectl set-x11-keymap <KEYMAP>
and restarting displaymanager afterwards a try. Always test with a freshly created user. The desktop may save the initial keyboard layout. Also check keyboard layout loaded in X logfile.
OK, I issued that command, but I made some mistakes: First I issued it as root. I'll attach the strace outputs of that run. Later I ran it as my usual user, and even later as a totally newly created user, but not from X, but from a character based vty. After all these attempts, my displaymanages stillo starts with US keyboard layout, however, I noticed something: When I press ctrl+alt, it changes to Hungarian layout, and I can't swith back to US anymore. To give you even more information, I'll also attach /var/log/Xorg.0.log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c4
--- Comment #4 from Tamás Németh
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c5
--- Comment #5 from Tamás Németh
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c6
Stefan Dirsch
Created attachment 719604 [details] /var/log/Xorg.0.log
[ 57.124] (**) Option "xkb_layout" "hu" Seems you somewhat managed to switch default Xserver config configuration to "hungarian". BTW, after issuing localectl command new keybaord layout should occur in /etc/X11/xorg.conf.d/00-keyboard.conf. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c7
Tamás Németh
I need to clarify that you need to run localectl as root, but test keyboard configuration in Xsession as freshly created user. Sorry for the confusion. Please give it a another try. Thanks.
(In reply to Tamás Németh from comment #5)
Created attachment 719604 [details] /var/log/Xorg.0.log
[ 57.124] (**) Option "xkb_layout" "hu"
Seems you somewhat managed to switch default Xserver config configuration to "hungarian".
BTW, after issuing localectl command new keybaord layout should occur in /etc/X11/xorg.conf.d/00-keyboard.conf.
OK, I logged in to KDE5 with a freshly created user and the keyboard layout was instantly Hungarian, even when I failed to press ctrl+alt in sddm to change the login screen's layout to Hungarian. My /etc/X11/xorg.conf.d/00-keyboard.conf file looks like this: # Read and parsed by systemd-localed. It's probably wise not to edit this file # manually too freely. Section "InputClass" Identifier "system-keyboard" MatchIsKeyboard "on" Option "XkbLayout" "hu" EndSection And the file seems to be created (or changed) today, so probably localectl made it. The sad thing is that sddm's keyboad layout is still US until I press ctrl+alt :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c8
--- Comment #8 from Tamás Németh
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c9
Stefan Dirsch
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925
http://bugzilla.opensuse.org/show_bug.cgi?id=1031925#c10
--- Comment #10 from Stefan Dirsch
BTW, am I right when I think that /etc/X11/xorg.conf.d/00-keyboard.conf was created by localectl?
It is. At least it's triggered by it. It may be written by a systemd daemon in the end or alike. This may explain the behaviour. ;-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com