On Mon, Apr 15, 2002 at 10:44:17AM +0200, St�phane Teletch�a wrote:
> For a program compiled by Mdk team, i sometimes encounter problems to find 
> the config files locatoins.
> For example in rxvt :
> man rxvt ...
> RESOURCES (available also as long-options)
>        Note: `rxvt --help' gives a list of  all  resources  (long
>        options)  compiled  into  your  version.  If compiled with
>        internal Xresources support  (i.e.  rxvt  -h  lists  .Xd�
>        faults) then rxvt accepts application defaults set in XAP�
>        PLOADDIR/Rxvt     (compile-time      defined:      usually
>        /usr/lib/X11/app-defaults/Rxvt)   and   resources  set  in
>        ~/.Xdefaults, or ~/.Xresources if  ~/.Xdefaults  does  not
> 
> or /usr/lib/X11/app-defaults/ does not exist !!!
> 
> So is there a command i can use to figure out where the config file is placed 
> (and not where it should be placed !!!)
less your-rxvt-executable
 (ie /usr/X11R6/bin/rxvt.cjk - /usr/openwin/bin/rxvt is a script)
 search for app-defaults using / key
 You will find /usr/X11R6/lib/X11/app-defaults/ which exists at least on
 my machine

you may try `locate app-defaults' as well


But patching the documentation or creating a link would make the
searching certainly easier.

-- 
        Michal Suchanek
        [EMAIL PROTECTED]

Reply via email to