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
SamatsWiki: CheatSheet/DBus (last edited 2009-06-27 20:17:47 by SamatJain)
SamatsWiki is the personal wiki of Samat Jain.
Remember to checkout his:
Did you find something on my Wiki that you liked? Please Flattr me!