summaryrefslogtreecommitdiff
blob: 1a718b94c6cc931c4fef95bcdeb9b3a873c69e50 (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
--- startkde.orig	2005-02-23 13:24:24.000000000 +0200
+++ startkde	2005-02-27 21:08:37.483412112 +0200
@@ -14,14 +14,42 @@
 	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
 
+# Gentoo part begins
+
+export PATH="_KDEDIR_/bin:${PATH}"
+
+# Handle ~/.kde* dirs - separate ones for separate KDEs.
+# We've backtracked on the scheme where .kdeX.Y directories are temporarily
+# moved to .kde.
+cd ~
+if [ -e .kde ]; then
+	if [ ! -L .kde ]; then
+		/bin/mv -f .kde .kde.backup
+	else
+		rm -f .kde
+	fi
+fi
+if [ ! -e .kde3.4 ]; then
+	if [ -e .kde3.3 ]; then
+		/bin/cp -r .kde3.3 .kde3.4
+	elif [ -e .kde3.2 ]; then
+		/bin/cp -r .kde3.2 .kde3.4
+	else
+		/bin/mkdir .kde3.4
+	fi
+fi
+/bin/ln -sf .kde3.3 .kde
+
+# Gentoo part ends
+
 # we have to unset this for Darwin since it will screw up KDE's dynamic-loading
 unset DYLD_FORCE_FLAT_NAMESPACE