$LANG Variable

Lukas Sabota punkrockguy318 at comcast.net
Sun Sep 18 14:48:36 CDT 2005


On 9/18/05, Daniel Robitaille <robitaille at ubuntu.com> wrote:

>  
>
>> On Sun, 2005-18-09 at 13:52 -0400, Lukas Sabota wrote:
>>   
>>
>>> On most of all my programs, I am getting this warning:
>>> Warning: locale not supported by Xlib, locale set to C
>>> My LANG variable is set to en_US.  Is that what it is supposed to be?
>>> Should the LANG variable be set to C?
>>>     
>>
>
>
> try with:
> sudo dpkg-reconfigure locales
>
> in order to set your current locale. Then check if it is the same as
> the one you selected in Language Selector (in menu System->Admin)
>
>  
>
I've done all this and I'm still receiving warnings on most programs.  
For example:
lukas at gnarley:~$ gnome-calculator

(gnome-calculator:6679): Gdk-WARNING **: locale not supported by Xlib

(gnome-calculator:6679): Gdk-WARNING **: cannot set locale modifiers

^X
lukas at gnarley:~$ xeyes
Warning: locale not supported by Xlib, locale set to C
^X
lukas at gnarley:~$ echo $LANG
en_US

Why isn't my locale supported by xlib?  What is supported by my locale?
What's wrong with setting my locale to C? How do I do that?

Lukas



More information about the ubuntu-devel mailing list