Skip site navigation (1)Skip section navigation (2)
Date:      04 Feb 2003 00:32:43 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Mark Edwards <mark@antsclimbtree.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3
Message-ID:  <1044336763.71367.16.camel@shumai.marcuscom.com>
In-Reply-To: <39FBBAD6-37AA-11D7-B874-000A278CC960@antsclimbtree.com>
References:  <39FBBAD6-37AA-11D7-B874-000A278CC960@antsclimbtree.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1044336763.71367.16.camel>