From 864731a35c2f0e4e76324f55f373a636d8d9472f Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Thu, 12 Sep 2019 13:14:29 +0100 Subject: [PATCH] Move setting to the non-sudo part of the scripts and disable idle delay --- scripts/install_client.sh | 1 - scripts/kickstart.sh | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_client.sh b/scripts/install_client.sh index 6e737cb7e..6a568dc67 100755 --- a/scripts/install_client.sh +++ b/scripts/install_client.sh @@ -18,7 +18,6 @@ DISK=$(lsblk -o tran,kname,hotplug,type,fstype -pr | head -n1) systemctl stop unattended-upgrades.service -gsettings set org.gnome.desktop.screensaver lock-enabled false sgdisk -n0:0:+32G "$DISK" sgdisk -N0 "$DISK" diff --git a/scripts/kickstart.sh b/scripts/kickstart.sh index 09caf8ea7..51255f129 100755 --- a/scripts/kickstart.sh +++ b/scripts/kickstart.sh @@ -4,6 +4,8 @@ # # bash <(curl -Ss raw.githubusercontent.com/01-edu/public/master/scripts/kickstart.sh) +gsettings set org.gnome.desktop.session idle-delay 0 +gsettings set org.gnome.desktop.screensaver lock-enabled false wget github.com/01-edu/public/archive/master.zip unzip master.zip cd public-master/scripts