Update hooks/5-add-autologin.chroot

This commit is contained in:
ferreo 2024-09-27 22:04:41 +02:00
parent da5264529c
commit a0e6a7fdd0

View File

@ -5,5 +5,5 @@ mkdir -p /etc/sddm.conf.d/ || true
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true
sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true
ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true echo -e '[Autologin]\nUser=pikaos\nSession=plasmax11' > /etc/sddm.conf.d/zautologin.conf || true
echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true