Re: Changing locale
Andreas Janssen <andreas.janssen@bigfoot.com> writes:
> Hello
>
> Bob Hilliard wrote:
>
>> Selecting a default locale with "dpkg-reconfigure" does not make
>> that locale effective. Is there any way to change the locale of the
>> system without rebooting?
>
> You can check if your settings were saved by editing /etc/environment.
> Please don't forget to completeley log out to apply the changes.
Thanks. That is the answer I was looking for. I hadn't been
logging out.
To answer another poster's question - if `locale' returns the
new locale I consider the change has been effective.
I would also like to know how to generate and set the `POSIX'
locale. Although /usr/share/i18n/locales/POSIX exists,
`dpkg-reconfigure locales' does not offer it as a choice, and if it is
manually added to /etc/locale.gen, a subsequent `locale-gen' ignores
POSIX.
(I don't really want to run the POSIX locale. I am writing a
script that needs to know the value of `LC_CTYPE' in the POSIX
locale.)
Regards,
Bob
--
_
|_) _ |_ Robert D. Hilliard <hilliard@debian.org>
|_) (_) |_) 1294 S.W. Seagull Way <bob@bobhilliard.net>
Palm City, FL 34990 USA GPG Key ID: 390D6559
Reply to: