summaryrefslogtreecommitdiffstats
path: root/etc/xdg/plasma-workspace
diff options
context:
space:
mode:
Diffstat (limited to 'etc/xdg/plasma-workspace')
-rw-r--r--etc/xdg/plasma-workspace/shutdown/kuiserver5.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/xdg/plasma-workspace/shutdown/kuiserver5.sh b/etc/xdg/plasma-workspace/shutdown/kuiserver5.sh
new file mode 100644
index 0000000..e064a9f
--- /dev/null
+++ b/etc/xdg/plasma-workspace/shutdown/kuiserver5.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+## Workaround to kuiserver5 processes lingering after logout, see
+## https://bugs.kde.org/show_bug.cgi?id=348123
+
+qdbus-qt5 org.kde.kuiserver >& /dev/null && \
+ qdbus-qt5 org.kde.kuiserver /MainApplication org.qtproject.Qt.QCoreApplication.quit
+
+qdbus-qt5 org.kde.kuiserver5 >& /dev/null && \
+ qdbus-qt5 org.kde.kuiserver5 /MainApplication org.qtproject.Qt.QCoreApplication.quit
+