From 7cc24fe7d434c6679460778edd13d3326044a2bd Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 14 Dec 2023 09:41:54 +0000 Subject: [PATCH] Blank screen really early --- roles/home-gui/files/gnome-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/home-gui/files/gnome-setup.sh b/roles/home-gui/files/gnome-setup.sh index 9bfb33e..4c62757 100644 --- a/roles/home-gui/files/gnome-setup.sh +++ b/roles/home-gui/files/gnome-setup.sh @@ -166,6 +166,11 @@ set_misc_preferences () { gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' + # Put the screen to sleep early without a password (to avoid image + # retention on this crappy laptop screen). + gsettings set org.gnome.desktop.session idle-delay 'uint32 60' + gsettings set org.gnome.desktop.screensaver lock-enabled false + # Reset the app picker layout. Will take effect after a gnome-shell restart # (log off and on again). gsettings reset org.gnome.shell app-picker-layout