Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu, lock screen but do not screensave

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

like image 543
clouvis Avatar asked May 11 '18 15:05

clouvis


People also ask

How do I disable screensaver in Linux?

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.

How do I make my Ubuntu screen not go to sleep?

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.

How do I lock my Ubuntu screen?

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.

How do I lock Ubuntu screen in Terminal?

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.


1 Answers

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.

like image 120
Marcus Avatar answered Oct 20 '22 17:10

Marcus