summaryrefslogtreecommitdiff
path: root/Xsession.d
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
committerAndreas Loibl <andreas@andreas-loibl.de>2012-05-18 05:56:33 +0200
commitd18ec281cdcf2851180de54620206f394fda255e (patch)
tree323a5773652937eef705869e5bf29136cce72fa1 /Xsession.d
parente42c2f330d1a997433323977734a26d3ab99f755 (diff)
downloadetcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.zip
etcskel-kanotix-d18ec281cdcf2851180de54620206f394fda255e.tar.gz
import changes from debian package version 2.0.0
Diffstat (limited to 'Xsession.d')
-rw-r--r--Xsession.d/55kanotix-kde14
1 files changed, 14 insertions, 0 deletions
diff --git a/Xsession.d/55kanotix-kde b/Xsession.d/55kanotix-kde
new file mode 100644
index 0000000..788169c
--- /dev/null
+++ b/Xsession.d/55kanotix-kde
@@ -0,0 +1,14 @@
+# If we are running kde, export KDEDIRS with own Kanotix kde-settings dir
+
+BASESTARTUP=$(basename "$STARTUP" | cut -d\ -f1)
+if [ "$BASESTARTUP" = x-session-manager ]; then
+ BASESTARTUP=$(basename $(readlink /etc/alternatives/x-session-manager))
+fi
+if [ "$BASESTARTUP" = "startkde" ]; then
+ if [[ -z "$KDEDIRS" ]]; then
+ KDEDIRS=/usr/share/kde-kanotix-settings/:/usr
+ else
+ KDEDIRS=/usr/share/kde-kanotix-settings/:$KDEDIRS:/usr
+ fi
+ export KDEDIRS
+fi