LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

Index: startkde.cmake
===================================================================
--- startkde.cmake.orig	2010-10-27 21:55:06.000000000 +0200
+++ startkde.cmake	2010-11-21 20:47:29.435718302 +0100
@@ -88,6 +88,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 ''
@@ -102,6 +105,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
@@ -181,7 +185,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