أدوات المستخدم

أدوات الموقع


pri:dbus

playing with dbus and hal

http://people.freedesktop.org/~david/hal-spec/hal-spec.html#interfaces

dbus-send --print-reply --session --dest=org.freedesktop.PackageKit /org/freedesktop/PackageKit org.freedesktop.PackageKit.Modify.InstallPackageNames uint32:0 array:string:'easytag' string:'hide-confirm-search,show-confirm-install,show-progress,show-finished
 
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/Manager org.freedesktop.DBus.Introspectable.Introspect | less
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/Manager org.freedesktop.Hal.Manager.GetAllDevices | less
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_label_Fedora_9_i386_DVD org.freedesktop.Hal.Device.GetAllProperties | less
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_label_Fedora_9_i386_DVD org.freedesktop.Hal.Device.GetProperty string:volume.mount_point
 
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/volume_label_Fedora_9_i386_DVD org.freedesktop.Hal.Device.Volume.Mount string:'Fedora 9 i386 DVD' string:'auto' array:string:
 
dbus-send --session --dest=org.gnome.ScreenSaver --print-reply --reply-timeout=500 /org/gnome/ScreenSaver org.freedesktop.DBus.Introspectable.Introspect | less
 
dbus-send --session --dest=org.gnome.ScreenSaver --type=method_call --print-reply --reply-timeout=500 /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock


نقاش

أدخل تعليقك:
65 -4 = ?
 
pri/dbus.txt · آخر تعديل: 2015/04/23 00:21 (تحرير خارجي)