You are not logged in.

#1 2006-03-30 17:27:33

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

locale unsupported by Xlib

I try to use ru_RU.utf8 locale. But when I start X, some programs (xterm for example) give me subj. warning and can not display cyrilic symbols.

(In console russian text displayed properly)

Tell me please, what should I do.

Offline

#2 2006-03-30 18:36:46

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: locale unsupported by Xlib

Xterm kinda sucks... try urxvt instead of xterm.  Package is rxvt-unicode.  smile

Offline

#3 2006-03-31 06:31:39

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

May be it sucks, but it works well in other distros I used...

And problem not only in xterm. It is only example...

Offline

#4 2006-03-31 06:36:26

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

Another example:

$ psi
Qt: Locales not supported on X server

Offline

#5 2006-03-31 06:55:02

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: locale unsupported by Xlib

Maybe you already did that but did you followed the instructions on the front page news:
http://www.archlinux.org/news.php#209

Offline

#6 2006-03-31 08:00:12

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

No, I did not.

I use 2.3.5 glibc version.

And because of console apps works well and locale -a gives this locale, I think that my glibc supports it...

Problem appears only with X apps.

Offline

#7 2006-03-31 09:05:27

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

It seems I found the problem.

I do 'locale -a | grep ru_RU' and it gives me
ru_RU.utf8.

I export proper LANG & LC_ALL and get the problem with X.

Right way is ignore 'locale -a' output and set locale to ru_RU.UTF-8 instead ru_RU.utf8.

May be it a bug report?

Offline

#8 2006-04-10 10:47:13

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

I fix all problems and add xlib ru_RU.UTF-8 locale package into the AUR.

http://aur.archlinux.org/packages.php?d … =1&ID=4181

If somebody have problems with X apps in ru_RU.UTF-8, he should search for "GTK1 ru_RU.UTF-8" keywords.

This problem is common for all X apps that uses X Core font.

X.org by default does not support this locale.

Offline

#9 2006-04-10 17:28:46

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: locale unsupported by Xlib

hmm, thanks for this. I had the excact same problem only with nb_NO.utf8 locale and locale -a gave me that one... So i sat LANG and LC_ALL(what are all these $L*'s anyway?) to nb_NO.UTF-8 and also rc.conf. The "locale not supported by Xlib" and similar disappeared. looking in /etc/rc.sysinit i see that it will be sat on startup now smile


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#10 2006-04-10 17:50:27

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: locale unsupported by Xlib


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#11 2006-04-11 08:48:19

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

Unfortunately, when messages dissapeared after setting ru_RU.UTF-8, problem with fonts in X core font apps still present.

This is the reason why I made this package.

Offline

#12 2006-04-11 08:50:12

sergej
Trusted User (TU)
From: Russia, Voronezh
Registered: 2006-03-21
Posts: 67

Re: locale unsupported by Xlib

And it seems that utf8/UTF-8 is the feature, not a bug....

Offline

Board footer

Powered by FluxBB