appres - list X application resource database
| Use Case | Command | Description |
|---|---|---|
| List resources for an application class | appres XTerm | Prints all resources that any xterm program will load |
| List resources for a specific instance | appres XTerm myxterm | Matches a particular instance name |
| List resources for a subโhierarchy | appres Xman.TopLevelShell.Form xman.topBox.form | Lists resources for a specific widget hierarchy |
| List resources for a specific level | appres XTerm.VT100 xterm.vt100 -1 | Shows only resources matching that exact level |
| Show version | appres -V | Prints the appres command version and exits |
appres [class [instance]] [-1] [-V] [toolkitoptions]
๐ The appres program prints the resources seen by an application (or subโhierarchy of an application) with the specified class and instance names. It can be used to determine which resources a particular program will load. For example,
% appres XTerm
will list the resources that any xterm program will load. If no application class is specified, the class -AppResTest- is used.
๐ฏ To match a particular instance name, specify an instance name explicitly after the class name, or use the normal Xt toolkit option. For example,
% appres XTerm myxterm
or
% appres XTerm -name myxterm
๐๏ธ To list resources that match a subโhierarchy of an application, specify hierarchical class and instance names. The number of class and instance components must be equal, and the instance name should not be specified with a toolkit option. For example,
% appres Xman.TopLevelShell.Form xman.topBox.form
will list the resources of widgets of xman topBox hierarchy. ๐ To list just the resources matching a specific level in the hierarchy, use the -1 option. For example,
% appres XTerm.VT100 xterm.vt100 -1
will list the resources matching the xterm vt100 widget.
๐ The -V option prints the appres command version and exits.
Jim Fulton, MIT X Consortium
X Version 11 appres 1.0.5 APPRES(1)
Generated by phpman v4.9.26-1-g511901d Author: Che Dong Under GNU General Public License
2026-08-09 10:10 @2600:1f28:365:80b0:50b3:453e:ff52:20f7
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format