Hello,
How to diable the Screen Saver ?
Sorry for asking such fool question, I'm not familiar with this but I
want to view some special alarm status of an application on the screen
from several meters away.
Thanks a lot.
Best Wishes,
Lydia.
First get the original screen saver values:
XGetScreenSaver(display, &timeout, &interval, &prefer_blanking, &allow_exposure);
To set the screen saver (disable):
XSetScreenSaver(display, 0, 0, DefaultBlanking, DefaultExposures);
When your applications about to be finished, it is a good idea
to reenable the screen saver:
XSetScreenSaver(display, timeout, interval, prefer_blanking, allow_exposure);
--
-------------------------------------------------------------------------------
Allen Yee Personal Internet: y...@ix.netcom.com
Work Internet: alle...@internet.uscs.com
I'm an Unix developer and OS/2 user...I don't NEED a life!
If you just want it global I think you can use xset
e.g. type
xset s off
at the prompt
Wfg
Sven Boden