blob: b14fc53723e1a728a4343b9d0a79bb49a7b39acc (
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 2004-08-06 09:37:38.231823856 -0500
+++ startkde 2004-08-06 09:40:04.372607080 -0500
@@ -1,8 +1,32 @@
-#!/bin/sh
+#!/bin/sh --login
#
-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.3 )
+# GENTOO CUSTOMIZED STARTUP SCRIPT ( KDE-3.3 )
#
+# Gentoo part:
+export PATH="_KDEDIR_/bin:${PATH}"
+export KDEDIR="_KDEDIR_"
+# Use env.d's KDEDIRS. They should only include locations like /usr though, not
+# actual KDE installations
+
+# handle ~/.kde* dirs - separate ones for separate KDEs
+cd ~
+[ -d .kde ] && /bin/mv .kde .kde.backup
+if [ ! -e .kde3.3 ]; then
+ if [ -e .kde3.2 ]; then
+ /bin/cp -r .kde3.2 .kde3.3
+
+ /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 +38,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
|