>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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/960096

Title:
  Live session started with wrong layout

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to