Here is a script that needs XScreenSaver running to detect the transition... This one powers off my LCD when the screensaver comes on. Maybe there is something in there you can adapt to your needs.
On Wednesday 06 October 2004 07:12 am, Joachim Förster wrote: > Hi ML, > > just one little question :-) : > > Is it possible to make the X server run a script as soon as the monitor > is switched off (by Option DPMS/off)? > > Or is there another way to get a script called/something executed? > > Joachim > > _______________________________________________ > XFree86 mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xfree86 -- Bill Chmura w. http://www.fistfullofcode.com w. http://www.explosivo.com ------------------------------------------------------ Without good motivation, science and technology, instead of helping, bring more fear and threaten global destruction. Compassionate thought is very important for humankind. -His Holiness the Dalai Lama Wisdom does not mean knowledge but experiential understanding. Wisdom helps you to change radically your habits and perceptions, as you discover the constantly changing, interconnected nature of the whole of existence. -Martine Batchelor, "Meditation For Life" -------------------------------------------------------
lightwatch2.pl
Description: Perl program