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





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@xxxxxxxxxxxx:/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/
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Language problem with knoppix
    ... package it gives the error message On Language Like: ... perl: warning: Setting locale failed. ...
    (Debian-User)
  • Re: HEADS UP: LC_CTYPE format changed
    ... perl: warning: Setting locale failed. ... perl: warning: Falling back to the standard locale. ...
    (freebsd-current)
  • Glibc i386 vs i686 screwup
    ... Starting httpd: perl: warning: Setting locale failed. ... perl: warning: Please check that your locale settings: ...
    (RedHat)
  • locale errors
    ... how do I fix this: ... perl: warning: Setting locale failed. ...
    (Debian-User)
  • Re: UTF8: cgi ist staerker als ich
    ... use locale ist sogar äusserst gefährlich und unberechenbar. ... Also vergiss Locales und verwende den Unicode-Support von Perl. ... ist dass Du nicht 256 verschiedene Zeichen ... Beim encode kodierst Du Zeichen entsprechend einem bestimmten Encoding ...
    (de.comp.lang.perl.cgi)