View Single Post
  #4   (View Single Post)  
Old 18th February 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

So you want to control monitor power settings? that's entirely different, Xorg is usually capable of handling that independently of the OS.

You could add the following to your .xinitrc/.xsession file:
Code:
...
/usr/X11R6/bin/xset s off
/usr/X11R6/bin/xset -dpms
...
This disables screen blanking and DPMS, which is used to suspend the monitor.. if it's a laptop you may not be able to disable screen blanking, I'm not entirely sure.

For other power management functionality from userland, the apmd(8) daemon accompanied by the apm(8) utility can be used to manage ACPI/APM, for a laptop, there is a sysctl to control lid behaviour.
Reply With Quote