From owner-freebsd-questions@FreeBSD.ORG Sun Sep 3 22:22:21 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 5DA9116A514 for ; Sun, 3 Sep 2006 22:22:21 +0000 (UTC) (envelope-from stanb@panix.com) Received: from mail3.panix.com (mail3.panix.com [166.84.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 300BA43D58 for ; Sun, 3 Sep 2006 22:22:13 +0000 (GMT) (envelope-from stanb@panix.com) Received: from mailspool2.panix.com (mailspool2.panix.com [166.84.1.79]) by mail3.panix.com (Postfix) with ESMTP id 2EFB313A858; Sun, 3 Sep 2006 18:22:13 -0400 (EDT) Received: from teddy.fas.com (c-68-58-232-106.hsd1.sc.comcast.net [68.58.232.106]) by mailspool2.panix.com (Postfix) with ESMTP id 41C2F1083BC5; Sun, 3 Sep 2006 18:22:13 -0400 (EDT) Received: from stan by teddy.fas.com with local (Exim 3.36 #1 (Debian)) id 1GK0M0-0000xm-00; Sun, 03 Sep 2006 18:22:12 -0400 Date: Sun, 3 Sep 2006 18:22:12 -0400 From: stan To: Daniel Bye Message-ID: <20060903222212.GA3684@teddy.fas.com> Mail-Followup-To: Daniel Bye , Free BSD Questions list References: <20060903143359.GA22029@teddy.fas.com> <200609032032.20961.dan@slightlystrange.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200609032032.20961.dan@slightlystrange.org> X-Editor: gVim X-Operating-System: Debian GNU/Linux X-Kernel-Version: 2.4.23 X-Uptime: 18:20:16 up 139 days, 19:25, 1 user, load average: 0.00, 0.03, 0.04 User-Agent: Mutt/1.5.4i Sender: Stan Brown Cc: Free BSD Questions list Subject: Re: Problesm with X application default X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Sep 2006 22:22:21 -0000 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)