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 | |
---|
1 | From mrapple@quack.kfu.com Mon Apr 26 18:31:07 1993 |
---|
2 | Newsgroups: alt.hackers |
---|
3 | From: mrapple@quack.kfu.com (Nick Sayer) |
---|
4 | Subject: screenblank and xautolock living in harmony |
---|
5 | Organization: The Duck Pond public unix: +1 408 249 9630, log in as 'guest'. |
---|
6 | Date: 23 Apr 1993 19:26:57 UTC |
---|
7 | |
---|
8 | |
---|
9 | I have a Sun and use xinit to start X. This presented a problem. |
---|
10 | If I use xautolock or xscreensaver to save the screen, then after |
---|
11 | a 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 |
---|
13 | the display when X wasn't running? |
---|
14 | |
---|
15 | The hack that saved the day was to include this in .xinitrc: |
---|
16 | |
---|
17 | ( |
---|
18 | |
---|
19 | while true ; do |
---|
20 | sleep 360 |
---|
21 | touch /dev/console |
---|
22 | done |
---|
23 | |
---|
24 | ) & |
---|
25 | killblank=$! |
---|
26 | |
---|
27 | [start up all the clients, etc, etc. Wait for the window manager |
---|
28 | to die, then ] |
---|
29 | |
---|
30 | kill $killblank |
---|
31 | |
---|
32 | The result is that screenblank is kept safely out of the way when X |
---|
33 | is running and left to do its job otherwise. |
---|
34 | |
---|
35 | Yes, I know using XDM would solve this problem. |
---|
36 | |
---|
37 | No, I'm probably not the first to think of this. |
---|
38 | |
---|
39 | You're welcome. |
---|
40 | |
---|
41 | -- |
---|
42 | Nick Sayer <mrapple@quack.kfu.com> | "Dear Sexy Nickers. I don't half fancy |
---|
43 | N6QQQ @ 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." |
---|
45 | PGP 2.2 public key via finger | -- Mr. Lucas |
---|
46 | |
---|
Note: See
TracBrowser
for help on using the repository browser.