I have the vanilla Ubuntu 18 installed on a computer and I'd like to completely disable the lockscreen. But even after disabling it in the settings (see image) it still shows up after "waking" up from the screensaver (blak screen), you just don't have to enter the password anymore. Is there a way to actually completely disable it such that it also doesn't show up after coming back from the screensaver (I'd like to keep the blank screen as screensaver)?
Enable/Disable Lock Screen.
To disable Lock screen using GUI, just follow this:
Settings -> Privacy -> Screen Lock -> change 'Automatic Screen Lock' to 'Off'
Figure-1: Disable screen lock using Settings GUI
To disable Lock screen through command line permanently, issue the following commands:
Figure-2: Disable screen lock and "Screen Lock window" is also made inaccessible
The first command disables
Screen Lock
(refer small red box in figure-2). The second command makesScreen Lock window
permanently inaccessible and no body can touch it even throughSettings GUI
(refer large red box in figure-2).If you are unhappy with the new setting, you can reverse it using following command:
Figure-3: Enables screen lock but "Screen Lock window" is still inaccessible
This command enables
Screen Lock
again (refer small red box in figure-3). Note that theScreen Lock window
is still inaccessible (refer large red box in figure-3).To enable
Screen Lock window
access bySettings GUI
Figure-4: The "Screen Lock window" is now accessible
After the execution of command, the
Screen Lock window
is now accessible throughSettings GUI
(refer large red box in figure-4).I had a similar problem with it going bland when ALL Possible Settings for this had Lock or Screen saver or timeout set to NEVER.
Screen Going into SLEEP MODE, or BLACK, when NOT set to!
To make this permanent, you need a gsettings override file...
Open a new empty document in gedit, (or other text editor) on your host system.
Add the following contents to your file:
Save the file with the following name:
Move it to the right location (and give root privileges and executable):
Open Nautilus (or another file browser) on your host system WITH/AS ROOT, and navigate to the directory where you saved the file
90_ubuntu-settings.gschema.override
. Cut and Paste it to:Activate it in terminal:
I sure hope this helps others, Mark