Re: Local X application defaults

1997-03-14 Thread Riku Saikkonen
In article [EMAIL PROTECTED] 
[EMAIL PROTECTED] (James W. Lynch) wrote:
 Riku Saikkonen [EMAIL PROTECTED] writes:
  Can X be set to read app-defaults
  files in /usr/local/X11/app-defaults/ (or whatever) in addition to the
  normal directory?
 You could try (ab-)using XUSERFILESEARCHPATH.  Mine is currently
the XAPPLRESDIR environment variable is used to identify local application

Hmm, okay, I'll try that. Thanks.

As a more general question, should Debian (xbase or whatever) set something
like that as default? I mean, Debian puts /usr/local/bin in the PATH, and
/usr/local/lib in /etc/ld.so.conf, so why not local app-defaults too?

-- 
-=- Rjs -=- [EMAIL PROTECTED], [EMAIL PROTECTED]
In memory of Telonir-V, choked on a hill giant corpse in The Dungeons of
Doom on level 20. May she rest in peace... NetHack is frustrating. :)


Re: Local X application defaults

1997-03-11 Thread James W. Lynch
-  Received message begins Here  -

(Header snipped)
 
 Riku Saikkonen [EMAIL PROTECTED] writes:
  Can X be set to read app-defaults
  files in /usr/local/X11/app-defaults/ (or whatever) in addition to the
  normal directory?
 
 You could try (ab-)using XUSERFILESEARCHPATH.  Mine is currently
 /home/carey/lib/X11/app-defaults/%N%S so you could use something
 similar.
 
 -- 
 Carey Evans  *  [EMAIL PROTECTED]
 

the XAPPLRESDIR environment variable is used to identify local application
defaults.  I've got mine set to 
setenv XAPPLRESDIR /home/jwl/app-defaults
You could probably set  XAPPLRESDIR globaly in the /etc/profile and /etc/
login scripts, I guess, if you wanted it to apply to everyone on the
system.

Jim.


Jim Lynch, System Engineer,  SGI/Cray Research, Inc. / ARS: K4GVO
Federal Business Systems, Phone: (770) 631-2254, Email: [EMAIL PROTECTED]
Suite 270, 200 Westpark Drive, Peachtree City, GA 30269


Re: Local X application defaults

1997-03-09 Thread Carey Evans
Riku Saikkonen [EMAIL PROTECTED] writes:
 Can X be set to read app-defaults
 files in /usr/local/X11/app-defaults/ (or whatever) in addition to the
 normal directory?

You could try (ab-)using XUSERFILESEARCHPATH.  Mine is currently
/home/carey/lib/X11/app-defaults/%N%S so you could use something
similar.

-- 
Carey Evans  *  [EMAIL PROTECTED]

Linux and Linux-like systems such as UNIX(R) and FreeBSD...
- Yggdrasil Computing, [EMAIL PROTECTED]


Local X application defaults

1997-03-08 Thread Riku Saikkonen
Where should I put the app-defaults files of locally installed (non-Debian,
in /usr/local/) X applications?

Thus far I've just put them in /usr/X11R6/lib/X11/app-defaults/, even though
/usr/doc/xbase/debian.README says I shouldn't do that... (I don't really
want to cat them all to the end of /etc/X11/Xresources, since some are quite
big and it's tedious to remove stuff from it. And I don't want to create
custom Debian packages for every nonstandard X application I install, just
to get `legal' app-defaults.)

Is there a Debian-specific place for them? Can X be set to read app-defaults
files in /usr/local/X11/app-defaults/ (or whatever) in addition to the
normal directory?

--
-=- Rjs -=- [EMAIL PROTECTED], [EMAIL PROTECTED]