summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-31 14:05:21 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-31 14:05:21 +0100
commit75383cb9b9448ce6a734912bf2d90e9e70764960 (patch)
treea77583fe91ecf664a4a618dc71c16ec324529fb9
parent16e613e2585bb42feb26d70a89d8a1945c6a8827 (diff)
downloadktown-5_15.12.tar.gz
ktown-5_15.12.tar.xz
Rebuilt kdepim. Kalarm was getting auto-started in XFCE sessions.5_15.12
The file "/etc/kde/xdg/autostart/kalarm.autostart.desktop" was missing the line "OnlyShowIn=KDE;". I have now added that line.
-rw-r--r--kde/post-install/kdepim.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/kde/post-install/kdepim.post-install b/kde/post-install/kdepim.post-install
index 8810114..c9cc6ce 100644
--- a/kde/post-install/kdepim.post-install
+++ b/kde/post-install/kdepim.post-install
@@ -1,2 +1,10 @@
# Move the dbus configuration files to the proper place:
mv $PKG/etc/kde/dbus-1 $PKG/etc/
+
+# Kalarm should not start in XFCE:
+if ! grep -q "OnlyShowIn=KDE;" \
+ $PKG/etc/kde/xdg/autostart/kalarm.autostart.desktop ; then
+ echo "OnlyShowIn=KDE;" \
+ >> $PKG/etc/kde/xdg/autostart/kalarm.autostart.desktop
+fi
+