On 03/14/2015 07:02 PM, Bob Proulx wrote:
Frank wrote:
Is this what should be in /etc/default/locale ??
Seems strange.
Not strange. Unfamiliar maybe. This file replaced the same use of it
in the /etc/environment file. And there have been other attempts as
well. I expect it will go away in the future and be replaced with yet
another configuration.
The easiest way to fix it is this way:
# dpkg-reconfigure locales
[...configure en_US.UTF-8 for generation and select None for the
system locale...]
Did that Bob and selected None.
And what are the new contents of /etc/default/locale?
cat /etc/default/locale
root@frank-debian:/home/frank# cat /etc/default/locale
#LANG=en_US.UTF-8
Unexpected..I thought it would be empty ?
I expect they will have nothing but comments there now. It is always
good to verify actions like this.
At that point if it isn't too much inconvenience then I would
reboot. Because that would ensure that all of the running daemons of
the system get the new setting.
Will do.
For example cron was previously
started using the old setting. It is still running. It won't get the
new setting until it is restarted. You could restart it manually.
But there is always one more forgotten daemon. A reboot guarentees
that everything is restarted using the new setting.
Hope that fixes it...but I am still wondering about the
content of /etc/default/locale ??
That file sets the locale for all of the daemons at boot time. The
default is the traditional Unix language. If you set None then it
will be as all Unix machines have always been.
With that file you are instructing a different locale / language. For
example a French speaking admin might prefer system messages logged in
French and might set fr_FR.UTF-8 so that /var/log/syslog is in their
native language.
This has advantages and disadvantages. Messages in the standard POSIX
C locale are easier to search for in Google. Messages localized won't
have as much discussion about it. But any discussion found would
likely be in the native language. I personally think it is better to
keep to the POSIX standard language. Searching is easier. Discussion
is centralized. But that doesn't work if you don't speak the
language. The http://en.wikipedia.org/wiki/Lingua_franca of the
computer system world at this time is the POSIX C locale.
Thanks for the detailed reply.
Happy to help!
Bob
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/5504c272.6010...@videotron.ca