gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3

2003-02-03 Thread Mark Edwards
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).

Thanks!  Sorry in advance if this is a moronic question.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3

2003-02-03 Thread Joe Marcus Clarke
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

 
 Thanks!  Sorry in advance if this is a moronic question.
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc





signature.asc
Description: This is a digitally signed message part


Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3

2003-02-03 Thread Mark Edwards
On Monday, February 3, 2003, at 09:24  AM, Joe Marcus Clarke wrote:


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


Can you point me to a description of how to do this?  All the 
documentation I've found describes starting gdm from /etc/ttys, and I'm 
not exactly sure how to translate that over to an rc.d script.

Also, will setting LD_PRELOAD this way affect gnome after login, or 
will it just affect gdm?

I tried setting LD_PRELOAD by hand in a term window after logging in, 
and then launching a gnome app like mozilla, and I still didn't see 
anti-aliased text.  Does this indicate further problems?

Thanks for you help!

--
Mark Edwards
San Francisco, CA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3

2003-02-03 Thread Joe Marcus Clarke
On Mon, 2003-02-03 at 14:03, Mark Edwards wrote:
 On Monday, February 3, 2003, at 09:24  AM, Joe Marcus Clarke wrote:
 
  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
 
 Can you point me to a description of how to do this?  All the 
 documentation I've found describes starting gdm from /etc/ttys, and I'm 
 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.

 
 Also, will setting LD_PRELOAD this way affect gnome after login, or 
 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.

 
 I tried setting LD_PRELOAD by hand in a term window after logging in, 
 and then launching a gnome app like mozilla, and I still didn't see 
 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

 
 Thanks for you help!
 
 --
 Mark Edwards
 San Francisco, CA
-- 
PGP Key : http://www.marcuscom.com/pgp.asc



signature.asc
Description: This is a digitally signed message part


Re: gdkxft + gnome 1.4 + gdm on FreeBSD 4.7p3

2003-02-03 Thread Mark Edwards
On Monday, February 3, 2003, at 09:32  PM, Joe Marcus Clarke wrote:


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).


Ah, perhaps that's a good call.  I was shying away from it since I'm 
running on a Pentium Pro 180, but from the release notes at gnome.org, 
it looks like gnome2 is faster even on older hardware.

Thanks for the advice!

--
Mark Edwards
San Francisco, CA


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message