Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Disable automatic screen lock on Ubuntu Desktop

Posted on 06/02/202127/08/2026 Christian By Christian No Comments on Disable automatic screen lock on Ubuntu Desktop
  1. Home
  2. Linux
  3. 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. Please see how to remove your login password from the Sign-in Screen (lock screen) and re-enable Sign-in Screen, and SizeTrend: A Fast Windows Disk Space Analyzer for Storage Analysis.

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.

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.
Screenshot of the dconf Editor interface on Ubuntu, showing the navigation path to the 'session' settings, highlighting the 'idle-delay' setting with a value of 0.

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.

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
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

  • SUBVERSION FEATURE
    How to Install Apache Subversion on a Linux System Linux
  • Install Packages to Amazon Virtual Machine Using Terraform
    How to Install Packages to Amazon VM using Terraform AWS/Azure/OpenShift
  • 2FA For SSH in Linux
    Set Two-Factor Authentication for SSH in Linux Linux
  • GitLab 1
    How to Setup GitLab Runner on WSL Linux
  • ssh
    How to disable RC4 Cipher Algorithms support in SSH Server Linux
  • chamedk8s featured
    Install CNF Certified Kubernetes in AWS AWS/Azure/OpenShift

More Related Articles

featurekube How to Install and Use Minikube on a Linux System Containers
Screenshot 2021 02 14 at 00.35.50 How to manage automatic login on Ubuntu Linux Linux
zoom feature How to install Zoom video conference software on Linux System Linux
feature image How to Configure Advanced PAM in Linux Linux
linux w640 h400 How to install and configure Ubuntu Linux on VirtualBox Linux
Linux basic commands: Master the ‘ifconfig’ Utility Linux

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • retrieve SSL
    How to Retrieve an SSL Thumbprint in Windows using MMC Windows
  • Create Windows Defender Firewall Rule
    Fix Windows defender blocked incoming connection on Windows Network | Monitoring
  • Lets Encryp
    How to install Let’s Encrypt Certificates with IIS on a Windows Server Windows
  • qAS
    How to disable the Microsoft Deployment Toolkit Task Sequence property sheet Windows Server
  • SCSI Controoler HyperV issue failed to start VM
    Failed to Power on with Error ‘A virtual machine disk support provider for the specified file was not found Virtualization
  • ghm
    Single App Kiosk Mode Configuration using MDM Bridge WMI Provider Windows
  • apache ubuntu 20 04
    How to Install Apache HTTP Server on Ubuntu 20.04 LTS Linux
  • Locate Find and Grep Required 1
    Locate, Find and Grep: Search for files and patterns in Linux or Unix-like OS Linux

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.