From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 19:32:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2996A16A4DE for ; Sun, 3 Sep 2006 19:32:22 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc3-cmbg1-0-0-cust506.cmbg.cable.ntl.com [82.21.101.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 845A343D53 for ; Sun, 3 Sep 2006 19:32:21 +0000 (GMT) (envelope-from dan@slightlystrange.org) Received: from jools.slightlystrange.org ([192.168.0.2]) by catflap.slightlystrange.org with esmtp (Exim 4.63 #0) id 1GJxha-000AKJ-EF for ; Sun, 03 Sep 2006 20:32:18 +0100 From: Daniel Bye To: Free BSD Questions list Date: Sun, 3 Sep 2006 20:32:14 +0100 User-Agent: KMail/1.9.3 References: <20060903143359.GA22029@teddy.fas.com> In-Reply-To: <20060903143359.GA22029@teddy.fas.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1614808.nYNNxVH2UO"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609032032.20961.dan@slightlystrange.org> X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: dan@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: Problesm with X application default X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dan@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 19:32:22 -0000 --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--