[Bug 960096] Re: Live session started with wrong layout

Stéphane Graber stgraber at stgraber.org
Tue Mar 20 16:47:56 UTC 2012


>From IRC:

16:40 <stgraber> I've been spending a few days on an annoying keyboard layout bug with the live images
16:41 <stgraber> that I think I tracked down to something related to lightdm and unity-greeter
16:41 <stgraber> basically, if I start lightdm in autologin mode, I get a US english layout
16:41 <mterry> whoops
16:41 <stgraber> if I start it in normal mode and login manually, then I get the right keyboard layout
16:42 <mterry> Ah... hm
16:42 <stgraber> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/960096
16:43 <stgraber> ubiquity in greeter mode sets org.gnome.libgnomekbd.keyboard layouts with the list and uses xklavier to switch to the first layout and then also calls setxkmap 
                 to avoid some race conditions.
16:43 <stgraber> so everything is set properly for the user session
16:43 <stgraber>  /var/lib/AccountsService/users/ubuntu also contains the right keyboard layouts
16:44 <mterry> so the greeter is just being a jerk and resetting it.
16:45 <mterry> i'll look at it today
16:45 <stgraber> well, the weird part is that I'd have expected the greeter reseting it when I actually see the greeter :)
16:45 <stgraber> but in this case, it only gets reset when doing autologin
16:45 <stgraber> logging in through the greeter is the case that actually works ;)


So I confirmed that if from a shell I completely stop lightdm, then start it again using autologin, I get a US keyboard.
If I do the same but without the autologin config entries, I get the expected Italian keyboard.

That also explains why doing a logout from the live session and logging
back into the session works as doing so goes through the non-autologin
path.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/960096

Title:
  Live session started with wrong layout

Status in “ubiquity” package in Ubuntu:
  In Progress

Bug description:
  Hello

  TESTCASE

  - Boot a usb with persistence live session
  - Select italian nad set the network manager, everythings is OK.
  - Select -Prova Ubuntu- let it load
  - The session will be started with the english layout.

  **WORKAROUND**
  -System Settings -> keyboard layout -> click reset to defaults

  see attached screenshot, the language is italian (installa ubuntu) but
  the layout is wrong

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: casper 1.312
  ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
  Uname: Linux 3.2.0-19-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  CasperVersion: 1.312
  Date: Tue Mar 20 11:00:47 2012
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120320)
  ProcEnviron:
   TERM=xterm
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  SourcePackage: casper
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/960096/+subscriptions




More information about the foundations-bugs mailing list