summaryrefslogtreecommitdiff
blob: 232f018cf3fa38b9b6eb170266930401e72faff5 (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
--- startkde	Mon Jul  1 22:21:54 2002
+++ startkde	Fri Jul 12 19:59:26 2002
@@ -1,8 +1,28 @@
-#!/bin/sh
+#!/bin/sh --login
 #
-#  DEFAULT KDE STARTUP SCRIPT ( KDE-3.1 )
+#  GENTOO CUSTOMIZED KDE STARTUP SCRIPT ( KDE-3.1 )
 #
 
+# Gentoo part:
+export PATH="_KDEDIR_/bin:${PATH}"
+export KDEDIR="_KDEDIR_"
+export KDEDIRS="_KDEDIR_:${KDEDIRS//${KDEDIR}}"
+
+cd ~
+[ -d .kde ] && mv .kde .kde.backup
+if [ ! -e .kde3.1 ]; then
+    if [ -e .kde3 ]; then
+	cp -r .kde3 .kde3.1
+    else
+	mkdir .kde3.1
+    fi
+fi
+ln -sf .kde3.1 .kde
+
+#export KDEHOME="${HOME}/.kde3.1"
+
+# Gentoo part ends
+
 # Boot sequence:
 #
 # kdeinit is used to fork off processes which improves memory usage
@@ -25,12 +45,12 @@
 # especially necessary on slow machines, where starting KDE takes one or two
 # minutes until anything appears on the screen.
 #
-# Set the background to plain grey.
+# Set the background to cyan (Gentoo version change).
 # 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.
 
-test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
+test "$XDM_MANAGED" || bkg="-solid #5477A0"
 xsetroot -cursor_name left_ptr $bkg
 
 # The user's personal KDE directory is usually ~/.kde, but this setting