[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to set ISO date/time with en_US.utf8 as system default?

On Fri, May 26, 2017 at 11:54:14AM -0400, gwmfms6@openmailbox.org wrote:
> Thank you.

You forgot to include the mailing list.

> I have already done #1 and #2.

Did it work?

> #3 is what I need

Did it work?

> but I want them permanent. I am fine with it being 
> system-wide for every login (ie, /etc/default/locale but as I said 
> putting them doesn't work). I will also go to the trouble of configuring 
> for each user if this is the only way to make these variables 
> "permanent." How do I make these settings permanent?

If you actually did put them in /etc/default/locale then I am confused
about what you're asking, or what's actually wrong.  PAM logins in jessie
(sshd, console login) are configured by default to read environment
variables from /etc/default/locale via the /etc/pam.d/* files that contain
"pam_env.so readenv=1 envfile=/etc/default/locale" or similar.

If you log out and back in, and run "locale" with no arguments, what does
it say?

Is it possible that your desktop environment is overwriting whatever
PAM sets in the environment?  Try testing via a console or ssh login,
and see if it's different there.  (E.g. "ssh localhost" and then run
"locale".)  If you get a different result from this, that would be
*highly* significant.

What desktop environment or window manager are you actually using?
How are you logging in?  (Console + startx, or lightdm, or gdm3, or
some other display manager....)

Reply to: