Commit b443f9ca authored by Anton Midyukov's avatar Anton Midyukov Committed by Michael Shigorin

new target use/x11/lxdm

lxdm - lightweight display manager for LXDE
parent c71ff2a3
......@@ -79,6 +79,20 @@ if [ -f "$GDM_CONF" ]; then
restore_later "/etc/group"
fi
## lxdm autologin
LXDM_CONF=/etc/lxdm/lxdm.conf
if [ -f "$LXDM_CONF" ]; then
backup "$LXDM_CONF"
sed -i -e "s/\# autologin=dgod/autologin=$USER/" \
"$LXDM_CONF"
backup "/etc/group"
add_nopasswdlogin_group lxdm ||:
restore_later "$LXDM_CONF"
restore_later "/etc/group"
fi
autologin_kdm() {
backup "$1"
sed -i \
......
......@@ -93,6 +93,9 @@ use/x11/gdm2.20: use/x11-autostart
use/x11/sddm: use/x11-autostart
@$(call add,THE_PACKAGES,sddm)
use/x11/lxdm: use/x11-autostart
@$(call add,THE_PACKAGES,lxde-lxdm)
use/x11/icewm: use/x11
@$(call add,THE_LISTS,$(call tags,icewm desktop))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment