Comment 6 for bug 864618

Revision history for this message
Martin Pitt (pitti) wrote : Re: UTF-8 locale no longer set

The problem is that accountsservice's Language property says "en_GB", which is wrong.

For oneiric, could we please drop all the `locale -a` stuff and asking accountsservice for the locale? accountsservice already writes the selected language into ~/.profile, so simply using that ought to be enough, and has worked fine with gdm as well.

So for applications which DO use accountsservice (language-selector) the locale is already set by ~/.profile. For derivatives without a langugage selector which don't use accountsservice, there is no point asking it either.

Note that for P onwards accountsservice will change ~/.pam_environment instead (bug 866062), but that's merely cleanup and not directly related to this bug.