The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 53,069β€…    Votes:  67β€…
Tags: 18.04   lock-screen  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

Title: Disabling Lock Screen 18.04
ID: /2018/08/12/Disabling-Lock-Screen-18.04
Created: August 12, 2018    Edited:  January 2, 2022
Upload: December 3, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

Disable Lock Screen

You can disable the lock screen permanently when waking from suspend.

First use this command to discover current settings:

$ gsettings get org.gnome.desktop.lockdown disable-lock-screen

Now set it to true using this command:

gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

If you are unhappy with the new setting you can reverse it using:

gsettings set org.gnome.desktop.lockdown disable-lock-screen 'false'

Disable Screen Saver Locking

There was some confusion where people think disabling the Lock screen also disables the screen saver which is invoked after a certain period of inactivity. The screen saver requires input to get your desktop back. Some people may want the screen saver to come on but not have it locked when waking up the screen.

To check screen saver lock status use:

$ gsettings get org.gnome.desktop.screensaver lock-enabled

If true you can turn off screen saver locking with:

gsettings set org.gnome.desktop.screensaver lock-enabled false

To reverse the setting back use:

gsettings set org.gnome.desktop.screensaver lock-enabled true

In Gnome screen locking guide it says:

6.2. Screen Locking

By default, GNOME Power Manager supports a simple locking scheme. This
means that the screen will lock if set to Lock screen in
gnome-screensaver when the lid is closed, or the system performs a
suspend or hibernate action.

There is a complex locking scheme available for power users that
allows locking policy to change for the lid, suspend and hibernate
actions. To enable this complex mode, you will have to disable the
GConf key:

Then the policy keys can be set to force a gnome-screensaver lock
and unlock when the action is performed:

⇧ Dual booting: every time Windows boots, it increases the scrolling speed of the mouse on Ubuntu Can't get bootable usb to show up in bios  β‡©