2005-02-13 11:52:55 +08:00
|
|
|
#!/bin/sh
|
2006-02-20 12:20:54 +08:00
|
|
|
|
|
|
|
# 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
|
2006-02-18 13:42:59 +08:00
|
|
|
if [ "'which startkde'" != "" ]; then
|
|
|
|
startkde
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
if [ "'which kde'" != "" ]; then
|
|
|
|
kde
|
|
|
|
exit 0
|
|
|
|
fi
|
2006-02-20 12:20:54 +08:00
|
|
|
|
|
|
|
# gnome
|
2006-06-08 00:26:04 +08:00
|
|
|
#if [ "'which gnome-session'" != "" ]; then
|
|
|
|
# gnome-session
|
2006-02-20 12:20:54 +08:00
|
|
|
# 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
|
2006-02-18 13:42:59 +08:00
|
|
|
if [ "'which xterm'" != "" ]; then
|
|
|
|
xterm
|
|
|
|
exit 0
|
|
|
|
fi
|