From ff923d35dca69346740a03fa0f341eca37f779c8 Mon Sep 17 00:00:00 2001 From: Lexi <63929325+ShyyLexi@users.noreply.github.com> Date: Wed, 31 Aug 2022 15:36:26 +0200 Subject: [PATCH] Disable auto screen lock --- chrooted-iso.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/chrooted-iso.sh b/chrooted-iso.sh index e3aec08..78a993a 100755 --- a/chrooted-iso.sh +++ b/chrooted-iso.sh @@ -25,6 +25,15 @@ chown -R crystal:crystal /home/crystal/ systemctl enable NetworkManager systemctl enable gdm +# Disable auto screen lock +mkdir -p /etc/skel/.config/autostart +echo "[Desktop Entry] +Name=Deactive lock screen +Comment=Deactive the gnome lock screen in the live session +Type=Application +Icon=nautilus +Exec=sh -c \"gsettings set org.gnome.desktop.screensaver lock-enabled false\"" > /etc/skel/.config/autostart/no-lock-screen.desktop + # Mirrorlist reflector > /etc/pacman.d/mirrorlist