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

Re: what is supposed to set $LANG?



I have a newly installed system and no /etc/environment, looking at files from
an old system, it's supposed to be created by localeconf which no longer exists.

The settings are now set in /etc/defaults/locale but the are not read for new
terminals, also doesn't seem to help what kind of shell is used.

Opening a terminal, no matter which, $LANG is not defined, if I do su <user>
the value gets defined which I believe means that /etc/defaults is sourced.
Can't find what is the difference and why it is not sourced for new terminals
in X.

On Thu, 8 Nov 2007 11:14:43 +0200
Andrei Popescu <andreimpopescu@gmail.com> wrote:

> On Thu, Nov 08, 2007 at 10:34:48AM +0200, Micha Feigin wrote:
>  
> > I found out yesterday that this must be a bash setup problem since open a
> > terminal doesn't set $LANG but su to a user does set it. I think that there
> > is a problem between the login shell and non-login shell
> 
> On my (sid) machine $LANG is set in /etc/environment
> 
> Regards,
> Andrei



Reply to: