[27] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: .Xdefaults and .Xresources ...

daemon@ATHENA.MIT.EDU (Barrie Spence)
Sun Oct 20 11:01:46 1996

Date: Sun, 20 Oct 1996 15:57:41 +0100
From: Barrie Spence <barrie@calvin.demon.co.uk>
To: redhat-list@redhat.com
CC: maillard@vt.edu
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Julien Maillard wrote:
> 
> > I find it much cleaner to use  and separate each
> > applocation's resources into individual files. Using .Xdefaults, I feel
> 
> if I set
> export XUSERFILESEARCHPATH=$HOME/.X11-app-defaults

You will need (at least)

XUSERFILESEARCHPATH=${HOME}/.X11-app-defaults/%N

This is the simplest setup that ignores all the fancy stuff to do with
language/locale and customization.

> will this overwrites the default location under X11/lib, or will X apps still read their defaults there, and then in $HOME/.X11-app-defaults. The X man page wasn't clear (to me...) on this.
> Thanks.

The files are read in order of precedence - system, then user. I'd
suggest that you avoid messing with XFILESEARCHPATH. You shouldn't have
to use the obsolete XAPPLRESDIR with linux since all Linux applications
should be X11R5/X11R6 based.

As you move to using individual resource files, remember to remove the
values from your .Xdefaults file.

This is fully described in the comp.windows.x FAQ.

Barrie
-- 
Barrie Spence			Sanity Clause? There is no Sanity Clause
Home: barrie@calvin.demon.co.uk		Telephone +44 1506 442304
Play: barrie@sqf.hp.com			Telephone +44 131 331 7103


--
  PLEASE read the Red Hat FAQ, Tips, HOWTO and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-HOWTO 
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post