49

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 6

61

Have you tried d-feet:

sudo apt-get install d-feet

Homepage

0
7

For Kubuntu users, KDE ships with qdbusviewer-qt4, which can list all available commands to all dbus clients.

Screenshot

1
  • 3
    for 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
7

Another useful D-Bus debugging and profiling tool is Bustle.

1
  • 1
    From the link, it looks like this cannot list potential commands, as per the question.
    – Sparhawk
    Aug 2, 2014 at 12:16
6

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.

1
  • 2
    I don't think this can list potential commands, as per the question.
    – Sparhawk
    Aug 2, 2014 at 12:17
0

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.
  • 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.

You must log in to answer this question.