File startkde.diff of Package kdebase4-workspace
Index: startkde.cmake
================================================================================
--- startkde.cmake
+++ startkde.cmake
@@ -70,6 +70,9 @@
mkdir -m 700 -p $kdehome
mkdir -m 700 -p $kdehome/share
mkdir -m 700 -p $kdehome/share/config
+if test -e /etc/kde4/share/config/startupconfigkeys ; then
+cp /etc/kde4/share/config/startupconfigkeys $kdehome/share/config/startupconfigkeys
+else
cat >$kdehome/share/config/startupconfigkeys <<EOF
kcminputrc Mouse cursorTheme 'Oxygen_Black'
kcminputrc Mouse cursorSize ''
@@ -83,6 +86,7 @@
kcmfonts General forceFontDPI 0
kdeglobals Locale Language '' # trigger requesting languages from KLocale
EOF
+fi
kstartupconfig4
if test $? -ne 0; then
xmessage -geometry 500x100 "Could not start kstartupconfig4. Check your installation."
@@ -203,7 +207,7 @@
libpath=`kde4-config --path lib | tr : '\n'`
-for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'`; do
+for prefix in `echo "$libpath" | sed -n -e 's,/lib[^/]*/,/env/,p'` /usr/share/kde4/env/; do
for file in "$prefix"*.sh; do
test -r "$file" && . "$file"
done