It might be a [duplicate] but none of the answers I found work for me.
brieucdug@sildenafil:~$ uname -a ; gnome-shell --version ; lightdm --version
Linux sildenafil 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
GNOME Shell 3.36.2
lightdm 1.30.0
I don't know from when, I suspect it comes with the installation of lightdm
, my screen doesn't lock with timeout nor on suspend (lid closed, this is how I first found out the issue). I confirm my computer does go in suspend when I close the lid.
brieucdug@sildenafil:~$ gsettings list-recursively | grep -i -E "screen.*lock|lock.*screen"
com.canonical.unity.settings-daemon.peripherals.touchscreen orientation-lock false
org.gnome.settings-daemon.peripherals.touchscreen orientation-lock false
org.gnome.desktop.privacy usb-protection-level 'lockscreen'
org.gnome.desktop.lockdown disable-lock-screen false
org.gnome.desktop.notifications show-in-lock-screen true
org.gnome.Vino lock-screen-on-disconnect false
org.gnome.desktop.screensaver ubuntu-lock-on-suspend true
org.gnome.desktop.screensaver lock-enabled true
org.gnome.desktop.screensaver lock-delay uint32 0
And a screen in my settings...
NB : I already tried to edit the /etc/systemd/logind.conf
but I am open to suggestions