From 96c5adb15871b6ccc9f4130f2a7ba3c4f79f2697 Mon Sep 17 00:00:00 2001 From: axtloss Date: Thu, 15 Sep 2022 20:28:35 +0200 Subject: [PATCH] Update chrooted-iso.sh Signed-off-by: axtloss --- chrooted-iso.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/chrooted-iso.sh b/chrooted-iso.sh index 59eecb4..88f8344 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 \ @@ -52,8 +58,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."