When I do not use my graphical session anymore, the screensaver automatically lock it and power off the screen to save energy.
I want it to keep locking my session but not to power off the screen, is it possible ?
I use Ubuntu 18.04 with default gnome display manager.
Thank you,
Matias
On the left menu, click on Privacy. Press ScreenLock in the left menu and disable the option Automatic Screen Lock. After disabling Automatic Screen Lock, your system won't be locked again. From those settings, you can also configure the Blank Screen Delay timing.
To set the screen blanking time:Open the Activities overview and start typing Power. Click Power to open the panel. Use the Screen Blank drop-down list under Power Saving Options to set the time until the screen blanks, or disable the blanking completely.
Open the Activities overview and start typing Screen Lock. Click on Screen Lock to open the panel. Make sure Automatic Screen Lock is switched on, then select a length of time from the Automatic Screen Lock Delay drop-down list.
To lock your screen before you leave your desk, either Ctrl+Alt+L or Super+L (i.e., holding down the Windows key and pressing L) should work. Once your screen is locked, you will have to enter your password to log back in.
As described in this thread on ubuntu forums it looks like this is part of the gnome-screensaver-command and there is no easy way to disable it. Try replacing the default screensaver with another one, like xscreensaver.
Hint: when you manually lock your screen, just hold the buttons a second longer and the screen won't turn off.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With