From owner-freebsd-questions Mon Feb 3 21:32:54 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30BBD37B401 for ; Mon, 3 Feb 2003 21:32:52 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1208743E4A for ; Mon, 3 Feb 2003 21:32:51 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id h145VoDZ055935; Tue, 4 Feb 2003 00:31:50 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3 From: Joe Marcus Clarke To: Mark Edwards Cc: questions@FreeBSD.ORG In-Reply-To: <39FBBAD6-37AA-11D7-B874-000A278CC960@antsclimbtree.com> References: <39FBBAD6-37AA-11D7-B874-000A278CC960@antsclimbtree.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-jP2v6sERK6r+m4QNObED" Organization: MarcusCom, Inc. Message-Id: <1044336763.71367.16.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.1 Date: 04 Feb 2003 00:32:43 -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-jP2v6sERK6r+m4QNObED Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-02-03 at 14:03, Mark Edwards wrote: > On Monday, February 3, 2003, at 09:24 AM, Joe Marcus Clarke wrote: >=20 > > On Mon, 2003-02-03 at 03:16, Mark Edwards wrote: > >> Well, the directions claim its simple, but try as I might, I can't get > >> font anti-aliasing to save my life! I've tried following the gdkxft > >> README, but I still can't make gdkxft do anything useful. > >> > >> Is there some trick to getting it working with gdm? Should I have an > >> Xsession.d or an xinitrc.d directory somewhere (creating them in > >> /etc/X11 doesn't do squat). > > > > You will need to move the gdm startup out of /etc/ttys, and create a > > /usr/X11R6/etc/rc.d script for it. In that script, set the LD_PRELOAD > > (I think that's what gdkxft requires) variable, and you should be good > > to go. > > > > Joe >=20 > Can you point me to a description of how to do this? All the=20 > documentation I've found describes starting gdm from /etc/ttys, and I'm=20 > not exactly sure how to translate that over to an rc.d script. You can use the script distributed by x11/gdm2 as an example. >=20 > Also, will setting LD_PRELOAD this way affect gnome after login, or=20 > will it just affect gdm? I know gdm2 will not pass LD_ variables to the GNOME session unless you tell it to specifically. gdm does not appear to have these same options. >=20 > I tried setting LD_PRELOAD by hand in a term window after logging in,=20 > and then launching a gnome app like mozilla, and I still didn't see=20 > anti-aliased text. Does this indicate further problems? I have no idea. I've never used gdkxft. However, if you read the gdkxft webpage, you'll see there's a Mozilla patch for it: http://gdkxft.sourceforge.net/gdkxft-mozilla.html Did you apply this patch? If you have further problems, I recommend checking out: http://gdkxft.sourceforge.net/README Or better yet, upgrade to GNOME 2 which has anti-aliased support built in (note, so does Mozilla now). Joe >=20 > Thanks for you help! >=20 > -- > Mark Edwards > San Francisco, CA --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-jP2v6sERK6r+m4QNObED Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+P1B7b2iPiv4Uz4cRAogZAJ48BS7L6loWn3W7qCI8XNHbyYWuVACdEren teXYy8YmlUP5rl1BMJ8HfvM= =vdOi -----END PGP SIGNATURE----- --=-jP2v6sERK6r+m4QNObED-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message