Default XKBLAYOUT is not used, so new users only have "en" layout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
lightdm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I installed Ubuntu 12.04 in Greek.
The following were correctly put in my /etc/default/
XKBMODEL="pc105"
XKBLAYOUT="us,gr"
XKBVARIANT=","
XKBOPTIONS=
The user that did the installation correctly has the option to switch between "English (us)/Greek (gr)" in lightdm, and gets the keyboard switching applet in the panel indicator.
His /var/lib/
XKeyboardLayout
I create a new user, either with the UI, or with adduser.
Before she logs in, while still in lightdm, she doesn't have the option to switch between "English (us)/Greek (gr)".
After she logs in, she doesn't get the keyboard layout applet.
Her /var/lib/
XKeyboardLayouts=
So I guess the problem is that either accounts-service should return the system-wide XKBLAYOUT for new users,
or lightdm should read the system-wide defaults when accounts-service returns "unset".
Here are the results of `setxkbmap -print` for the user that did the installation, where everything is fine:
xkb_keymap {
xkb_keycodes { include "evdev+
xkb_types { include "complete" };
xkb_compat { include "complete+
xkb_symbols { include "pc+us+
xkb_geometry { include "pc(pc105)" };
};
And here they are for the new user, which doesn't have the ability to switch the keyboard layout:
xkb_keymap {
xkb_keycodes { include "evdev+
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+inet(evdev)" };
xkb_geometry { include "pc(pc105)" };
};
Could be similar to bug #985065...