summaryrefslogtreecommitdiff
blob: 21882f175e84cc969627007cd72a7580ae011977 (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
45
46
47
48
49
50
51
52
--- startkde.orig	2005-01-24 16:14:33.346311272 +0100
+++ startkde	2005-01-24 16:15:02.978806448 +0100
@@ -1,8 +1,33 @@
 #!/bin/sh
 #
-#  DEFAULT KDE STARTUP SCRIPT ( KDE-3.3.2 )
+#  GENTOO CUSTOMIZED STARTUP SCRIPT ( KDE-3.3.2 )
 #
 
+# Gentoo part:
+export PATH="_KDEDIR_/bin:${PATH}"
+
+# handle ~/.kde* dirs - separate ones for separate KDEs
+cd ~
+if [ -e .kde ]; then
+       if [ ! -L .kde ]; then
+               /bin/mv -f .kde .kde.backup
+       else
+               rm -f .kde
+       fi
+fi
+if [ ! -e .kde3.3 ]; then
+       if [ -e .kde3.2 ]; then
+               /bin/cp -r .kde3.2 .kde3.3
+       else
+               /bin/mkdir .kde3.3
+       fi
+fi
+/bin/ln -sf .kde3.3 .kde
+
+#export KDEHOME="${HOME}/.kde3.3"
+
+# Gentoo part ends
+
 # When the X server dies we get a HUP signal from xinit. We must ignore it
 # because we still need to do some cleanup.
 trap 'echo GOT SIGHUP' HUP
@@ -14,12 +39,12 @@
 	exit 1
 fi
 
-# Set the background to plain grey.
+# Set the background to plain cyan.
 # The standard X background is nasty, causing moire effects and exploding
 # people's heads. We use colours from the standard KDE palette for those with
 # palettised displays.
 if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
-  xsetroot -solid "#C0C0C0"
+  xsetroot -solid "#5477A0"
 fi
 
 # we have to unset this for Darwin since it will screw up KDE's dynamic-loading