2024-08-03 00:45:59 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
mkdir -p /etc/gdm3 || true
|
|
|
|
mkdir -p /etc/sddm.conf.d/ || true
|
2024-08-11 23:27:55 +02:00
|
|
|
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/daemon.conf || true
|
2024-08-11 23:30:23 +02:00
|
|
|
sed '/WaylandEnable=false/ s/^\#*/\#/' -i /etc/gdm3/daemon.conf || true
|
2024-08-11 23:27:55 +02:00
|
|
|
ln -sf /etc/gdm3/daemon.conf /etc/gdm3/custom.conf
|
2024-08-03 00:45:59 +02:00
|
|
|
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true
|
2024-08-12 15:24:35 +02:00
|
|
|
echo -e '[User]\nSession=gnome\nIcon=/home/pikaos/.face\nSystemAccount=false' > /var/lib/AccountsService/users/pikaos || true
|