GNOME Bugzilla – Bug 671880
English (US) keyboard layout select at login when not the 1st layout
Last modified: 2012-04-25 10:24:29 UTC
When I login, the "English (US)" keyboard layout is selected, even though it is not the first layout. Steps to reproduce: Go to System settings -> Region and Language -> Layouts Set the keyboard layout list to: * English (Colemak) * English (US) Logout and login look at which layout is selected in the gnome-shell keyboard layout "applet". Actual result: English (US) is selected Expected result: English (Colemak) My gnome-settings-daemon version is 3.3.92-0.1 from the Arch linux gnome-unstable repo. (I think this is the relevant gnome product)
What's the output of: gsettings get org.gnome.libgnomekbd.keyboard layouts Before and after restarting the session? What's the output of: xprop -root | grep XKB before and after restarting the session?
gsettings get org.gnome.libgnomekbd.keyboard layouts before: ['us\tcolemak', 'us'] after: ['us\tcolemak', 'us'] xprop -root | grep XKB before: _XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "evdev", "us", "", "" _XKB_RULES_NAMES(STRING) = "evdev", "evdev", "us,us", "colemak,", "grp:shift_caps_toggle" after: _XKB_RULES_NAMES_BACKUP(STRING) = "evdev", "evdev", "us", "", "" _XKB_RULES_NAMES(STRING) = "evdev", "evdev", "us,us", "colemak,", "grp:shift_caps_toggle"
Looks like a bug in the display in gnome-shell.
Sorry I was not clear on this earlier. It not an issue with the display of the selected layout in gnome-shell. It's an issue with the selected keyboard. I test by typing the first 6 keys on the top row from the left. When I first login, I get "qwerty". The expected result is to get "qwfpgj" as would be the case if colemak was selected. Workaround is to remove the English (us) layout. Then it defaults to colemak. It will just be a problem when someone else needs to type something on my machine.
If I run gnome-session manually, e.g.: xinit "exec ck-launch-session gnome-session" I see the following output on the console: [1332439671,000,gkbd-status.c:gkbd_status_set_current_page_for_group/] Page for group 1 is not ready [1332439671,000,gkbd-status.c:gkbd_status_set_current_page_for_group/] Page for group 1 is not ready [1332439671,000,gkbd-status.c:gkbd_status_set_current_page_for_group/] Page for group 1 is not ready When I switch the layout to colemak, I see: [1332439684,000,gkbd-status.c:gkbd_status_set_current_page_for_group/] Page for group 0 is not ready [1332439684,000,gkbd-status.c:gkbd_status_set_current_page_for_group/] Page for group 0 is not ready Thanks. Not sure if this is helpful.
Same as https://bugs.freedesktop.org/show_bug.cgi?id=47671
*** Bug 674709 has been marked as a duplicate of this bug. ***