Path: utzoo!attcan!uunet!kddlab!titcca!sragwa!sran124!srava!erik From: erik@srava.sra.JUNET (Erik M. van der Poel) Newsgroups: comp.windows.x Subject: Re: X resource management Message-ID: <3185@srava.sra.JUNET> Date: 25 Nov 89 07:57:58 GMT References: <6628@merlin.usc.edu> Reply-To: erik@sra.co.jp (Erik M. van der Poel) Organization: Software Research Associates, Inc., Japan Lines: 50 Here is a correct version of the procedure followed for resources: --- Start --- For clients using the R3 X Toolkit, the resource database is loaded and merged in the following order. 1. /usr/lib/X11/app-defaults/ 2. if XAPPLRESDIR set $XAPPLRESDIR else / 3. if server's RESOURCE_MANAGER property set (by xrdb) contents of RESOURCE_MANAGER else /.Xdefaults 4. if XENVIRONMENT set $XENVIRONMENT else /.Xdefaults- 5. command line (e.g. -geometry, -xrm) --- End --- > 1. The command-line option never override the default value I specified > in the .Xdefaults file. You should provide more information (by e-mail). Specifically: * the command line * your .Xdefaults * the program > 2. Every time I change the default value in .Xdefaults file, I must type > xrdb .Xdefaults then run my program, otherwise the new value never > override the old value. The .Xdefaults file is ignored if the RESOURCE_MANAGER property has been set (by xrdb). So if you want your .Xdefaults to take effect, you must avoid using xrdb. You might be invoking xrdb from your .xsession or your .xinitrc or whatever you use when you start up X. -- Erik M. van der Poel erik@sra.co.jp (Japan) SRA, 1-1-1 Hirakawa-cho, Chiyoda-ku erik%sra.co.jp@uunet.uu.net (USA) Tokyo 102 Japan. TEL +81-3-234-2692 erik%sra.co.jp@mcvax.uucp (Europe)