LISTRES(1)
๐ LISTRES(1) ยท General Commands Manual ๐
okay bestie, listres is literally the tool for peeking at what resources your widgets are hiding โจ
๐ธ NAME ๐ธ
listres - list resources in widgets ๐ฆ
๐ง SYNOPSIS ๐ง
listres [-option ...]
๐ DESCRIPTION ๐
okay so the listres program makes a list of a widget's resource database ๐ for each resource it tells you the class where it was first defined, the instance and class name, and its type. it's giving full detective energy ๐ต๏ธโโ๏ธ
if you don't name any specific widgets and don't use the -all switch, you get a two-column list of widget names and their class hierarchies instead ๐
๐ซถ OPTIONS ๐ซถ
listres takes all the standard toolkit command line options, plus these cuties:
-allโ tellslistresto print info for every known widget and object ๐-nosuperโ skips any resources inherited from a superclass. super useful for spotting which resources are brand new to a subclass ๐-variableโ identifies widgets by the names of their class record variables instead of the class name given in the variable. this is the move when subclasses share a class name with their superclasses ๐ฅ-top nameโ sets which widget counts as the top of the hierarchy ๐ case doesn't matter, and the name can match either the class variable name or the class name. the default iscore-format printf-stringโ sets the printf-style format string used to print the name, instance, class, and type of each resource ๐-helpโ prints a usage message and exits ๐-versionโ prints version info and exits ๐
๐ฆ X DEFAULTS ๐ฆ
To be written. ๐
๐ SEE ALSO ๐
X(7), xrdb(1), appropriate widget documents ๐
โ ๏ธ BUGS โ ๏ธ
on operating systems that don't support dynamic linking of run-time routines, this program has to have all of its known widgets compiled in ๐ญ the sources include a few tools that automate this for various widget sets, so you're not doing it all by hand ๐ซถ
๐ AUTHOR ๐
Jim Fulton, MIT X Consortium ๐
bestie, that's the whole thing! ๐ง it's X Version 11, listres 1.0.6, and LISTRES(1) all the way down ๐ โจ
๐ฆ where this page comes from
- debian trixie: x11-utils 7.7+7
- opensuse-leap 16.0: listres 1.0.6-bp160.1.12 ยท X11
- opensuse-leap 16.0: listres 1.0.6-bp160.1.12 ยท X11
- opensuse-leap 16.0: listres 1.0.6-bp160.1.12 ยท X11
- opensuse-leap 16.0: listres 1.0.6-bp160.1.12 ยท X11
- ubuntu questing: x11-utils 7.7+7
- ubuntu resolute: x11-utils 7.7+7build1
- ubuntu stonking: x11-utils 7.7+7build1
- Copyright (c) 1994 X Consortium
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms