X11::Protocol::Ext::DPMS - Perl module for the X11 Protocol DPMS Extension
use X11::Protocol; $x = X11::Protocol->new(); $x->init_extension('DPMS');
This module is used to control the DPMS features of compliant monitors.
This extension adds the constant type DPMSPowerLevels, with values as defined in the standard.
This extension adds several requests, called as shown below:
$x->DPMSGetVersion => ($major, $minor) $x->DPMSCapable => ($capable) $x->DPMSGetTimeouts => ($standby_timeout, $suspend_timeout, $off_timeout) $x->DPMSSetTimeouts($standby_timeout, $suspend_timeout, $off_timeout) => () $x->DPMSEnable => () $x->DPMSDisable => () $x->DPMSForceLevel($power_level) => () $x->DPMSInfo => ($power_level,$state)
Jay Kominek <jay.kominek@colorado.edu>
perl(1), X11::Protocol, X Display Power Management Signaling (DPMS) Extension (X Consortium Standard)
To install X11::Protocol, copy and paste the appropriate command in to your terminal.
cpanm
cpanm X11::Protocol
CPAN shell
perl -MCPAN -e shell install X11::Protocol
For more information on module installation, please visit the detailed CPAN module installation guide.