summaryrefslogtreecommitdiff
blob: 37d82df140d0fdbe2c0d2649bb177ffb55b28ff3 (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
--- startkde.orig	Fri Jun 28 09:34:00 2002
+++ startkde	Fri Jun 28 09:35:45 2002
@@ -1,8 +1,20 @@
-#!/bin/sh
+#!/bin/sh --login
 #
-#  DEFAULT KDE STARTUP SCRIPT ( KDE-3.0.2 )
+#  Gentoo KDE Startup Script ( KDE-3.0.2 )
 #
 
+# Gentoo part:
+export PATH="/usr/kde/3/bin:${PATH}"
+export KDEDIR="/usr/kde/3"
+export KDEDIRS="/usr/kde/3:${KDEDIRS}"
+export KDEMAINDIR="/usr/kde/3"
+rm -rf ~/.kde
+ln -fs ~/.kde3 ~/.kde
+[ -e "~/.kde3" ] || mkdir ~/.kde3
+
+
+# Original KDE part:
+
 # Boot sequence:
 #
 # kdeinit is used to fork off processes which improves memory usage
@@ -30,14 +42,14 @@
 # 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
 # may be overridden by setting KDEHOME.
 
 kdehome=$HOME/.kde
-test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^\~/,$HOME/,"`
+test -n "$KDEHOME" && eval kdehome=$KDEHOME
 
 # Activate the kde font directories.
 #