LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File startkde.diff of Package kdebase4-workspace (Project DISCONTINUED:openSUSE:11.2)

Index: startkde.cmake
===================================================================
--- startkde.cmake.orig
+++ startkde.cmake
@@ -80,6 +80,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_Black'
 kcminputrc Mouse cursorSize ''
@@ -93,6 +96,7 @@ kcmrandrrc [Screen3]
 kcmfonts General forceFontDPI 0
 kdeglobals Locale Language '' # trigger requesting languages from KLocale
 EOF
+fi
 kstartupconfig4
 returncode=$?
 if test $returncode -ne 0; then
@@ -214,7 +218,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