> Hi all,
>
> We have two SparcStation LX running Solaris v1.3, and we find that there
> is no more /bin/screenblank come bundled with the OS anymore as in SunOS 4.1.3.
> However, we still want to achieve the automatice screen blank function in
> Solaris. Any solution and suggestions, or help are much appreciated.
>
> Thanks
Thanks to all of you who responded to my above question. First of all, I
have to apologize for the mistake that the Solaris version should be 2.3
instead of 1.3
Here is a summary of the resopnses:
anthony.baxter@aaii.oz.au
-------------------------
Run xdm, or copy the screenblank command from a Sunos4 machine.
worsham@aer.com
---------------
"screenblank" is not "yet" provided with Solaris, but you can copy
it over from one of your SunOS machines and add a script to /etc/init.d
to start it (it will run under binary compatiblity). The script we use
is below (/etc/init.d/screenblank):
#ident "@(#)ANNOUNCE 1.6 92/07/14 SMI" /* SVr4.0 1.1 */
echo 'starting screenblank.'
/opt/bin/screenblank
Note: you will have to have a link from /etc/rc3.d to this file,
i.e. /etc/rc3.d/S50scnblk --> /etc/init.d/screenblank
ywhui@ie.cuhk.hk
----------------
No, there is no such command on solaris OS, but I get the source code.
The following two emails contain C source code and manpage.
teh@chinook.phy.anl.gov
-----------------------
How about the generic xlock program that comes with the X11 windows system?
It is not quite a screenblank but it blank the screen and in addition lock
the console from being used by someone else.
gm@informatik.tu-cottbus.de
---------------------------
Use the SunOS 4.1.3 scrennblank. It works fine under Solaris 2.x.
tmk@mayo.edu
------------
Attached is a tar file containing screenblank. It has been working fine for
me under Solaris-2.3. I got it over the network a while back. Hope it helps.
symanski@gold.nosc.mil
----------------------
Many people will probably suggest xautolock.
You can probably find it with gopher or archie.
Here is what I got:
Search of archive sites on the internet: xautolock
--> 1. ftp.wustl.edu:/usenet/comp.sources.x/volume17/xautolock//
2. harpo.seas.ucla.edu:/mnt/fs01/xautolock//
3. harpo.seas.ucla.edu:/pub/xautolock.
gmerin@panix.com
----------------
check out the manpage on xset with the -s parameter:
s The s option lets you set the screen saver parame-
ters. This option accepts up to two numerical
parameters, a 'blank/noblank' flag, an
'expose/noexpose' flag, an 'on/off' flag, or the
'default' flag. If no parameters or the 'default'
flag is used, the system will be set to its default
screen saver characteristics. The 'on/off' flags
simply turn the screen saver functions on or off.
The 'blank' flag sets the preference to blank the
video (if the hardware can do so) rather than
display a background pattern, while 'noblank' sets
the preference to display a pattern rather than
blank the video. The 'expose' flag sets the prefer-
ence to allow window exposures (the server can
freely discard window contents), while 'noexpose'
sets the preference to disable screen saver unless
the server can regenerate the screens without caus-
ing exposure events. The length and period
parameters for the screen saver function determines
how long the server must be inactive for screen sav-
ing to activate, and the period to change the back-
ground pattern to avoid burn in. The arguments are
specified in seconds. If only one numerical parame-
ter is given, it will be used for the length.
bernards@ECN.NL
---------------
I run a SunOS 4.1.3 /bin/screenblank on my Solaris 2.3 SLC in BCP mode
Works ok!
curnutt@Stoner.COM
------------------
Solaris FAQ:
72) Where is the Solaris2.x screenblank?
You can either run the 4.1.x screenblank in compatabilty
mode or you can compile you own from sources available
on thor.ece.uc.edu. Get the file /pub/sun-faq/screenblank_21dec93.tar.Z.
pablo@muaddib.itas.uh.edu
-------------------------
With the openwindows running, look at the workspace properties. Each
user can set the screensaver option under category miscellaneous.
I prefer the solution suggested by worsham@aer.com, BTW, I really should check
up the Solaris FAQ first before posting this simple question. Sorry again, and
thanks for your patience and still many quick responses. Thanks a lot.
-- Mr C.M. Fung | Internet: cmfung@ee.cuhk.hk Electronic Engineering Department | BITNET: The Chinese University of Hong Kong | Tel. No: (852) 609 8286 Shatin, N.T., Hong Kong | FAX No: (852) 603 5558
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:06 CDT