Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2007 07:38:20 -0700 (PDT)
From:      Neil Short <neshort@yahoo.com>
To:        freebsd-x11@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: xorg 7.2 & environment variables set in login.conf
Message-ID:  <977966.60249.qm@web56506.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help


> I have a problem after update to 7.2: the
environment > variables set in
> login.conf (for example, LANG for russian class) are
> no longer
> propagated to X apps I launch after I log in to X
(now I have to
> explicitely export those in ~/.xsession). Why's this
> behavior changed
> and how to make environment set up automatically
like > before?

Hay. I have that same problem! I posted the question
in -current since I figured it had more to do with the
OS than X -- and I still do. For example, the tar tool
can't utilize the LANG setting either.

How do you export those variables successfully in
~/.xsession? It still doesn't help with me.

check this out:

 $ locale
LANG=en_US
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$ echo $LC_ALL
en_US
$ perl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale
("C").

to be fair, I added the lang setting to
/etc/login.conf only after doing my last
build/installworld.

> FreeBSD 6.1-RELEASE-p12, latest ports, X is launched
> via xdm (enabled 
in
> /etc/ttys). 

$ uname -a
FreeBSD carmen.opera 7.0-CURRENT FreeBSD 7.0-CURRENT
#5: Sat Jun  2 09:43:02 MST 2007    
neshort@carmen.opera:/usr/obj/usr/src/sys/CARMEN  i386

======
Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride.
Daniel 4:37


       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?977966.60249.qm>