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

2013-01-08 Thread Ludwig Nussel
Tollef Fog Heen wrote: ]] Lennart Poettering 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

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

2013-01-05 Thread Tom Gundersen
Hi Bastien, On Fri, Jan 4, 2013 at 5:36 PM, Bastien Nocera had...@hadess.net wrote: On Fri, 2013-01-04 at 11:23 -0500, Bill Nottingham wrote: Lennart Poettering (lenn...@poettering.net) said: Bill Nottingham (nott...@redhat.com) said: FWIW, GNOME stores this in the accounts service,

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

2013-01-05 Thread Mantas Mikulėnas
On Sun, Jan 6, 2013 at 1:08 AM, Tom Gundersen t...@jklm.no wrote: 3) How do you deal with user accounts being accessed from different machines? Assuming /home is shared and /var is not, I'm struggling to see how storing user-config in /var can work (though I could not find any documentation,

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

2013-01-04 Thread Bill Nottingham
Lennart Poettering (lenn...@poettering.net) said: Bill Nottingham (nott...@redhat.com) said: 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

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

2013-01-04 Thread Colin Walters
On Thu, 2013-01-03 at 23:56 +0100, Lennart Poettering wrote: It might indeed be a good idea to be able to determine the user locale without having to log-in/mount the home directory. Dunno. Right, as well as things like the user's picture, hence the reason accountsservice exists.

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

2013-01-04 Thread Bastien Nocera
On Fri, 2013-01-04 at 11:23 -0500, Bill Nottingham wrote: Lennart Poettering (lenn...@poettering.net) said: Bill Nottingham (nott...@redhat.com) said: 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

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

2013-01-03 Thread Lennart Poettering
On Wed, 02.01.13 12:46, Tom Gundersen (t...@jklm.no) wrote: Changes the pam module to now set the locale for user-sessions, similarly to what is done system-wide in PID1. The logic is: the kernel command-line takes precedence, then XDG_CONFIG_HOME/locale.conf, then /etc/locale.conf and

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

2013-01-03 Thread Tollef Fog Heen
]] Lennart Poettering 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

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

2013-01-03 Thread Bill Nottingham
Lennart Poettering (lenn...@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

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

2013-01-03 Thread Lennart Poettering
On Thu, 03.01.13 22:25, Tollef Fog Heen (tfh...@err.no) wrote: ]] Lennart Poettering 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

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

2013-01-03 Thread Lennart Poettering
On Thu, 03.01.13 17:11, Bill Nottingham (nott...@redhat.com) wrote: 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

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

2013-01-02 Thread Tom Gundersen
Changes the pam module to now set the locale for user-sessions, similarly to what is done system-wide in PID1. The logic is: the kernel command-line takes precedence, then XDG_CONFIG_HOME/locale.conf, then /etc/locale.conf and finally any legacy distro-specific files that might still be

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

2013-01-02 Thread Andrey Borzenkov
В Wed, 2 Jan 2013 12:46:31 +0100 Tom Gundersen t...@jklm.no пишет: Changes the pam module to now set the locale for user-sessions, similarly to what is done system-wide in PID1. The logic is: the kernel command-line takes precedence, Why? I would understand it if list did not include

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

2013-01-02 Thread Tom Gundersen
On Wed, Jan 2, 2013 at 12:55 PM, Andrey Borzenkov arvidj...@gmail.com wrote: В Wed, 2 Jan 2013 12:46:31 +0100 Tom Gundersen t...@jklm.no пишет: The logic is: the kernel command-line takes precedence, Why? I would understand it if list did not include user-specific locale.conf; but if it