Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #181419 > unrolled thread
| Started by | gwmfms6@openmailbox.org |
|---|---|
| First post | 2017-05-26 17:40 +0200 |
| Last post | 2017-05-27 20:50 +0200 |
| Articles | 8 on this page of 28 — 10 participants |
Back to article view | Back to linux.debian.user
How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-26 17:40 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-26 17:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-26 18:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-26 18:40 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-26 18:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-26 19:00 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-26 19:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Curt <curty@free.fr> - 2017-05-27 12:20 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-27 14:40 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Curt <curty@free.fr> - 2017-05-27 16:30 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-27 17:20 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Curt <curty@free.fr> - 2017-05-27 17:40 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? rhkramer@gmail.com - 2017-05-27 20:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Curt <curty@free.fr> - 2017-05-27 22:00 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Frank <zuiderduin@gmx.com> - 2017-05-27 17:00 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-27 17:30 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2017-05-27 17:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Nicolas George <george@nsup.org> - 2017-05-27 17:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-27 18:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? David Wright <deblis@lionunicorn.co.uk> - 2017-05-28 03:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-30 14:50 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-30 18:30 +0200
RE: How to set ISO date/time with en_US.utf8 as system default? "Emanuele Bernardi" <e.berna@posteo.net> - 2017-05-30 18:50 +0200
RE: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-31 16:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-26 19:00 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-05-26 19:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? gwmfms6@openmailbox.org - 2017-05-26 19:10 +0200
Re: How to set ISO date/time with en_US.utf8 as system default? James Cloos <cloos@jhcloos.com> - 2017-05-27 20:50 +0200
Page 2 of 2 — ← Prev page 1 [2]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2017-05-30 14:50 +0200 |
| Message-ID | <tMOL0-7oW-31@gated-at.bofh.it> |
| In reply to | #181490 |
On Sat, May 27, 2017 at 08:33:16AM -0400, gwmfms6@openmailbox.org wrote: > I want to make everything proper and swapping to all en_DK variables > fixes some things but not others. The only proper solution is to: > > 1) be able to change individual variables within Gnome (which I don't > think is possible in current gnome) > 2) create my own locale, which I do not know how to do. 3) Somehow get the GNOME developers to fix their crap. 4) Stop using GNOME. As long as we're being comprehensive. ;-) Perhaps a GNOME-specific mailing list might have more options for you. Maybe there's some way to tell GNOME not to touch the locale settings *at all*, and simply let them pass through from the underlying operating system.
[toc] | [prev] | [next] | [standalone]
| From | gwmfms6@openmailbox.org |
|---|---|
| Date | 2017-05-30 18:30 +0200 |
| Message-ID | <tMSbV-1dJ-33@gated-at.bofh.it> |
| In reply to | #181594 |
On 2017-05-30 08:46, Greg Wooledge wrote: > > Perhaps a GNOME-specific mailing list might have more options for you. > Maybe there's some way to tell GNOME not to touch the locale settings > *at all*, and simply let them pass through from the underlying > operating > system. Yes, I have switched to taking up the issue with GNOME, but they appear not to care at all. I did not know the problem was with GNOME initially and discussing it with the Debian folks (which are awesome by the way) helped me figure out it was GNOME that is the problem.
[toc] | [prev] | [next] | [standalone]
| From | "Emanuele Bernardi" <e.berna@posteo.net> |
|---|---|
| Date | 2017-05-30 18:50 +0200 |
| Message-ID | <tMSvg-1kx-19@gated-at.bofh.it> |
| In reply to | #181598 |
My system has en_US.utf8 for default, but I wanted the iso time so I just added the it_IT.utf8 (dpkg-reconfigure locales) and changed in gnome Region & Language the Formats. -----Original Message----- From: gwmfms6@openmailbox.org [mailto:gwmfms6@openmailbox.org] Sent: martedì 30 maggio 2017 18:22 To: debian-user@lists.debian.org Subject: Re: How to set ISO date/time with en_US.utf8 as system default? On 2017-05-30 08:46, Greg Wooledge wrote: > > Perhaps a GNOME-specific mailing list might have more options for you. > Maybe there's some way to tell GNOME not to touch the locale settings > *at all*, and simply let them pass through from the underlying > operating system. Yes, I have switched to taking up the issue with GNOME, but they appear not to care at all. I did not know the problem was with GNOME initially and discussing it with the Debian folks (which are awesome by the way) helped me figure out it was GNOME that is the problem.
[toc] | [prev] | [next] | [standalone]
| From | gwmfms6@openmailbox.org |
|---|---|
| Date | 2017-05-31 16:10 +0200 |
| Message-ID | <tNctX-5S4-7@gated-at.bofh.it> |
| In reply to | #181599 |
On 2017-05-30 12:40, Emanuele Bernardi wrote: > My system has en_US.utf8 for default, but I wanted the iso time so I > just > added the it_IT.utf8 (dpkg-reconfigure locales) and changed in gnome > Region > & Language the Formats. And what do you do when you need the Paper format, currency, numeric system, etc to be United States locale? Changing the GNOME format changes EVERY variable to whatever that country is set to (not necessarily what that country uses, what that country's file is set to). I live in the United States, and wouldn't you know it, some of us use international date time here. Whoa! But there is no way (in GNOME) to set the United States locale while using international date time. And yes the United States is still on the Imperial measurement system, but many professionals (e.g., scientists) use the Metric system in the United States. Yet we cannot set these when using GNOME. If I change the format (in GNOME) and switch to a locale that does use international date time, I then get currency, paper format, numeric, etc that do not conform to the USA.
[toc] | [prev] | [next] | [standalone]
| From | gwmfms6@openmailbox.org |
|---|---|
| Date | 2017-05-26 19:00 +0200 |
| Message-ID | <tLqKK-8no-21@gated-at.bofh.it> |
| In reply to | #181423 |
I neglected to say my environment. Sorry! I am on GNOME and login via GDM. I do not use SSH and it says connection refused when I try. when I open a virtual console, and type ncal, the calendar begins with Monday--so this appears to be working. The problem is with GNOME, then? I suppose Debian can't help with that? On 2017-05-26 12:48, Greg Wooledge wrote: > On Fri, May 26, 2017 at 06:31:29PM +0200, gwmfms6@openmailbox.org > wrote: >> ~/Desktop $ cat /etc/default/locale >> LANG=en_US.UTF-8 >> LC_TIME=en_DK.UTF-8 > >> ~/Desktop $ locale >> LANG=en_US.UTF-8 >> LANGUAGE= >> LC_CTYPE="en_US.UTF-8" >> LC_NUMERIC=en_US.utf8 >> LC_TIME=en_US.utf8 >> LC_COLLATE="en_US.UTF-8" >> LC_MONETARY=en_US.utf8 >> LC_MESSAGES="en_US.UTF-8" >> LC_PAPER=en_US.utf8 >> LC_NAME="en_US.UTF-8" >> LC_ADDRESS="en_US.UTF-8" >> LC_TELEPHONE="en_US.UTF-8" >> LC_MEASUREMENT=en_US.utf8 >> LC_IDENTIFICATION="en_US.UTF-8" >> LC_ALL= > >> As you can see LC_TIME is set to en_DK in /etc/default/locale but >> locale >> is not reporting this when it is run. > > Does this change if you login on a text console? > > Does this change if you login via "ssh localhost" (or "ssh $HOSTNAME", > or ssh in from a different host to this one over a network)? > > What desktop environment are you using? What display manager are you > using to login?
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2017-05-26 19:10 +0200 |
| Message-ID | <tLqUp-ef-17@gated-at.bofh.it> |
| In reply to | #181425 |
On Fri, May 26, 2017 at 12:54:24PM -0400, gwmfms6@openmailbox.org wrote: > I neglected to say my environment. Sorry! I am on GNOME and login via > GDM. > > I do not use SSH and it says connection refused when I try. > > when I open a virtual console, and type ncal, the calendar begins with > Monday--so this appears to be working. > > The problem is with GNOME, then? I suppose Debian can't help with that? Perhaps. I'd still like to confirm that. Press Ctrl-Alt-F2 to get to a text console, and login there. Do you get a different result? If you want to include the results in an email, it might be helpful to redirect to a file: Ctrl-Alt-F2 username password locale > ~/locale.out exit Ctrl-Alt-F1 open a terminal if necessary cat ~/locale.out paste into email if necessary If you get a different result on the text console, that is strong evidence that GNOME is overriding PAM's locale environment variables, and then you would need to do something in GNOME to get the change you want.
[toc] | [prev] | [next] | [standalone]
| From | gwmfms6@openmailbox.org |
|---|---|
| Date | 2017-05-26 19:10 +0200 |
| Message-ID | <tLqUp-ef-19@gated-at.bofh.it> |
| In reply to | #181427 |
You are correct. typing locale in the virtual (text) console produces LC_TIME=en_DK. So GNOME is overriding PAM's environment. Thank you so much for helping me discover this! I learned a lot in the process. On 2017-05-26 13:01, Greg Wooledge wrote: > On Fri, May 26, 2017 at 12:54:24PM -0400, gwmfms6@openmailbox.org > wrote: >> I neglected to say my environment. Sorry! I am on GNOME and login via >> GDM. >> >> I do not use SSH and it says connection refused when I try. >> >> when I open a virtual console, and type ncal, the calendar begins with >> Monday--so this appears to be working. >> >> The problem is with GNOME, then? I suppose Debian can't help with >> that? > > Perhaps. I'd still like to confirm that. > > Press Ctrl-Alt-F2 to get to a text console, and login there. Do you > get a different result? If you want to include the results in an > email, it might be helpful to redirect to a file: > > Ctrl-Alt-F2 > username > password > locale > ~/locale.out > exit > > Ctrl-Alt-F1 > open a terminal if necessary > cat ~/locale.out > paste into email if necessary > > If you get a different result on the text console, that is strong > evidence > that GNOME is overriding PAM's locale environment variables, and then > you would need to do something in GNOME to get the change you want.
[toc] | [prev] | [next] | [standalone]
| From | James Cloos <cloos@jhcloos.com> |
|---|---|
| Date | 2017-05-27 20:50 +0200 |
| Message-ID | <tLOWJ-7Id-3@gated-at.bofh.it> |
| In reply to | #181428 |
>>>>> "g" == gwmfms6 <gwmfms6@openmailbox.org> writes: g> You are correct. typing locale in the virtual (text) console produces g> LC_TIME=en_DK. So GNOME is overriding PAM's environment. g> Thank you so much for helping me discover this! I learned a lot in the g> process. Did you re-start gdm after editing the files in /etc? You might even need to reboot given the use of a gui for login. -JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web