Comment 2 for bug 793366

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I have patched lightdm so it no longer assigns an invalid value to LANG. However, at this time ~/.profile is ignored, so LANG gets populated with the system value, which lightdm sets by sourcing /etc/default/locale (in /etc/init/lightdm.conf, I think). I take it for granted that lightdm will source ~/.profile somehow as is requested in bug #794315. (I miss a dash script like /etc/gdm/Xsession - is "PreSession" going to serve that purpose?)

lightdm now also sets the language environment variables correctly from dmrc. language-selector has been modified so it updates lightdm's dmrc cache file and ~/.dmrc when lightdm is in use.