header image
[ # ] Laptop Display closed => Display off
April 8th, 2007 under Linux

For all those who want their laptop to be a little bit less power consuming try this to turn off the display when the laptop lid is closed. ACPI Daemon and vbetool are needed for this to work.


event=button[ /]lid
action=/etc/acpi/lid.sh %e


if [ ! “$(cat /proc/acpi/button/lid/LID/state | grep open)” = “” ]; then
vbetool dpms on
vbetool dpms off

Write a comment