gdbus
TLDR
List all names on the session bus
SYNOPSIS
gdbus command [options]
DESCRIPTION
gdbus is a command-line tool for interacting with D-Bus, the inter-process communication system used extensively in Linux desktop environments. It's part of GLib and provides a way to inspect, call methods on, and monitor D-Bus objects.
The session bus is used for user applications (desktop notifications, media players, etc.), while the system bus handles system-wide services (NetworkManager, UPower, etc.).
Use introspect to discover available interfaces and methods on any D-Bus object before interacting with it.
PARAMETERS
list-names
List all names on a busintrospect
Introspect a remote objectcall
Invoke a method on a remote objectemit
Emit a signalmonitor
Monitor a remote objectwait
Wait for a bus name to appear--session
Connect to the session bus (user-specific)--system
Connect to the system bus (system-wide)--dest NAME
Destination bus name--object-path PATH
D-Bus object path--method INTERFACE.METHOD
Method to call--signal INTERFACE.SIGNAL
Signal to emit
CAVEATS
D-Bus method signatures must match exactly. Complex types require proper GVariant formatting. Some system bus operations require elevated privileges or PolicyKit authorization.
HISTORY
gdbus was introduced as part of GLib's GDBus implementation in 2010 (GLib 2.26), replacing the older dbus-glib bindings. It provides a more modern, GObject-based interface to D-Bus.


