xorg 7.2 & environment variables set in login.conf

Neil Short neshort at yahoo.com
Tue Jun 5 03:54:33 UTC 2007


--- Stefan Esser <se at FreeBSD.org> wrote:

> On 2007-06-03 07:38 -0700, Neil Short
> <neshort at yahoo.com> wrote:
> > How do you export those variables successfully in
> > ~/.xsession? It still doesn't help with me.
> > 
> > check this out:
> > 
> >  $ locale
> > LANG=en_US
> 
> This is not a valid locale! You have a choice
> between:
> 
> 	en_US.ISO8859-1
> 	en_US.ISO8859-15
> 	en_US.US-ASCII
> 	en_US.UTF-8
> 
> [...]
> > $ 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").
> 
> Yes, and perl tells you, that en_US just isn't
> specific enough 
> for its needs ...
> 
> It's up to you whether you prefer en_US.US-ASCII,
> en_US.ISO8859-1,
> or en_US.UTF-8 (e.g. depending on whether you at
> least occasionally
> work with foreign language texts).
> 
> Regards, STefan
> 

That did the trick. I appreciate it.
Just for the documentation of it all -- I messed up by
putting my language setting under the "default:"
catagory in  /etc/login.conf.
I needed to ALSO create a separate "me:" catagory like
so:
me:\
        :tc=default:

I suppose the real moral to the story is: be very
careful what you overwrite during mergemaster. It's my
guess that I overwrote /etc/login.conf at some point
when my eyes were glassed over.

-N

======
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


      ___________________________________________________________________________________
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html


More information about the freebsd-current mailing list