From d7e7beae5ee6d974ae21ef7c2e0058c29de37b79 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Mon, 20 Feb 2006 04:20:54 +0000 Subject: [PATCH] added kde path if needed --- sesman/startwm.sh | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/sesman/startwm.sh b/sesman/startwm.sh index e28b00dd..193eed78 100755 --- a/sesman/startwm.sh +++ b/sesman/startwm.sh @@ -1,4 +1,15 @@ #!/bin/sh + +# edit this file to run whatever window manager you want +# defaults to running kde + +# for kde +if [ -d /opt/kde3/bin ]; then + export PATH=/opt/kde3/bin:$PATH +fi +if [ -d /opt/kde/bin ]; then + export PATH=/opt/kde/bin:$PATH +fi if [ "'which startkde'" != "" ]; then startkde exit 0 @@ -7,14 +18,26 @@ if [ "'which kde'" != "" ]; then kde exit 0 fi -if [ "'which blackbox'" != "" ]; then - blackbox - exit 0 -fi -if [ "'which fvwm95'" != "" ]; then - fvwm95 - exit 0 -fi + +# gnome +#if [ "'which gnome'" != "" ]; then +# gnome +# exit 0 +#fi + +# blackbox +#if [ "'which blackbox'" != "" ]; then +# blackbox +# exit 0 +#fi + +# fvwm95 +#if [ "'which fvwm95'" != "" ]; then +# fvwm95 +# exit 0 +#fi + +# fall back on xterm if [ "'which xterm'" != "" ]; then xterm exit 0