summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm/logout-fixes.patch
blob: 649c12f2a3fb6c8a3733cb43754826ac92befc3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ur lxdm-0.4.1/data.orig//PostLogout.in lxdm-0.4.1/data/PostLogout.in
--- lxdm-0.4.1/data.orig//PostLogout.in	2011-07-29 15:42:33.000000000 +0200
+++ lxdm-0.4.1/data/PostLogout.in	2011-12-31 12:21:41.000000000 +0100
@@ -1,3 +1,9 @@
 #!/bin/sh
-#
-# Note: this is a sample and will not be run as is.
+
+#https://wiki.archlinux.org/index.php/LXDE#LXDM
+
+# Kills all your processes when you log out.
+killall --user $USER -TERM
+
+# Set's the desktop background to solid black. Useful if you have multiple monitors.
+xsetroot -solid black