Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
when I start an x-application (like gvim) I get the error:
(gvim:11839): Gdk-WARNING **: locale not supported by Xlib
(gvim:11839): Gdk-WARNING **: can not set locale modifiers
Now, I have seen this problem in some other threads on this and other forums, but I have never seen somebody post a solution.
After some fiddling around I finally found out how to get rid of the warning. When I start a new console and run locale, this is the output:
With these settings I get the error as described above. However if I change LANG like this:
the warning disappears!!!!
In my humble opinion this is very strange behaviour. Especially because the file /usr/share/i18n/SUPPORTED contains the line:
In the format with which the warning is generated??????
Now I have two questions:
1) Is this a bug or some wrong setting of mine?
2) How can I set the LANG variable to the correct value by default. I already have tried adding the line export LANG=en_GB.iso885915 to my /etc/profile, but that doesn't seem to work.