Author: glen
Date: Thu Apr 19 22:55:06 2012
New Revision: 12554

Modified:
   xinitrc-ng/trunk/desktop
   xinitrc-ng/trunk/prefdm   (contents, props changed)
Log:
Add LightDM

Modified: xinitrc-ng/trunk/desktop
==============================================================================
--- xinitrc-ng/trunk/desktop    (original)
+++ xinitrc-ng/trunk/desktop    Thu Apr 19 22:55:06 2012
@@ -5,13 +5,14 @@
 
 # Preferred Display Manager to start in runlevel 5
 # May be one of: GNOME (for gdm or gdm2.20), KDE (for kdm), LXDE (for lxdm),
-# WDM (for wdm), XDM (for xdm), or a path specifying the binary to run
+# WDM (for wdm), XDM (for xdm), LightDM (for lightdm), or a path specifying the
+# binary to run.
 DISPLAYMANAGER=XDM
 
 # Put here the name of the directory that contains sessions desktop files.
 # Default is "/usr/share/xsessions".
-# xsessdir=
+#xsessdir=
 
 # Put here the name of the file that contains session name choosen by user.
 # Default is ".desktop" (relative to $HOME or $HOME_ETC if given).
-# userwmfile=
+#userwmfile=

Modified: xinitrc-ng/trunk/prefdm
==============================================================================
--- xinitrc-ng/trunk/prefdm     (original)
+++ xinitrc-ng/trunk/prefdm     Thu Apr 19 22:55:06 2012
@@ -15,6 +15,9 @@
                preferred=/usr/sbin/gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=/usr/bin/kdm
+       elif [ "$DISPLAYMANAGER" = LightDM ]; then
+               preferred=/usr/sbin/lightdm
+               splash_quit_command="plymouth quit"
        elif [ "$DISPLAYMANAGER" = LXDE ]; then
                preferred=/usr/sbin/lxdm
                splash_quit_command="plymouth quit"
@@ -37,6 +40,7 @@
 
 # Fallbacks, in order
 [ -x /usr/bin/xdm ] && exec /usr/bin/xdm "$@" >/dev/null 2>&1 </dev/null
+[ -x /usr/sbin/lightdm ] && exec /usr/sbin/lightdm "$@" >/dev/null 2>&1 
</dev/null
 [ -x /usr/sbin/lxdm ] && exec /usr/sbin/lxdm "$@" >/dev/null 2>&1 </dev/null
 [ -x /usr/sbin/gdm ] && exec /usr/sbin/gdm "$@" >/dev/null 2>&1 </dev/null
 [ -x /usr/bin/kdm ] && exec /usr/bin/kdm "$@" >/dev/null 2>&1 </dev/null
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to