#include <hallo.h> Chris Palmer wrote on Sat Aug 18, 2001 um 12:54:44AM:
> Is it possible to setup the display in linux to shut off > after some time of inactivity, just like (gasp) Windows? Of course. You are looking for DPMS, a monitor (VESA) feature controlled by APM. To setup this at the console, load the "apm" module, or enable it using apm=on on the lilo prompt. For XFree, you either run "xset dpms number number number" manually in an xterm, or you edit the XF86Config-4 file and add the following options to the ServerLayout section. This is for woody, on Potato read the XF86Config manpage about similar options. Option "StandbyTime" "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). Default: 20 minutes. This is only suitable for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below). Option "SuspendTime" "time" sets the inactivity timeout for the "suspend" phase of DPMS mode. time is in minutes, and the value can be changed at run-time with xset(1). Default: 30 minutes. This is only suitable for VESA DPMS compatible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below). Option "OffTime" "time" sets the inactivity timeout for the "off" phase of DPMS mode. time is in minutes, and the value can be changed at run-time with xset(1). Default: 40 minutes. This is only suitable for VESA DPMS comĀ patible monitors, and may not be supported by all video drivers. It is only enabled for screens that have the "DPMS" option set (see the MONITOR section below). Gruss/Regards, Eduard. -- Writing on toilet wall: Some come here to sit and think, some come here to shit and stink.