configuring X Windows on HP-UX (other graphics cards)

display power management signaling (DPMS)

More information (including sample code) on the DPMS Extension entry points can be found online, via the man pages. The extension entry points are:

DPMS

DPMSQueryExtension

DPMSGetVersion

DPMSCapable

DPMSSetTimeouts

DPMSGetTimeouts

DPMSEnable

DPMSDisable

DPMSForceLevel

DPMSInfo

XFree86 provides four options that may be set in the ServerLayout section that may be used to support this functionality. The options are: blank time, standby time, suspend time, and off time. The following example sets these to 10, 20, 30, and 60 minutes respectively.

Section ìServerLayoutî

. . .

 

 

Option

ìblank timeî

ì10î

Option

ìstandby timeî

ì20î

Option

ìsuspend timeî

ì30î

Option

ìoff timeî

ì60î

. . .

 

 

 

EndSection

 

 

 

 

 

 

 

Option

Value

Default

Description

 

 

 

 

BlankTime

time

10

Blank Time sets the inactivity

 

 

 

timeout for the blanking phase of

 

 

 

the screensaver. Time is in minutes.

 

 

 

This is equivalent to the Xserver's

 

 

 

`-s' flag, and the value can be

 

 

 

changed at run-time with xset(1).

 

 

 

 

StandbyTime

time

20

Standby Time sets the inactivity

 

 

 

timeout for the “standby” phase of

 

 

 

DPMS mode. Time is in minutes,

 

 

 

and the value can be changed at

 

 

 

run-time with xset(1).

 

 

 

 

Chapter 3

57