lightdm doesn't respect keyboard selection

Bug #934100 reported by Jean-Baptiste Lallement on 2012-02-17
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
unity-greeter (Ubuntu)
Undecided
Unassigned

Bug Description

In lightdm's keyboard indicator I have 2 layouts setup 'en' and 'fr' in that order.
If I select French, the layout used is still English. It means that I must enter my password following english layout despite french is selected.

-----
$ cat /etc/default/keyboard
# If you change any of the following variables and X is configured to
# use this file, then the changes will become visible to X only if udev
# is restarted. You may need to reboot the system.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
-----

There is no xorg.conf on this system.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lightdm 1.1.3-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-16.25-generic 3.2.6
Uname: Linux 3.2.0-16-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Fri Feb 17 11:37:36 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: No upgrade log present (probably fresh install)

Jean-Baptiste Lallement (jibel) wrote :
Sebastien Bacher (seb128) wrote :

Thanks jibel, I've a pretty much similar setup, my test user has "en, fr, de" in that order, I can't confirm your bug though, the keyboard is correctly updated when using the indicator for me

affects: lightdm (Ubuntu) → unity-greeter (Ubuntu)
Michael Terry (mterry) wrote :

Yes, please try on a recent unity-greeter. It's likely to be better, as the keyboard handling has changed.

Changed in unity-greeter (Ubuntu):
status: New → Incomplete
Jean-Baptiste Lallement (jibel) wrote :

It is still a problem with latest updates applied.

I attached greeter log to this report. At the end of the log you can see the keyboard selection change
[+23.50s] DEBUG: Setting keyboard layout to 'fr oss'

I entered the password following a french layout and it failed:
[+35.77s] DEBUG: Authentication complete for user j-lallement with return code 7

Then entered the password following a US keyboard layout (indicator was still set to 'fr') and it passed
[+39.97s] DEBUG: Authentication complete for user j-lallement with return code 0

Changed in unity-greeter (Ubuntu):
status: Incomplete → Confirmed
Rex Tsai (chihchun) wrote :

Please report the version of unity-greeter and lightdm you are using.

Since[1] lightdm (1.1.2-0ubuntu3), accountsservice (0.6.15-2ubuntu5), gnome-settings-daemon (3.2.2-0ubuntu16), unity-greeter (0.2.1-0ubuntu1). It loads user's keyboard system layout, not from the system wide settings.

[1] https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/915468

In my installation I have lightdm (1.2.1-0ubuntu1), accountsservice (0.6.15-2ubuntu9), gnome-settings-daemon (3.4.1-0ubuntu1), unity-greeter (0.2.8-0ubuntu1), but the bug isn't fixed yet

Jean-Baptiste Lallement (jibel) wrote :

In my case that's probably another instance of bug 985065

Matt Fischer (mfisch) wrote :

Jean-Baptiste:

It looks like the bug you referenced was recently fixed, but not released. Can you try this again when the new version of xkb-data is out? xkeyboard-config (2.5-1ubuntu5) is the version you need. I think it will be in 12.04.1 in late August.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers