summaryrefslogtreecommitdiffstats
path: root/sesman/startwm.sh
blob: 459b4dc96336a60b69f515137e432837e945135e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/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
fi
if [ "'which kde'" != "" ]; then
  kde
  exit 0
fi

# gnome
#if [ "'which gnome-session'" != "" ]; then
#  gnome-session
#  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
fi