diff --git a/talimatname/genel/mdm/mdm-display-manager.install b/talimatname/genel/mdm/mdm-display-manager.install deleted file mode 100644 index 3c5e388a0..000000000 --- a/talimatname/genel/mdm/mdm-display-manager.install +++ /dev/null @@ -1,25 +0,0 @@ -pkgname=mate-display-manager - -post_install() { - getent group mdm >/dev/null 2>&1 || groupadd -g 128 mdm - getent passwd mdm >/dev/null 2>&1 || usr/sbin/useradd -c 'Linux Mint Display Manager' -u 128 -g mdm -d /var/lib/mdm -s /sbin/nologin mdm - passwd -l mdm > /dev/null - chown root:mdm /var/lib/mdm > /dev/null - chmod 1770 /var/lib/mdm > /dev/null - - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - printf "\n By default the tty1 is disabled, this because a bug" - printf "\n that if tty1 is runing, then mdm is automagically " - printf "\n restarted in a infinite loop, this take around " - printf "\n 1 minute post login, please not force the use of " - printf "\n getty@tty1 unles you know how deal with the problem" - printf "\n" - printf "\n For systemd use: # systemctl enable mdm" - printf "\n" -} - -post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - getent passwd mdm || userdel mdm - getent group mdm || groupdel mdm -} diff --git a/talimatname/genel/mdm/mdm.kur-kos b/talimatname/genel/mdm/mdm.kur-kos new file mode 100644 index 000000000..c8c2029d2 --- /dev/null +++ b/talimatname/genel/mdm/mdm.kur-kos @@ -0,0 +1,16 @@ +getent group mdm >/dev/null 2>&1 || groupadd -g 128 mdm +getent passwd mdm >/dev/null 2>&1 || usr/sbin/useradd -c 'Linux Mint Display Manager' -u 128 -g mdm -d /var/lib/mdm -s /sbin/nologin mdm +passwd -l mdm > /dev/null +chown root:mdm /var/lib/mdm > /dev/null +chmod 1770 /var/lib/mdm > /dev/null +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +printf "\n By default the tty1 is disabled, this because a bug" +printf "\n that if tty1 is runing, then mdm is automagically " +printf "\n restarted in a infinite loop, this take around " +printf "\n 1 minute post login, please not force the use of " +printf "\n getty@tty1 unles you know how deal with the problem" +printf "\n" +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +getent passwd mdm || userdel mdm +getent group mdm || groupdel mdm +mps serkur mdm && mps sersil slim && mps sersil lxdm