summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm/configfiles.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-lxde/lxdm/lxdm/configfiles.patch')
-rw-r--r--recipes-lxde/lxdm/lxdm/configfiles.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-lxde/lxdm/lxdm/configfiles.patch b/recipes-lxde/lxdm/lxdm/configfiles.patch
new file mode 100644
index 0000000..37ed74d
--- /dev/null
+++ b/recipes-lxde/lxdm/lxdm/configfiles.patch
@@ -0,0 +1,26 @@
+diff -ur lxdm-0.4.1/data.orig//lxdm.conf lxdm-0.4.1/data/lxdm.conf
+--- lxdm-0.4.1/data.orig//lxdm.conf 2011-07-29 15:44:51.000000000 +0200
++++ lxdm-0.4.1/data/lxdm.conf 2011-12-31 12:22:46.000000000 +0100
+@@ -1,6 +1,6 @@
+ [base]
+ ## uncomment and set autologin username to enable autologin
+-# autologin=dgod
++autologin=root
+
+ ## uncomment and set timeout to enable timeout autologin,
+ ## the value should >=5
+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