summaryrefslogtreecommitdiffstats
path: root/lxde/build/rc.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lxde/build/rc.4.patch')
-rw-r--r--lxde/build/rc.4.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/lxde/build/rc.4.patch b/lxde/build/rc.4.patch
new file mode 100644
index 00000000..25fc92c6
--- /dev/null
+++ b/lxde/build/rc.4.patch
@@ -0,0 +1,26 @@
+The LXDM login manager can be made the preferred login manager of Slackware
+in runlevel 4 (graphical login) by editing the file /etc/rc.d/rc.4 -
+Use the patch below to add LXDM right at the top before GDM/KDM/XDM.
+Run these two commands (use the full path to the rc.4.patch file if you
+keep it in another directory than '/etc/rc.d' ):
+# cd /etc/rc.d
+# cat /full/path/to/rc.4.patch | patch -p0
+
+Eric Hameleers <alien@slackware.com>
+
+--- rc.4.orig 2007-03-27 03:12:55.000000000 +0200
++++ rc.4 2009-09-12 00:24:58.000000000 +0200
+@@ -12,6 +12,13 @@
+ # Tell the viewers what's going to happen...
+ echo "Starting up X11 session manager..."
+
++# Try to use LXDM login manager. This comes first because if
++# LXDM is on the machine then the user probably installed it and wants
++# to use it by default:
++if [ -x /usr/bin/lxdm ]; then
++ exec /usr/bin/lxdm
++fi
++
+ # Try to use GNOME's gdm session manager. This comes first because if
+ # gdm is on the machine then the user probably installed it and wants
+ # to use it by default: