Next: , Previous: , Up: Extensions   [Contents][Index]


16.4 DPMS - The X11 Display Power Management Signaling Extension

Function: dpms-get-version display &optional (major-version 1) (minor-version 1)
display

display

major-version

card16

minor-version

card16

Return two values: the major and minor version of the DPMS implementation the server supports.

If supplied, the major-version and minor-version indicate what version of the protocol the client wants the server to implement.

Function: dpms-capable display
display

display

True if the currently running server’s devices are capable of DPMS operations.

The truth value of this request is implementation defined, but is generally based on the capabilities of the graphic card and monitor combination. Also, the return value in the case of heterogeneous multi-head servers is implementation defined.

Function: dpms-get-timeouts display
display

display

Return three values: the current values of the DPMS timeout values. The timeout values are (in order returned): standby, suspend and off. All values are in units of seconds. A value of zero for any timeout value indicates that the mode is disabled.

Function: dpms-set-timeouts display standby suspend off
display

display

standby

card16

suspend

card16

off

card16

Set the values of the DPMS timeouts. All values are in units of seconds. A value of zero for any timeout value disables that mode.

Function: dpms-enable display
display

display

Enable the DPMS characteristics of the server using the server’s currently stored timeouts. If DPMS is already enabled, no change is affected.

Function: dpms-disable display
display

display

Disable the DPMS characteristics of the server. It does not affect the core or extension screen savers. If DPMS is already disabled, no change is effected.

This request is provided so that DPMS may be disabled without damaging the server’s stored timeout values.

Function: dpms-force-level display power-level
display

display

power-level

(member :dpms-mode-on :dpms-mode-standby :dpms-mode-suspend :dpms-mode-off)

Forces a specific DPMS level on the server.

Function: dpms-info display
display

display

Returns two values: the DPMS power-level and state value for the display.

State is one of the keywords DPMS-ENABLED or DPMS-DISABLED.

If state is DPMS-ENABLED, then power-level is returned as one of the keywords DPMS-MODE-ON, DPMS-MODE-STANDBY, DPMS-MODE-SUSPEND or DPMS-MODE-OFF. If state is DPMS-DISABLED, then power-level is undefined and returned as NIL.


Next: , Previous: , Up: Extensions   [Contents][Index]