new target use/x11/lxdm

lxdm - lightweight display manager for LXDE
This commit is contained in:
Anton Midyukov 2018-10-25 12:45:19 +07:00 committed by Michael Shigorin
parent c71ff2a39e
commit b443f9ca4a
2 changed files with 17 additions and 0 deletions

View File

@ -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 \

View File

@ -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))