版权声明:本文系作者原创。未经许可,不得转载。
dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListActivatableNames
返回结果如下:
method return sender=org.freedesktop.DBus -> dest=:1.72 reply_serial=2
array [
string "org.freedesktop.DBus"
string "org.freedesktop.login1"
string "net.connman.vpn"
string "org.freedesktop.systemd1"
string "org.freedesktop.PolicyKit1"
string "org.freedesktop.hostname1"
string "org.bluez"
string "org.pacrunner"
string "org.freedesktop.PackageKit"
string "org.freedesktop.UPower"
string "cmos.phone.rpm.query"
string "cn.cmos.installer"
string "fi.epitest.hostap.WPASupplicant"
string "org.gnome.GConf.Defaults"
string "org.freedesktop.timedate1"
string "fi.w1.wpa_supplicant1"
string "org.freedesktop.locale1"
]