[systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

Bill Nottingham notting at redhat.com
Thu Jan 3 14:11:56 PST 2013


Lennart Poettering (lennart at poettering.net) said: 
> Hmm, I like this approach. Ther actually has been a TODO list item about
> this for a while. However, a few questions:
> 
> a) This really sounds like something to discuss on xdg-devel. This
>    probably deserves adoption by the desktop environments, much like
>    .config/user-dirs.dirs. i.e. GNOME should really write that file when
>    the user reconfigures the locale settings.
> 
> b) Maybe this is something to add to the PAM package upstream? That
>    said, it would be kinda symmetric to /etc/locale.conf which we handle
>    in systemd, so maybe not?
> 
> c) If we maintain it in systemd, maybe still split this off into its own
>    pam module?
> 
> I am tempted to just merge the patch. The discussion on xdg-devel can
> happen after we commited the code. In fact, moving that to PAM upstream
> can happen at a later point too, if it is desirable...
> 
> Also, given that this code is a NOP if ~/.config/locale.conf doesn't
> exist I think this is relatively straightforward to adopt...
> 
> Anybody else has opinions on this? Kay, Michal? Otherwise I'll just
> merge it... Tom.  can you bring standardization of ~/.config/locale.conf
> up on xdg-devel?

FWIW, GNOME stores this in the accounts service, outside of the user's
configuration heirarchy entirely, for access from the display manager and
other mechanisms.

Bill



More information about the systemd-devel mailing list