Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 18:22:12 -0400
From:      stan <stanb@panix.com>
To:        Daniel Bye <dan@slightlystrange.org>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Problesm with X application default
Message-ID:  <20060903222212.GA3684@teddy.fas.com>
In-Reply-To: <200609032032.20961.dan@slightlystrange.org>
References:  <20060903143359.GA22029@teddy.fas.com> <200609032032.20961.dan@slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 03, 2006 at 08:32:14PM +0100, Daniel Bye wrote:
> On Sunday 03 September 2006 15:33, stan wrote:
> > I'm building a replacement machine for a long serving workstation
> > that finally died a hardware death.
> >
> > I've built a new machine updated to 6 CURRENT, and installed the
> > KDE metaport. I have a customize XTerm application defaults
> > file from a backup of the old machine. However, I can't seem to get
> > xterm to honor it. I'm running xterm from teh menu bar in KDE
> > with alauncher, and the -ls command line option.
> >
> > I use ksh, and I have my .profile set up to set the following
> > environment variable:
> >
> > PPLRESDIR=/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/home/
> >stan/.X11/app-defaults
> >
> >
> [---snip---]
> >
> > But despite that the Xterm comes up in white with black text. So,
> > I put the same file in  /usr/X11R6/lib/X11/app-defaults, but it
> > still does not honor it
> >
> > Can anyone sugest what I am doing wrong?
> 
> It's more to do with how KDE handles it, I think.  From what reading I did 
> about this a while ago, you need to tell KDE to read your X settings as it 
> starts.  I have a little sh script in ~/.kde/Autostart/load_Xdefaults.sh:
> 
> #!/bin/sh
> 
> [ -x /usr/X11R6/bin/xrdb ] && /usr/X11R6/bin/xrdb -load $HOME/.Xdefaults
> 
> Looking at your XTerm file, you should be able to load it in much the same 
> way.
> 
Thanks, I will give that a try.



-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



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