[Techtalk] Quick question, I hope?

Figaro ynegorp at charter.net
Fri Dec 21 15:43:04 UTC 2007



Gebhard Dettmar wrote:
> On Thursday 20 December 2007 15:47, Wim De Smet wrote:
>> [...] If it doesn't, try setting LC_ALL to 'C' so
>> do export LC_ALL=C in a console, before starting a program from that
>> console, you might also have to set LANG. On newer versions of Debian
>> the locale gets written to /etc/environment I think. If you have that
>> you could try changing it there as well (this is what dpkg-reconfigure
>> should be doing).
>>
> Exactly. IMHO creating /etc/environment with
> export LANG=C
> should be sufficient, although unnecessary if your system was setup with 
> LANG=C 

(you should create this file if you want e.g. LANG=de_DE for german.
I guess I do not understand what is meant here?
Where do I create the file (as root?) and what should be in it.
At the moment /etc/environment is en_US.utf8.



(you should create this file if you want e.g. LANG=de_DE for german.
> If I understood my debian book

Which book do you recommend?

 right you can write in this file the
> environments which are not set by the shell when starting an X-Session with a 
> display manager. The X-session doesn't set certain environments which were 
> set by the shell if you logged in via 'login', i.e. the shell, instead of a 
> display manager
> Regards gebhard
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
> 

Thank you, I'm slowly muddling through to get the work doe but sure
would like to understand this issue.
matthew



More information about the Techtalk mailing list