summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm/logout-fixes.patch
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-10-29 18:04:07 +0100
committerStefan Agner <stefan.agner@toradex.com>2014-10-29 18:06:20 +0100
commitaaa1349fa0935ce40b6b6be5fb62273a08287518 (patch)
treee5d0f45175d1b0cf63a89ac1f165d6d05b190754 /recipes-lxde/lxdm/lxdm/logout-fixes.patch
parent5d02a1e32df0a8941d3921ba8533b35c70f7ca3b (diff)
lxdm: switch to 0.5/git version
Switch to newer LXDM which supports logind as login/session management.
Diffstat (limited to 'recipes-lxde/lxdm/lxdm/logout-fixes.patch')
-rw-r--r--recipes-lxde/lxdm/lxdm/logout-fixes.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-lxde/lxdm/lxdm/logout-fixes.patch b/recipes-lxde/lxdm/lxdm/logout-fixes.patch
new file mode 100644
index 0000000..649c12f
--- /dev/null
+++ b/recipes-lxde/lxdm/lxdm/logout-fixes.patch
@@ -0,0 +1,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