Graphical Environment Guide
Chapter 5, Understanding resources

Examining the contents of the resource database

Examining the contents of the resource database

You can determine what resources are currently loaded in the resource database using the -query option. For example:

xrdb -query

The -query option produces a list of all of the currently recognized resource specifications, such as:

   *Background:  scoBackground
   *Font:  -*-helvetica-medium-r-*--10-*-p-*
   *FontList:  -*-helvetica-medium-r-*--10-*-p-*
   *Foreground:  scoForeground
   *XmLabel*FontList:  -*-helvetica-medium-r-*--10-*-p-*
   *XmLabelGadget*FontList:  -*-helvetica-medium-r-*--10-*-p-*
Note that if your system was modified so that scosession (which runs xrdb) is not started, or if you removed all definitions from the resource database, this command produces no output.