Fwd: 'resetScreenSaver' from 'Graphics.X11.Xlib.Misc'

---------- Forwarded message ----------
From: Dontdie YCH
On Wed, Jan 21, 2015 at 1:22 AM, Dontdie YCH
wrote: But it does not working. I didn't know how I directly deal with X11 lib. Fortunately, I found 'resetScreenSaver' from 'Graphics.X11.Xlib.Misc' that say interface to XResetScreenSaver().
resetScreenSaver is a one-shot operation that turns off any currently running screen saver by resetting the no-activity timer. If you want to keep the screen saver off, you need a thread that periodically calls resetScreenSaver, perhaps once every 30 seconds.
-- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (1)
-
Dontdie YCH