source: trunk/third/xscreensaver/screenblank.txt @ 12203

Revision 12203, 1.3 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12202, which included commits to RCS files with non-trunk default branches.
Line 
1From mrapple@quack.kfu.com Mon Apr 26 18:31:07 1993
2Newsgroups: alt.hackers
3From: mrapple@quack.kfu.com (Nick Sayer)
4Subject: screenblank and xautolock living in harmony
5Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'.
6Date: 23 Apr 1993 19:26:57 UTC
7
8
9I have a Sun and use xinit to start X. This presented a problem.
10If I use xautolock or xscreensaver to save the screen, then after
11a period of inactivity screenblank would turn the video off despite
12'xset s off'. If I didn't run screenblank, then who would take care of
13the display when X wasn't running?
14
15The hack that saved the day was to include this in .xinitrc:
16
17(
18
19while true ; do
20sleep 360
21touch /dev/console
22done
23
24) &
25killblank=$!
26
27[start up all the clients, etc, etc. Wait for the window manager
28to die, then ]
29
30kill $killblank
31
32The result is that screenblank is kept safely out of the way when X
33is running and left to do its job otherwise.
34
35Yes, I know using XDM would solve this problem.
36
37No, I'm probably not the first to think of this.
38
39You're welcome.
40
41--
42Nick Sayer <mrapple@quack.kfu.com>   | "Dear Sexy Nickers. I don't half fancy
43N6QQQ @ N0ARY.#NOCAL.CA.USA.NOAM     | you. Meet me at the lift at 5:30 and
44+1 408 249 9630, log in as 'guest'   | we'll get it together."
45PGP 2.2 public key via finger        |               -- Mr. Lucas
46
Note: See TracBrowser for help on using the repository browser.