nih-dbus-tool(1)
πΈ NAME πΈ
welcome to nih-dbus-tool(1), fresh out of the General Commands Manual section π«Ά
nih-dbus-tool is the D-Bus binding code generator. that's the job. she generates. π
π¬ SYNOPSIS π¬
nih-dbus-tool [OPTIONS]... [-o FILE] [XMLFILE]
nih-dbus-tool [OPTIONS]... -o FILE --system|--session --dest=NAME OBJECT-PATH
two whole moods, bestie β¨
- mode one: you hand her
[XMLFILE]and let her write wherever (-o FILEif you want to say). - mode two: you give her
-o FILE, pick a bus with--systemor--session, name a--dest=NAME, and point at anOBJECT-PATH.
π DESCRIPTION π
the DESCRIPTION section here slides straight into the overview, so don't stall β scroll with me π
π OVERVIEW π
okay so first things first: what even is the D-Bus introspection format? it's an XML document π that describes the interfaces implemented by a particular object. and yes, that includes the methods and signals of that interface, along with their arguments, plus the properties of that interface. the whole package. π
one document = one object, and that object is represented by the root <node> tag π³
so here's the nesting tea:
- interfaces implemented by that object β
<interface>tags inside it - methods, signals and properties defined by the interface β
<method>,<signal>and<property>tags inside the interface - arguments to methods and signals β
<arg>tags inside them - names and other values β given as attributes to the tag
then there's the extras layer: additional properties for external tools or software can live in <annotation> tags π·οΈ. those may appear within interfaces, methods, signals, properties and arguments. nih-dbus-tool makes use of many of these. and heads up β argument annotations are an nih-dbus-tool extension to the format. that's not standard, that's her thing β¨
now, the parser? reasonably liberal, on purpose, so the D-Bus introspection format can expand in future. which means:
- any unknown tag, attribute or annotation β ignored, with a warning π«
- any tag not in an expected location β ignored, with a warning π«
- a missing root node tag β error β
- missing attributes β error β
- illegal or invalid format values for defined attributes β error β
- non well-formed XML β error β
also important: character data and comments are not considered part of description, and they are not parsed. she's not reading them, so don't bother π
ποΈ OPTIONS ποΈ
ngl, the OPTIONS section on this page is literally empty β no flags listed, nothing to memorise, nothing to study π the ones you'd actually type show up in the synopsis up top.
βοΈ AUTHOR βοΈ
Written by Scott James Remnant <scott@netsplit.com> π
π BUGS π
found something cursed? report bugs at <https://launchpad.net/libnih/+bugs> πβ¨
Β©οΈ COPYRIGHT Β©οΈ
Copyright Β© 2009 Scott James Remnant <scott@netsplit.com>.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
NO warranty, bestie. not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. screaming, crying, throwing up π
and that's the page! she's from libnih-dus, dated 2009-04-11, and she's nih-dbus-tool(1) through and through πππ¦
π¦ where this page comes from
- arch rolling: libnih 1.0.3-5 Β· GPL
- ubuntu jammy: nih-dbus-tool 1.0.3-12build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms