SetLanguage(): Write ~/.pam_environment instead of ~/.profile
Bug #866062 reported by
Martin Pitt
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
Precise |
Fix Released
|
Medium
|
Gunnar Hjalmarsson | ||
language-selector (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Just discussed in #u-devel: We currently write the user's locale into ~/.profile, which is icky as it's a shell script. For 12.04 onward we ought to use ~/.pam_environment and have it set by PAM.
Changed in accountsservice (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in accountsservice (Ubuntu Precise): | |
assignee: | Martin Pitt (pitti) → Gunnar Hjalmarsson (gunnarhj) |
status: | Triaged → In Progress |
Changed in accountsservice (Ubuntu Precise): | |
status: | In Progress → Fix Committed |
Changed in language-selector (Ubuntu Precise): | |
status: | New → Fix Committed |
To post a comment you must log in.
This does sound interesting. As you know, I'd like to drop ~/.profile for the purpose, but so far I have had a few new accountsservice properties in mind instead. One advantage with using a-s is that the locales can be set correctly even if $HOME can't be accessed. Isn't that one of the reasons why accountsservice exists, btw?
Anyway, something new to consider.