Comment 4 for bug 1443178

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

I wrote a patch which makes accountsservice set the Language and FormatsLocale properties automatically as soon as possible and updates ~/.pam_environment accordingly. I built a test version of accountsservice in my PPA at

https://launchpad.net/~gunnarhj/+archive/ubuntu/accountsservice-test

@Ricardo:
Can you possibly test this version on the phone, and confirm that the fix addresses the issue?

@Sebastien:
This means that the behaviour (behind the scenes) changes for everyone. Language and regional formats are set for every user, based on /etc/default/locale, before the users have touched a GUI for the purpose. I made some code rearrangement to achieve it, and the most 'hackish' part is that it happens in the user_get_property() function.

I'd appreciate your eyes on it before uploading. Especially:
1. Do you see any drawback with enforcing user settings of language and
   regional formats?
2. Is this an acceptable way to do it?