No, the X-server runs with root permissions and it's not safe for it to be executing other processes. You can get XEvents for screensaver events, however, so you could have a background processes that waits for these, but the screen- saver coming on isn't quite the same thing as DPMS. This is the way screensavers get launched. There is an X-server extension for forcing and querying DPMS state, but unfortunately, it doesn't include the ability to send events on transitions. Mark. On Wed, 6 Oct 2004, [ISO-8859-15] 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 > XFree86@xxxxxxxxxxx > http://XFree86.Org/mailman/listinfo/xfree86 > _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86