Starting any GTK1/GNOME1 application inside GNOME 2.4 session, application uses bad fonts. It's because GTK1 is configured with --sysconfdir=/etc/X11, but GTK2 and GNOME is configured with --sysconfdir=/etc. GNOME 2.4 sets GTK_RC_FILES to sysconfdir/gtk/gtkrc. This is the reason why GTK1 is unable to find its gtkrc files. Generally it is bad idea to configure any of GTK/GNOME 1/2 package differently as the rest. GNOME is not prepared to this style of work. Reproducible: Always Steps to Reproduce: 1. export LANG=cs_CZ 2. start any GTK1 app 3. charset is ISO-8859-1 instead of ISO-8859-2 Actual Results: ISO-8859-1 fonts Expected Results: ISO-8859-2 fonts Fixes (alternatives): 1) Configure sysconfdir for GTK1 the same as the rest of GTK/GNOME system (probably most clean solution). 2) Make a symlink /etc/X11/gtk -> /etc/gtk (good work around). 3) Hack gnome-session to set GTK_RC_FILES in non-standard way (another solution). Not tested, whether it works in GNOME 1.4.
1) sounds reasonable, although i would just fix the current ebuild -> fix would propagate on new systems. Since noone ever brought this up, i don't think it has ever been a big problem. 2) nah as you say, it's a workaround 3) Can't we just override this var somewhere ? I guess the 1.4 session is also flawed, because it uses /etc as well i think.
ok, since no comments i fixed this using option 1 in the current ebuild.