summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxdm/lxdm/configfiles.patch
blob: 7ac93cb73944e7ee2ece86b3eb6d8f46e956a7f6 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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	2012-07-25 17:50:13.101251148 +0200
@@ -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
@@ -16,7 +16,7 @@
 # xauth_path=/tmp
 
 ## greeter used to welcome the user
-greeter=/usr/local/libexec/lxdm-greeter-gtk
+greeter=/usr/libexec/lxdm-greeter-gtk
 
 [server]
 ## arg used to start xserver, not fully function
diff -Naur --exclude temp lxdm-0.4.1-r3.orig/lxdm-0.4.1/data/lxdm.conf.in lxdm-0.4.1-r3/lxdm-0.4.1/data/lxdm.conf.in
--- lxdm-0.4.1/data/lxdm.conf.in	2012-07-25 10:47:22.681189278 +0200
+++ lxdm-0.4.1/data/lxdm.conf.in	2012-07-25 17:49:49.861217834 +0200
@@ -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
@@ -16,7 +16,7 @@
 # xauth_path=/tmp
 
 ## greeter used to welcome the user
-greeter=@FULL_LIBEXECDIR@/lxdm-greeter-gtk
+greeter=/usr/libexec/lxdm-greeter-gtk
 
 [server]
 ## arg used to start xserver, not fully function
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