diff --git a/chrooted-iso.sh b/chrooted-iso.sh index 5647ad4..155e50f 100755 --- a/chrooted-iso.sh +++ b/chrooted-iso.sh @@ -26,6 +26,12 @@ Type=Application Icon=nautilus Exec=sh -c \"gsettings set org.gnome.desktop.screensaver lock-enabled false\"" > /home/crystal/.config/autostart/no-lock-screen.desktop +# Set default session to Onyx +echo "[User] +Session=onyx +Icon=/var/lib/AccountsService/icons/crystal +SystemAccount=false" > /var/lib/AccountsService/users/crystal + # Jade-GUI Autostart cp \ /var/lib/flatpak/exports/share/applications/al.getcryst.jadegui.desktop \ @@ -50,8 +56,4 @@ echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen echo "LANG=en_US.UTF-8" > /etc/locale.conf locale-gen -# Onyx as default gdm session -rm /usr/share/xsessions/gnome* -rm /usr/share/wayland-sessions/gnome* - echo "Configured the system. Exiting chroot."