APPRES(1)

๐Ÿ“ฆ
version 7.7+7build1 ยท 3 versions
, in arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– APPRES(1) ๐Ÿ’–

okay so this is the General Commands Manual page for appres, aka the one where you learn how to peek at X application resources. bestie, this is so you ๐Ÿซถ

โœจ NAME โœจ

appres - list X application resource database

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

appres [class [instance]] [-1] [-V] [toolkitoptions]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so appres prints out all the resources an application sees (or just a subhierarchy of one) for the class and instance names you give it. it's literally how you check which resources a certain program is gonna load ๐Ÿ‘€โœจ

for example:

% appres  XTerm

this lists every resource that any xterm program will load. no class? no cap, it defaults to the class -AppResTest- ๐Ÿ’…

now if you want a particular instance name, you can either type it right after the class, or use the normal Xt toolkit option. like:

% appres  XTerm  myxterm

or

% appres  XTerm  -name  myxterm

both do the same thing bestie, pick your fave ๐Ÿฆ‹

to get a subhierarchy, use hierarchical class and instance names. the number of class components and instance components has to be equal (very important, don't skip this ๐Ÿ˜ญ), and you should not pass the instance name with a toolkit option. example:

% appres  Xman.TopLevelShell.Form  xman.topBox.form

this lists the resources of the widgets in the xman topBox hierarchy. and if you only want the resources for one specific level of the hierarchy, slap on the -1 option. like this:

% appres  XTerm.VT100  xterm.vt100  -1

and boom, you get just the resources matching the xterm vt100 widget ๐Ÿ”ฅ

the -V option prints the appres command version and then exits, so it's giving quick version check energy ๐ŸŒˆ

๐Ÿ’œ SEE ALSO ๐Ÿ’œ

X(7), xrdb(1), listres(1)

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Jim Fulton, MIT X Consortium


okay that's the whole tea, bestie ๐Ÿ“ this page came from X Version 11, the appres 1.0.7 source, filed under APPRES(1) ๐Ÿงš love you, mwah ๐Ÿ’‹โœจ