DBus binding for Tcl

Monitoring
Login

Monitoring

When the dbus monitor command is used, the registered script is called for all received D-Bus messages. However, by default only messages explicitly directed to the D-Bus name(s) of the application are sent to the application. To receive other messages, a filter must be set up.

To receive as many messages as possible, the following filters can be used:

dbus filter add -eavesdrop true -type signal
dbus filter add -eavesdrop true -type method_call
dbus filter add -eavesdrop true -type method_return
dbus filter add -eavesdrop true -type error