Initial Setup doesn't fully set keyboard layout
@jbicha
Submitted by Jeremy Bicha Link to original bug (#770310)
Description
What happens with the "standalone" Initial Setup mode
- Use the Fedora 24 installer (the most recent stable release). Set a root password but do not create a user.
- On first boot after install, GDM detects that there is no regular user configured and starts a special Initial Setup mode (I'll call it standalone mode). This mode allows you to setup the first user, including setting the language and keyboard layout. At the end of the Initial Setup, GDM logs the user into the new account with the new language and keyboard layout settings.
What happens in every other case
1a. Use the Fedora 24 installer. Set the root password and create a regular user. (I think this is the most obvious way through the install.) Or… 1b. Use the Fedora 24 installer. Create a user but do not set a root password (Ubuntu-style). Or… 1c. Use Ubuntu GNOME 16.10 Beta 1 to be released on Thursday (with gnome-initial-setup by default). Ubuntu's installer requires creating a regular user and does not give an option to set a root password.
etc.
- On first boot after install, GDM detects that there is a regular user configured and just presents the normal login screen. On first login, the Initial Setup window loads as a regular (more or less) app in a regular GNOME Shell session (I'll call this "app mode"). The user is asked to select a language and keyboard layout. The keyboard layout is added to the existing layout but is not enabled for that session unless the user clicks the keyboard menu in the top right corner to switch to it. The keyboard layout and language are applied automatically…on the next login.
(This behavior is also what happens for any new user after the first user, no matter how the new user is created or pre-configured.)
Suggested fixes
- Use Initial Setup's standalone mode instead of app mode in all cases where Initial Setup should be run. (I didn't look too in-depth at it, but this might be a reversal of what was done in bug 685580.)
Or…
- Have the app mode detect when the selected language or keyboard layout is different than the current configuration and either a. automatically log the user out and back in when the final page is clicked. Perhaps the "Start using" button should be relabeled in this case to "Log out and start using". b. Or, ask the user to log out. (The issue is that a user could have other apps running since the full GNOME experience is available including access to the Activities Overview.)
I strongly prefer #1. It would completely take over first login until the user clicks through the buttons but I don't see how that would actually be a problem.
Version: 3.21.x