summaryrefslogtreecommitdiffstats
path: root/startkde
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-18 21:49:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-18 21:49:14 +0000
commit0014114cd273fb4485196bd02a58aac5adad3d67 (patch)
tree8542b167379fa66557bc866f01f10fa16a876e68 /startkde
parenta6c474508ee54308e43fbf67644ab2f78fc1ad83 (diff)
downloadtdebase-0014114cd273fb4485196bd02a58aac5adad3d67.tar.gz
tdebase-0014114cd273fb4485196bd02a58aac5adad3d67.zip
Bugfixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176854 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'startkde')
-rw-r--r--startkde9
1 files changed, 7 insertions, 2 deletions
diff --git a/startkde b/startkde
index dd7cff485..a05084c92 100644
--- a/startkde
+++ b/startkde
@@ -163,8 +163,8 @@ fi
test -n "$KDEHOME" && kdehome=`echo "$KDEHOME" | sed "s,^~/,$HOME/,"`
echo "[startkde] kdehome: $kdehome" 1>&2
-# Is this a GNOME/GDM variable? Probably does not cause any harm in
-# any system not looking for the variable.
+# Allow interested applications, such as the Plasma control wrapper,
+# to know that this is a Trinity desktop and not a KDE one.
export DESKTOP_SESSION=kde3
# Please see kstartupconfig source for usage.
@@ -381,8 +381,13 @@ if test -r "$kde_fontpaths" ; then
IFS=$savifs
fi
+if [ -n "$KDEDIR" ]; then
+ export KDEDIR=`echo "$KDEDIRS" | sed -e 's/:.*//'`
+fi
+
echo "[startkde] KDEDIR: $KDEDIR" 1>&2
echo "[startkde] KDEDIRS: $KDEDIRS" 1>&2
+
if test -n "$KDEDIRS"; then
kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
sys_odir=$kdedirs_first/share/fonts/override