[comp.windows.x] How do you screen save??

lmjm@doc.ic.ac.UK (Lee McLoughlin) (09/10/88)

I know about the built in screen saving.  What I want to be write is a program
like screensaver that you could get for X.V10R4.  If you have not typed at the
keyboard nor moved the mouse for some time then it would black the screen
and draw a lille box with the time on it.  To get the screen back you pressed
return where upon it would ask you for your password.  Its behavoir could be
tailored.

I can do all of the above except figure out when it is time to save.  Though
the server keeps track of this I cannot find any way of getting it to tell me
when it is now time to screen save.

Suggestions please.

	thanx in advance
		Lee
--
--
UKUUCP SUPPORT  Lee McLoughlin
	"What you once thought was only a nightmare is now a reality!"

Janet: lmjm@uk.ac.ic.doc, lmcl@uk.ac.ukc
DARPA: lmjm@doc.ic.ac.uk (or lmjm%uk.ac.ic.doc@nss.cs.ucl.ac.uk)
Uucp:  lmjm@icdoc.UUCP, ukc!icdoc!lmjm

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (09/12/88)

> I can do all of the above except figure out when it is time to save.  Though
> the server keeps track of this I cannot find any way of getting it to tell me
> when it is now time to screen save.

There is no support in the core protocol for external screen savers.  

You would need a GrabScreenSaver extension that would redirect the
SetScreenSaver and ForceScreenSaver requests and send you an event (or map a
window that you've registered as the screen saver window) whenever the screen
saver timer goes off.  

Jim