GNOME Bugzilla – Bug 654182
Set regional settings on log in
Last modified: 2011-07-08 11:27:05 UTC
Created attachment 191486 [details] Patch to set LC_ vars at gnome-session startup With the new 'Formats' tab in the Region & Language panel in gnome-control-center, users are able to select the regional settings they want to use. Right now, the panel just sets a GSettings key, which needs to be read by someone on log in, to set the corresponding LC_* environment variables so that applications started in the session take those settings into account when displaying times, dates, numbers and other settings. Since users running a GNOME session might be not always using GDM, gnome-session seems to be the best fit, so attached patch implements this.
Created attachment 191487 [details] [review] Real patch
I'd prefer to have gnome-settings-daemon use the Setenv method on the org.gnome.SessionManager interface to set this early, instead of having to put the logic in gnome-session.
Right, seems a much better solution, so just pushed this to g-s-d master