From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 20:43:21 2003 Return-Path: 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 DFB8437B401 for ; Mon, 30 Jun 2003 20:43:21 -0700 (PDT) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id C391A44005 for ; Mon, 30 Jun 2003 20:43:19 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 60387 invoked by uid 555); 1 Jul 2003 07:43:18 +0400 Received: from tele-kom.ru (213.80.149.144) by t-k.ru with TeleMail/2 id 1057030997-60378 for m.seaman@infracaninophile.co.uk; Tue, Jul 1 07:43:17 2003 +0400 (MSD) Message-ID: <3F013BD9.4090001@tele-kom.ru> Date: Tue, 01 Jul 2003 07:44:25 +0000 From: "Sergey \"DoubleF\" Zaharchenko" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030626 X-Accept-Language: ru, en, en-us MIME-Version: 1.0 To: Matthew Seaman References: <20030630162247.GA1911@bellsouth.net> <20030630180627.GB22836@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030630180627.GB22836@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "adalrymp@bellsouth.net" cc: freebsd-questions@freebsd.org Subject: Re: .Xdefaults X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 03:43:22 -0000 Matthew Seaman wrote: > On Mon, Jun 30, 2003 at 11:22:47AM -0500, adalrymp@bellsouth.net wrote: > >>Hello, I'm using FreeBSD 5.1 and came across something today. Say I >>wanted to make xterms background by default i could add >> >>XTerm*background: black >> >>into my ~/.Xdefaults file and it would load by default. Where would I >>go about finding out more options for more programs to place them in >>my ~/.Xdefaults file? Thanks. > > > The manual pages for the various X applications will usually have > quite a bit of information about what you can set in ~/.Xdefaults -- > look for the section labelled 'RESOURCES'. Another place to look is > /usr/X11R6/lib/X11/app-defaults, where you will find the default > values for all resources for a range of applications. > > Note that this functionality is generally only used for X applications > based on the Athena widget set or on the Motif libraries. > Applications using higher level X environments like Gnome or KDE tend > to have alternate mechanisms for doing this sort of thing. > > Cheers, > > Matthew > You may also want to use editres(1) if the app supports the editres protocol (like xterm does). HTH, DoubleF