Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537428

Summary: gnome-base/gnome-control-center doesn't remember selected keymap by a user across session logout/login
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.gnome.org/show_bug.cgi?id=743400
Whiteboard:
Package list:
Runtime testing required: ---

Description Juergen Rose 2015-01-23 11:49:02 UTC
I have a keyboard switcher where I can change between german, english (USA) and russian (USA phonetisch) keyboard layout. If I login (with lighdm, gdm is not working of any of my machines) the german layout is selected. I have german locale settings, but I would like to have a english-US keyboard layout. If I remember me correctlty, there were in earlier version of gnome the possibility to set a default keyboard layout in the panel keyboard switcher.

And there was the possibility to switch between the layouts with something like <SHIFT><ALT>. It seems me that this possibility also disappeard with gnome-3.14.
Comment 1 Pacho Ramos gentoo-dev 2015-01-23 12:25:16 UTC
I cannot reproduce:
- If I go to Control Center -> Keyboard -> Sources and I add an English (US) keyboard, an applet allows me to switch between it and spanish one
Comment 2 Juergen Rose 2015-01-23 12:52:29 UTC
(In reply to Pacho Ramos from comment #1)
> I cannot reproduce:
> - If I go to Control Center -> Keyboard -> Sources and I add an English (US)
> keyboard, an applet allows me to switch between it and spanish one

To switch between keyboards is not my problem. I can do this. My problem is that after the login the german keyboard is preselected. The german keyboard is the first keyboard in the list of keyboards in the keyboard panel app. Normally after the login I start a root terminal and have to enter the root password. In the root password is a letter with different position of german and US keyboards. I want to use the US keyboard layout. So I have to switch manually after every login the keyboard layout. This is a little bit anoying for me.
Comment 3 Pacho Ramos gentoo-dev 2015-01-23 13:29:16 UTC
I am unsure if this has been allowed in older versions (I never tried). Anyway, for now you should be able to select the desired default keyboard using localectl as I think gnome is taking the default from that setting.

Anyway I have opened a bug to upstream to try to know more about this:
https://bugzilla.gnome.org/show_bug.cgi?id=743400
Comment 4 Pacho Ramos gentoo-dev 2015-01-26 13:41:14 UTC
OK, upstream explains that the following workaround is needed until they allow reordering the keymaps:
https://bugzilla.gnome.org/show_bug.cgi?id=743400#c3
Comment 5 Pacho Ramos gentoo-dev 2015-03-19 11:27:52 UTC
This will need to wait for upstream (looks like they are implementing some changes for 3.16 cycle)