Peek data in DBus
I wonderd to see what data flow in DBus,related to gnome applications . I memorize here how to watch the data.
To do this,simply use dbus-monitor like this,
dbus-monitor --session --monitor
And it shows the data like this,
...snip... method call sender=:1.7 -> dest=:1.2 serial=379 path=/org/gnome/SessionManager; interface=org.gnome.SessionManager; member=IsInhibited uint32 8 method return sender=:1.2 -> dest=:1.7 reply_serial=379 boolean false method call sender=:1.7 -> dest=:1.2 serial=380 path=/org/gnome/SessionManager; interface=org.gnome.SessionManager; member=IsInhibited uint32 8 method return sender=:1.2 -> dest=:1.7 reply_serial=380 boolean false method call sender=:1.49 -> dest=org.freedesktop.Notifications serial=416 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation method return sender=:1.19 -> dest=:1.49 reply_serial=416 string "gnome-shell" string "GNOME" string "3.2.1" string "1.2" method call sender=:1.49 -> dest=org.freedesktop.Notifications serial=417 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify string "Banshee" uint32 1 string "audio-x-generic" string "Foo Bar (Foo Bar)" string "<i>by</i> foo" ...snip...