Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
apps:screensaver:dbus [2018/11/22 16:55] bluesabreapps:screensaver:dbus [2019/12/09 11:13] kevinbowen
Line 1: Line 1:
 +~~NOTOC~~
 +{{ :apps:screensaver:preferences-desktop-screensaver.png?nolink|}}
 ====== Xfce Screensaver DBUS Interface ====== ====== Xfce Screensaver DBUS Interface ======
 +
 +    * ** [[#Methods|Methods]] **
 +    * ** [[#Signals|Signals]] **
 +    * ** [[#Examples|Examples]] **
  
 This document was originally authored by William Jon McCann.\\ This document was originally authored by William Jon McCann.\\
 The source material can be found in the [[https://git.xfce.org/apps/xfce4-screensaver/tree/doc|Xfce Screensaver GIT repository]]. The source material can be found in the [[https://git.xfce.org/apps/xfce4-screensaver/tree/doc|Xfce Screensaver GIT repository]].
 +
 +----
  
 ===== Introduction ===== ===== Introduction =====
Line 13: Line 21:
 | DBUS Object Path: | /org/xfce/ScreenSaver | | DBUS Object Path: | /org/xfce/ScreenSaver |
 | DBUS Interface: | org.xfce.ScreenSaver | | DBUS Interface: | org.xfce.ScreenSaver |
 +
 +----
  
 ===== Methods ===== ===== Methods =====
Line 87: Line 97:
 | out | unsigned integer | Active time in seconds | | out | unsigned integer | Active time in seconds |
  
-''**GetSessionIdle**'' +[[|Back To Top]] 
- +----
-Returns the value of the current state of session idleness. +
- +
-^ Direction ^ Type ^ Description ^ +
-| out | boolean | If the session is idle |+
  
 ===== Signals ===== ===== Signals =====
Line 104: Line 110:
 ^ Direction ^ Type ^ Description ^ ^ Direction ^ Type ^ Description ^
 | out | boolean | Returns the value of the current state of activity. | | out | boolean | Returns the value of the current state of activity. |
- 
-''**SessionIdleChanged**'' 
- 
-See method GetActive(). 
- 
-^ Direction ^ Type ^ Description ^ 
-| out | boolean | Returns the value of the current state of activity. | 
- 
-''**AuthenticationRequestBegin**'' 
- 
-Emitted before an authentication request 
- 
-''**AuthenticationRequestEnd**'' 
- 
-Emitted after an authentication request 
  
 ===== Examples ===== ===== Examples =====
Line 142: Line 133:
 </code> </code>
  
-Or watch for a specific screensaver signal:+[[|Back To Top]] 
 +---- 
 +[[ :apps:screensaver:start:|Return to Main xfce4-screensaver page]]
  
-<code> 
-dbus-monitor --session \ 
-          "type='signal',interface='org.xfce.ScreenSaver',member='SessionIdleChanged'" 
-</code>