You are not logged in.
Pages: 1
I know, it qustion is strange for this forum, becouse its about russian locale, but i think its common to all cyrillic locales. I try to switch to utf8 locale and all is ok, except gtk1 programs. I use gnome, so gtk1 config file placed in ~/.gtkrc.mine. Using xfontsel i put this lines to .gtkrc.mine file:
{
fontset="-*-terminus-*-*-*-*-*-*-*-*-*-*-iso10646-1, *-r-*"
}
widget_class "*" style "user-font"
Terminus font has the russian letters, and it should work, but dont. Russian letters in gtk1 applications looks bad, they big and ugly. Pls help if you can.
Offline
GTK1 doesn't support UTF as far as I know, nor localization. Better to listen to someone with more experience with GTK1 and localization, I'm not sure.
Offline
From what I found from some google searches, you're not alone in this problem.
I did however find one sort of promissing looking howto for mandrake that you might want to read over and experiment with a bit. http://www.linuxcompatible.org/thread27498-1.html
Play around with that and let me know.
The suggestion box only accepts patches.
Offline
Thnx for help, but this how-to dont work for me . I found in google that it maybe because of new fontconfig. And i decided that i will not switch to utf8 locale because console too dont have good support for this locale(and some programs like links).
Offline
Sorry to put this thread up.
I find also some problems with gtk1 apps (for instance xmms) :
I use the locale fr_FR.utf8 but I get incorect accents characters in the xmms menu.
I found a fix filling my ~/.gtkrc file with
style "user-font"
{
fontset="-misc-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1"
}
widget_class "*" style "user-font"
But I think it shall be something managed by default (gtk).
Finally I found that there isn't any .utf8 file in /etc/gtk/gtkrc.utf-8
I tried to create the file, but no changes...
Has someone a fix for this problem ? Can this lack of gtkrc.utf-8 file be considered as a bug ?
EDIT: Finnaly I found a fix. I have to use a more locale-specific filename : /etc/gtk/gtkrc.fr_FR.utf8
style "gtk-default" {
fontset = "-*-fixed-*-*-*-*-*-*-*-*-*-*-iso10646-1"
}
class "GtkWidget" style "gtk-default"
Now it works.
Offline
Try xlib-locale-ru-ru-utf8 from AUR. This should solve problems with GTK1 programs.
to live is to die
Offline
Pages: 1