[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X not loading fonts



On Fri, Sep 24, 2004 at 08:26:42PM -0400, JoeHill wrote:
> On Fri, 24 Sep 2004 16:58:03 -0700
> Stefan O'Rear disseminated the following:
> 
> > > X should load the same set of fonts no matter the desktop or WM, no?
> > 
> > The script I sent is very minimal. You probably need to add
> > /home/$USER/.fonts to the fontpath yourself.
> > 
> > You might want to make a bit of a change:
> > 
> > vncstart:
> > #! /bin/sh
> > exec xinit ~/.vnc-xinitrc -- /usr/bin/X11/Xvnc :1 -rfbport 5900
> > 
> > .vnc-xinitrc:
> > xset +fp ~/.fonts  ##MARK##
> > exec pekwm
> > 
> > This may still apply in the vncstartup case; you'd need to add the
> > marked line to ~/.vnc/xstartup or wherever rather than the
> > made-up-for-the occasion ~/.vnc-xinitrc, though.
> 
> Actually, I managed to get vncserver to work for me, ie. loading Pekwm instead
> of Gnome (yay!).
> 
> I tried adding the 'xset +fp ~/.fonts' to my ~/.xsession, but still no go. It
> was creating the ~/.xsession file that originally allowed my to override the
> global setting to load Gnome, so I can only assume that is the file that is the
> 'authority' in loading X.

RTMing, adding this to ~/.vncrc should do it:

$fontPath .= "$ENV{HOME}/.fonts";

-- 
The world's most effective spam filter:
        ln -sf /dev/full /var/mail/$USER



Reply to: