2012-12-19 45 views

回答

1

#dbusirc.freenode.org

thiago | the command-line utility can only send calls 
thiago | use dbus-monitor for that 
+0

與gdbus比較好,我認爲,例:'gdbus顯示器-e -d com.canonical.Unity -o/COM /經典/團結/ Session',這樣你就可以監視屏幕是否被鎖定;鏈接:http://askubuntu.com/questions/505681/unity-how-to-detect-if-the-screen-is-locked –