Is there a graphical tool or maybe a command-line one that lists all the messages and parameters/arguments that I can send to a DBUS-enabled program?? I really want to try scripting some DBUS things but I can hardly find any documentation for the DBUS capabilities of most applications.
6 Answers
For Kubuntu users, KDE ships with qdbusviewer-qt4
, which can list all available commands to all dbus clients.
-
3for the newest distributions of kubuntu, use qdbusviewer which is from the qdbus-qt5 package (to access qdbus-qt5) and for the qdbusviewer itself you need qttools5-dev-tools. You can still get the old one in qt4-dev-tools if you must have qt4 compatibility. Dec 6, 2014 at 12:06
I've been using dbus-monitor
, which is really useful. It provides a --profile
mode, which provides a quick summary of all the signals bouncing around.
-
2I don't think this can list potential commands, as per the question.– SparhawkAug 2, 2014 at 12:17
D-Feet is no longer maintained. D-Feet themselves suggest to use D-Spy (also spelled d-spy).
- GUI-based D-Spy can be used to discover all available D-Bus bus names, interfaces, signals and methods, as well as execute methods and query for properties.
- Installation via flatpak:
flatpak install flathub org.gnome.dspy
- Installation via flatpak:
- GUI-based Bustle can be used to capture/record ongoing D-Bus activity, including method invocations and emitted signals. After recording, the activity is presented as a sequence diagram.
- Installation via flatpak:
flatpak install flathub org.freedesktop.Bustle
- Installation via flatpak: