Subject: SetLanguage call from LightDM Date: Mon, 02 Jan 2012 23:15:59 +0100 From: Gunnar Hjalmarsson To: Robert Ancell Hi Robert, Hope the holidays have been pleasant for you. Given that you may make some changes due to https://launchpad.net/bugs/904395 I thought I'd take the opportunity to address another aspect on the SetLanguage call. The language chooser is now working well in Ubuntu. However, if $HOME is encrypted or in a separate partition, the call for SetLanguage happens before $HOME is available. In a pending accountsservice MP I propose that an attempt to change the language in those situations does not change anything, neither in the keyfile nor ~/.pam_environment (so they are kept in sync). Instead a dialog is displayed once logged in where the user is prompted to set the language from "System Settings". What I wonder is if the SetLanguage call somehow can be postponed til $HOME is available. That way the language chooser would work even with an encrypted $HOME etc., and without a need to mess with a cache file or something again... Would be great if that could be done. Best regards, / Gunnar