SamatsWiki

Quickly using qdbus

qdbus is shipped with Qt, and is easier to use than dbus-send.

   1 # Invoke KDE's screensaver
   2 qdbus org.kde.screensaver /ScreenSaver Lock
   3 # Turn off monitors with PowerDevil
   4 qdbus org.freedesktop.PowerManagement /modules/powerdevil turnOffScreen


CategoryCheatSheet

SamatsWiki: CheatSheet/DBus (last edited 2009-06-27 20:17:47 by SamatJain)