File startkde.diff of Package kdebase4-workspace

Index: startkde.cmake
===================================================================
--- startkde.cmake.orig
+++ startkde.cmake
@@ -68,6 +68,9 @@ test -n "$KDEHOME" && kdehome=`echo "$KD
 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_White'
 kcminputrc Mouse cursorSize ''
@@ -82,6 +85,7 @@ krandrrc [Screen3]
 kcmfonts General forceFontDPI 0
 kdeglobals Locale Language '' # trigger requesting languages from KLocale
 EOF
+fi
 kstartupconfig4
 returncode=$?
 if test $returncode -ne 0; then
@@ -160,7 +164,7 @@ fi
 
 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