summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm/configfiles.patch
blob: 37ed74d38d6df38a43c05bb07c74b8c5880e24c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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