After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 671880 - English (US) keyboard layout select at login when not the 1st layout
English (US) keyboard layout select at login when not the 1st layout
Status: RESOLVED NOTGNOME
Product: libgnomekbd
Classification: Core
Component: Config
3.3.x
Other Linux
: Normal normal
: ---
Assigned To: libgnomekbd maintainers
Sergey V. Udaltsov
: 674709 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-03-12 09:59 UTC by Gary van der Merwe
Modified: 2012-04-25 10:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gary van der Merwe 2012-03-12 09:59:12 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)
Comment 1 Bastien Nocera 2012-03-12 11:46:08 UTC
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?
Comment 2 Gary van der Merwe 2012-03-12 13:13:34 UTC
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"
Comment 3 Bastien Nocera 2012-03-12 16:28:39 UTC
Looks like a bug in the display in gnome-shell.
Comment 4 Gary van der Merwe 2012-03-12 19:01:11 UTC
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.
Comment 5 Gary van der Merwe 2012-03-22 18:10:27 UTC
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.
Comment 6 Sergey V. Udaltsov 2012-03-25 08:50:02 UTC
Same as https://bugs.freedesktop.org/show_bug.cgi?id=47671
Comment 7 Bastien Nocera 2012-04-25 10:24:29 UTC
*** Bug 674709 has been marked as a duplicate of this bug. ***