GNOME Bugzilla – Bug 741500
Cannot change keyboard layout for login manager
Last modified: 2021-06-09 16:13:11 UTC
I do not have settings option to change the keyboard value for GDM. I'm running Arch Linux x64 and the problem occurred with the switch from Gnome 3.12 to 3.14. A web search showed that there ought to be a dialogue to change keyboard layout which I do not have. KR Frank
Maybe you are missing the 'Login Screen' button on the header ? We only show that on multi-user systems, for quite a while now. On single-user systems, we just apply the region settings to the login screen, automatically.
Another possibility is that your system does not use logind - we use its api to apply these settings. If you don't have logind, we hide the button too.
Yes single-user system. The problem was with systemd-localed setting X11 keyboard to en which I wasn't able to override with the region setting at the login screen. Solved it with localectl meanwhile. You can close the bug report. Thanks Frank
(In reply to comment #3) > Yes single-user system. The problem was with systemd-localed setting X11 > keyboard to en which I wasn't able to override with the region setting > at the login screen. Solved it with localectl meanwhile. localed should change the X11 keyboard layout at the request of gnome-control-center. This happens in the Region panel, and in your case - single user account system - it should happen automatically such that the layouts you have selected for your own account should be the same ones that are configured system-wide. Isn't this happening for you?
As soon as Gnome is up and running the settings are ok. But in GDM I did have an English keyboard layout instead of the German layout.
And you didn't answer my question: if you *now* go to the Region panel and try to change your keyboard layouts, is that change reflected correctly in the login screen after you log out?
Because you didn't ask for it. Ok, I now changed keyboard to en_US in Regional Settings and it does not have an influence on the keyboard layout in GDM.
Do you see a Login button in the region panel's header ?
No I don't and according to Matthias I'm not supposed to on a single user system.
Can you run journalctl --follow and then open gnome-control-center and change your input sources list and paste the output you get in the journal here? Thanks
Jan 10 06:51:51 voyager dbus[801]: [system] Successfully activated service 'org.freedesktop.locale1' Jan 10 06:52:05 voyager systemd-localed[29246]: Changed X11 keyboard layout to 'us' model '' variant '' options '' Jan 10 06:52:05 voyager systemd-localed[29246]: Changed virtual console keymap to 'us' toggle ''
(In reply to comment #11) > Jan 10 06:52:05 voyager systemd-localed[29246]: Changed X11 keyboard layout to > 'us' model '' variant '' options '' Does this correspond the layouts you chose in the UI? i.e. did you just chose 'us' or did you have other layouts (in which case you should have seen 'us,de' or whatever other layout) ?
yes I changed to us
So... there is no bug?
There is one. I had only de keyboard layout. After upgrade from 3.12 to 3.14 keyboard layout in GDM was changed to US although I did see de layout in tee top right corner in GDM. After login to Gnome Session the keyboard layout was correct as DE. Within Gnome there was no way change the keyboard layout for GDM,the only way to change this is described in my comment #3. In mypoint of view not the Gnome way since not very user friendly.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new bug report at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.