#!/bin/sh # .xinitrc for mavassar@scarlett.vassar.edu # # This file is executed whenever the X server (such as co-Xist on the # NeXT) is started. It starts up other programs, and the window manager. # # Eric Myers, Department of Physics and Astronomy, Vassar College # @(#) $Revision: 2.0 $ $Date: 1999/06/23 20:49:49 $ ####################################################################### # Comment out or modify what you don't like to suit your own purpose. BG_GIF=/usr/local/lib/images/VCseal.gif # your own root screen picture SHELL=tcsh # this is your default shell (tcsh, bash, ksh, csh?) xsetroot -solid black # Don't say just `xhost +`, as it can allow anybody on the Internet to # read your keystrokes and see your screen! Add selected hosts with + xhost - xhost +`hostname` ## # X resources: # Could be .Xdefaults or .Xresources. if [ -f $HOME/.Xdefaults ]; then XENVIRONMENT=$HOME/.Xdefaults fi if [ -f $HOME/.Xresources ]; then XENVIRONMENT=$HOME/.Xresources fi export XENVIRONMENT xrdb -merge $XENVIRONMENT if [ -f $HOME/.Xresources.`hostname` ]; then xrdb -merge $HOME/.Xresources.`hostname` fi ## # Extra/alternate key definitions with xmodmap # (e.g. to change position of CTRL key, or similar) if [ -f $HOME/.xmodmaprc ]; then xmodmap $HOME/.xmodmaprc fi ## # Console window in upper left: (biff y; xterm -C -sb -geom 80x10+0+0 -name CONSOLE -title "CONSOLE" -e $SHELL &) ## # A couple of xterm windows to work in: # (xterm -g 80x24+0+225 -e $SHELL &) (xterm -g 80x24-0-10 -e $SHELL &) ## # Mail notification: # (nice -15 xbiff -g 64x64-120+0 &) ## # Date and Time and load # (nice -15 xclock -g 100x100-0+0 -chime -bg gold1 -title " rolex " &) (nice -15 xload -jumpscroll 1 -g 64x64+0-0 &) xset m 4 2 # speed the mouse! ## # Root screen background xsetroot -solid gray if [ -f $BG_GIF ]; then (nice -19 xgifroot $BG_GIF >/dev/null 2>&1 &) fi ## # Last thing to do, always, is start the window manager! # Then when it exits, so does the X session twm exit 0