This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-10-21 17:31:43 +03:00 committed by GitHub
parent 6210f1443f
commit 36f56dd85a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,9 +23,10 @@ usermod -a -G sudo pikaos
usermod -a -G lpadmin pikaos || true usermod -a -G lpadmin pikaos || true
mkdir -p /etc/gdm3 mkdir -p /etc/gdm3
mkdir -p /etc/sddm.conf.d/ mkdir -p /etc/sddm.conf.d/
echo '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' > /etc/gdm3/daemon.conf echo '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf
echo '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/autologin.conf echo '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/autologin.conf
mkdir -p /home/pikaos/.config/dconf mkdir -p /home/pikaos/.config/dconf
cp -rvf /etc/skel/.* /home/pikaos/
chmod 700 /home/pikaos/.config/dconf chmod 700 /home/pikaos/.config/dconf
mkdir -p /var/lib/AccountsService/users mkdir -p /var/lib/AccountsService/users
echo '[User]\nSession=firstsetup' > /var/lib/AccountsService/users/pikaos echo '[User]\nSession=firstsetup' > /var/lib/AccountsService/users/pikaos