[comp.windows.x] Applications resources files

ogata@leviathan.cs.umd.edu (Jefferson Ogata) (03/09/91)

I understand that there has been some difficulty dealing with a number of
resource settings using app-defaults files, e.g. because it is not possible
to set different resources depending on whether a monitor is monochrome or
color.

I have another problem, and that is that I have to have higher-level access
in order to move things into the app-defaults directory when I am installing
X applications for my personal use. If I set the XAPPLRESDIR variable to a
personal app-defaults directory, I have to link in all the other app-defaults
files in this directory. (If there is another way, please let me know.)

A very simple solution to both of these problems just occurred to me; so
simple in fact that I feel certain the X Consortium has considered it, but
I thought I'd throw it on the net anyway.

Have an environment variable called XAPPLRESPATH instead of XAPPLRESDIR.

I think this is pretty self-explanatory. Any comments?
-- 
Jefferson Ogata        	        ogata@cs.umd.edu
University Of Maryland          Department of Computer Science

gildea@expo.lcs.mit.EDU (Stephen Gildea) (03/11/91)

    I have another problem, and that is that I have to have higher-level access
    in order to move things into the app-defaults directory when I am installing
    X applications for my personal use. If I set the XAPPLRESDIR variable to a
    personal app-defaults directory, I have to link in all the other app-defaults
    files in this directory. (If there is another way, please let me know.)
    

You want to be setting XUSERFILESEARCHPATH instead; that variable does
take a path argument.

 < Stephen
   MIT X Consortium