LinuxCommandLibrary

qdbus

Query and interact with D-Bus services

TLDR

List D-Bus services

$ qdbus
copy
List service objects
$ qdbus [org.freedesktop.DBus]
copy
Call method
$ qdbus [service] [object] [method]
copy
Get property
$ qdbus [service] [object] [property]
copy

SYNOPSIS

qdbus [options] [service] [object] [method]

DESCRIPTION

qdbus is a Qt-based command-line tool for interacting with D-Bus services on Linux desktops. It can list available services, browse their object hierarchies, read and write properties, and call methods, making it useful for debugging, scripting, and integrating with desktop applications.
When invoked without arguments, it lists all services on the session bus. Adding a service name shows its object paths, and adding an object path shows its interfaces and methods. The --system flag switches to the system bus for interacting with system-level services like NetworkManager or systemd.

PARAMETERS

SERVICE

D-Bus service name.
OBJECT
Object path.
METHOD
Method or property.
--system
Use system bus.
--session
Use session bus.
--literal
Print literal reply.

CAVEATS

Qt dependency. For D-Bus interaction.

HISTORY

qdbus is part of Qt for D-Bus interaction.

SEE ALSO

dbus-send(1), gdbus(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community