This does not ever seem to change, even when the bug occurs and US keyboard layout is used.
Basically, the bug seems to persist from installation until the default user logs in explicitly (not using gdm auto-login) or sets the keyboard layout explicitly.
If I destroy and manually recreate the default user by copying /etc/default/skel and deleting /var/cache/gdm/<user>, the problem does not seem to recur. Maybe it is the way the default user account is configured during installation which is causing the problem.
$ grep ^X /etc/default/ console- setup
XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""
This does not ever seem to change, even when the bug occurs and US keyboard layout is used.
Basically, the bug seems to persist from installation until the default user logs in explicitly (not using gdm auto-login) or sets the keyboard layout explicitly.
If I destroy and manually recreate the default user by copying /etc/default/skel and deleting /var/cache/ gdm/<user> , the problem does not seem to recur. Maybe it is the way the default user account is configured during installation which is causing the problem.