Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2006 20:32:14 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Problesm with X application default
Message-ID:  <200609032032.20961.dan@slightlystrange.org>
In-Reply-To: <20060903143359.GA22029@teddy.fas.com>
References:  <20060903143359.GA22029@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1614808.nYNNxVH2UO
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D/usr/X11R6/lib/X11/app-defaults/:/usr/lib/X11/app-defaults:/h=
ome/
>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=
=20
about this a while ago, you need to tell KDE to read your X settings as it=
=20
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=
=20
way.

HTH

Dan

=2D-=20
Daniel Bye
Local Host Services Partnership
http://www.localhostservices.co.uk

--nextPart1614808.nYNNxVH2UO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBE+y3Eixf5fBYiFmoRAj1DAJ45lqCHyCBl97Gzo1DZNAyDXX9O4gCdH9p7
SKSFzl5Tnx4UaFjxwZ7oYFQ=
=N9Rx
-----END PGP SIGNATURE-----

--nextPart1614808.nYNNxVH2UO--



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