Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Linux » Disable automatic screen lock on Ubuntu Desktop

Disable automatic screen lock on Ubuntu Desktop

Posted on 06/02/202130/09/2023 Christian By Christian No Comments on Disable automatic screen lock on Ubuntu Desktop
Ubuntu Linux

My little piece of advice would be never to disable this feature if your device is not in a secure location. Whenever you leave your device unattended, the best practice is to lock the screen of your DEVICE to prevent other people from using your desktop, installing malware, or accessing your files. If you sometimes forget to lock your screen, you may wish to have your computer’s screen lock automatically after a specific period of time. This will help prevent unauthorized access, thereby securing your device when it is not in use.

On how to disable screen lock on Windows, see the following guides. How to disable Lock Screen on Windows 10 via Local Group Policy Editor, and how to disable Lock Screen on Windows 10 via Registry Editor, install, remove, and upgrade packages in Ubuntu, and how to remove your login password from the Sign-in Screen (lock screen) and re-enable Sign-in Screen.

Screen lock might be annoying if you walk away from your PC and you are asked to logon again. If this is you concern, please follow the steps below to have it disabled. Refer to the last paragraph on how this is done on Ubuntu Linux 16.04 LTS

How to disable automatic screen lock on Ubuntu

Note: By default, the blank screen display and automatic screen lock are activated by default. If disabled previously, you can enable the automatic screen lock whenever you are idle for a specific period of time. This is particularly useful if you leave your device unattended in an unsecured environment. Here is an old article on to disable automatic screen lock in Ubuntu Linux.

Method 1

On the desktop, navigate to the upper-right corner of the screen, click the arrow icon to expand the desktop options and then click the Settings icon.

Expand Desktop Options on your device

Alternatively, you can click on the “Activities” overview, and type “Settings” or “Power“. From the settings panel, click Power to open the panel

Open device settings

This will open up the Power Panel
– Choose Never! But If you do not want to completely turn it off, you can change the value of the blank screen from the drop-down list.

Open the Power Panel and set the Blank Screen value

Method 2

You could also do this from the Privacy settings. Open Settings. There, you can select the Privacy settings tab.

Click on Privacy

When clicked, a modal window will open. Now click on the Screen Lock option.

Click on Screen Lock

There you can toggle Automatic Screen Lock on/off, set a time for locking the screen or set the blank screen to Never.

Toggle automatic Screen Lock on/off

Method 3: Using dconf Editor

Note: You can also disable the blank screen from the command line and also from the “dconf Editor“. To have the dconf Editor installed,
– Launch the Ubuntu Software,

Launch Ubuntu

This will open the Software Catalog as shown below
– Search for and install dconf Editor and
– Click on Install to have it installed.

Screenshot 2021 02 05 at 23.42.49
Open Software Catalogue
Screenshot 2021 02 05 at 23.43.45
Search for dconf editor
Screenshot 2021 02 05 at 23.44.16
Install dconf editor

You will be required to authentication before the installation can continue. Enter your password and click on Authenticate as shown below.

Enter your password

Note: When using the dconf Editor for editing your settings, please be extremely careful as some options may break your applications.

Next, launch the dconf Editor, 
- Navigate through the following path ===> org/gnome/desktop/session, and 
- Change the value of idle-delay. 

Also disable ‘Use default value’ switch. Please follow up from here 🙂

Disable Use Default Value on your device

To enable the automatic screen lock again, please repeat this process and toggle the switch from Off to ON, and set a reasonable value for the Blank Screen Delay.

Method 4: Disable Automatic Lock on Ubuntu

On how to disable blank screen (automatic screen lock) on Ubuntu 16.04 LTS, please follow the steps below.
– Launch the system’s settings as shown below and
– Click on Brightness & Lock

Click on Brightness and Lock on your device settings

This will open up the Brightness & Lock modal window, click on Never. This should fix you screen from automatically locking after a period of inactivity.

Change the value of Lock screen after

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
Linux Tags:Linux distro

Post navigation

Previous Post: How to install MDT PowerShell module on Windows
Next Post: Install and configure BigBlueButton on Ubuntu Linux

Related Posts

  • 2FA For SSH in Linux
    Set Two-Factor Authentication for SSH in Linux Linux
  • sshkey
    How to perform SSH key-based authentication in Linux Linux
  • FEATURE IMAGE
    SSH into a VM created using Azure CLI or GUI Linux
  • Groovy
    How to install Groovy on Linux and Windows Configuration Management Tool
  • Ubuntu on Windows
    Install Ubuntu 20.04 LTS on Windows via WSL Linux
  • SUBVERSION FEATURE
    How to Install Apache Subversion on a Linux System Linux

More Related Articles

2FA For SSH in Linux Set Two-Factor Authentication for SSH in Linux Linux
sshkey How to perform SSH key-based authentication in Linux Linux
FEATURE IMAGE SSH into a VM created using Azure CLI or GUI Linux
Groovy How to install Groovy on Linux and Windows Configuration Management Tool
Ubuntu on Windows Install Ubuntu 20.04 LTS on Windows via WSL Linux
SUBVERSION FEATURE How to Install Apache Subversion on a Linux System Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

Veeam Vanguard

  • How to Install RSAT on Windows 11
    How to Install and Uninstall RSAT on Windows 11 Windows
  • Clear Saved Email Address in Microsoft Edge
    Clear Saved Email Address: Stop Microsoft Edge from remembering your email ID Windows
  • preometheus
    Monitoring Synology with Prometheus and Grafana Reviews
  • Assigned Access
    Single App Kiosk Mode: Assigned Access using Local Settings Windows
  • GPO Blocked Downloads 3
    How to Block downloads on Microsoft Edge using GPO on Windows Server 2019 and 2022 Windows
  • Featured image Periodic scanning
    How to enable or disable Windows Defender Antivirus Scanning periodically on Windows via Windows Settings Security | Vulnerability Scans and Assessment
  • redisf
    How to install Redis on Linux System Linux
  • unzip mac 994x400 1
    How to set a default app to archive files on macOS Mac

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,808 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.