#!/bin/ksh # # Script: sho_scrnsvrs_alldesktops # # Where: in $FEDIR/scripts where $FEDIR=/apps/nns_com/fea # # Purpose: Shows the user's screen saver defs, for all his/her host-desktops. # # Called by: feamain -> feautils.menu -> config.menu script # # Written by: B. Montandon 14Jan98 # Updated by: B. Montandon 14Jan98 # set -v # HOSTNAME=`hostname` . $FEDIR/scripts/clearnns . $FEDIR/scripts/set_localoutlist echo " ................... `date` ....................... Your screen saver definitions, for all your host-desktops. This Host: `hostname` ---------------------------------------------------------------------------- Following are all your existing host-desktop directories, shown by ls -d $HOME/.desktop* " > $OUTLIST ls -d $HOME/.desktop* >> $OUTLIST echo " ---------------------------------------------------------------------------- Following are all your existing 'NON-LINKED' host-desktops -- the desktops that define your desktops for all other 'LINKED' hosts. The command ls -ld .desktop* | grep '^d' | awk '{print \$NF}' gives " >> $OUTLIST ls -ld .desktop* | grep '^d' | awk '{print $NF}' >> $OUTLIST echo " ---------------------------------------------------------------------------- Following are all your screen definitions in the NON-LINKED host-desktops. Your screen definitions are in files named 'panelsession' in your NON-LINKED host-desktop directories. The 'mode' parameter indicates the screen-saver. SCREEN-DEFINITION(S): " >> $OUTLIST ls -ld .desktop* | grep '^d' | awk '{print $NF}' | \ sed 's|$|/panelsession|g' | xargs cat | grep mode >> $OUTLIST echo " ........................................................................... These definitions are from the following NON-LINKED hosts (panelsession files). " >> $OUTLIST ls -ld .desktop* | grep '^d' | awk '{print $NF}' \ |sed 's|$|/panelsession|g' | xargs ls >> $OUTLIST echo " ---------------------------------------------------------------------------- Use the SGI Toolchest option 'Desktop,Customize,ScreenSaver' on the NON-LINKED hosts to change high-CPU-usage 'mode' (screen saver) names FROM hop (Space-plants) random (Random) flame (Fractal-Flames) swarm (Swarm) life (Life) pop (Pop) rotor (Rotor) pyro (Pyro) TO qix (Qix) image (SGI Image) OR blank (Blank). You can remote login to any of the NON-LINKED hosts and use the command toolchest & at the Unix prompt from that host. That will display the toolchest of the remote host on your local terminal so that you can change your screen saver definition for the remote machine. " >> $OUTLIST . $FEDIR/scripts/shofil $OUTLIST