Re: xorg 7.2 & environment variables set in login.conf

From: Neil Short <neshort_at_yahoo.com>
Date: Sun, 3 Jun 2007 07:38:20 -0700 (PDT)
> 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_at_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/
Received on Sun Jun 03 2007 - 12:38:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:11 UTC