X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/f617db13b0685c674817a6c7c1d148da3c07081f..852cd5fbddafbfed93df4cda8ba366b14922e95d:/xinitrc diff --git a/xinitrc b/xinitrc index 17471fe..4e52f4b 100755 --- a/xinitrc +++ b/xinitrc @@ -1,6 +1,7 @@ #! /bin/bash xrdb -override $HOME/.Xdefaults +: ${VNCSESSION=false} export __mdw_sechost="`hostname`" # --- Do some fiddling --- @@ -11,7 +12,7 @@ xset r rate 500 50 xset m 1 1 gnome-settings-daemon& mail-notification& -gkrellm& +$VNCSESSION || gkrellm& eval `xscsize -bx` # --- Crank up ESD --- @@ -27,12 +28,11 @@ enlightenment $EOPTS& # --- Crank up a screenlock program --- -if ${SCSAVE-true}; then +if ! $VNCSESSION; then xscreensaver-command -exit xscreensaver -no-splash& fi gnome-panel& -mail-notification& # --- Emacs window measurements --- #