Gentoo Archives: gentoo-dev

From: "Chad M. Huneycutt" <chad.huneycutt@×××.org>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] AA and KDE in gentoo - still not solved - anyone uses AA here?
Date: Wed, 18 Jul 2001 08:16:24
Message-Id: 3B559977.5040009@acm.org
In Reply to: [gentoo-dev] AA and KDE in gentoo - still not solved - anyone uses AA here? by Viktor Lakics
1 I am seeing this same behavior. I currently have QT_XFT=1 in my
2 .bash_profile, .xinitrc, and /etc/env.d/90qt. I am getting ready to try
3 /etc/env.d/90kde21. As Viktor mentions, if I open an konsole and type
4 "echo $QT_XFT", it says that it is set to 1. And, sure enough, if I
5 then run konqueror, it has the AA fonts. If I use the icon on the
6 panel, however, the fonts are not AA. I think this points pretty surely
7 to the fact that KDE subprocesses are not getting the right environment.
8
9 Maybe modifying 90kde21 will fix the problem.
10
11 Chad
12
13 P.S. This is my first post, so here is my obligatory compliment: The
14 distribution is really shaping up. Great work, guys!
15
16
17 Viktor Lakics wrote:
18
19 >Dear All,
20 >
21 >DOes anyone uses AA outhere in kde?
22 >
23 >I tried this trick (putting QT_XFT=1 to ~/.xinitrc) to make all my KDE to be
24 >AA-ed, without success. I did not even have .xinitrc in ~, ( /root - right now
25 >I set up everything as root and worry about permissions for users later), so I
26 >created it, but it did not help at all. (I have initdefault 4 set in inittab,
27 >and it seems that it works without .xinitrc)
28 >
29 >Then I tried to put QT_XFT=1 to the startkde script in various places -
30 >nothing happened. I even tried to shutdown kdm to console mode, and log in
31 >again to a normal konsole, set QT_XFT=1, export QT_XFT, and then start kdm -
32 >no dice.
33 >
34 >But once I am already in KDE, fire up a konsole window and set QT_XFT=1, AA
35 >works, as long as I start the apps from THAT VERY SAME konsole. The rest of
36 >the KDE is still not AA-ed though...(The checkbox in kcontrol -look&feel -
37 >style - use AA is switched on, of course)
38 >
39 >To make it even more confusing, there is a single program (kppp) which is
40 >AA-ed (after setting the GUI AA option on) even if I do not start it from a
41 >konsole where I previously set QT_XFT=1...
42 >
43 >I am really confused now... Why on earth the GUI control for AA only works on
44 >kppp, but not for the rest?! How can I let KDE know that I want AA
45 >everywhere?
46 >