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
  • How to use Netstat.exe to confirm which Program uses or blocks a port
    How to use Netstat.exe to confirm which Program uses or blocks a port Linux
  • Restrict Access to USB Drives
    Deny Execute Access: Restrict Access to USB Drives on Windows [Part 1] Windows
  • cisco catalyst switch 1
    How to Reset a Cisco 3650 Catalyst Switch Network | Monitoring
  • screenshot 2020 03 21 at 22.44.04
    How to use Hyper-V checkpoint to restore a VM to its previous state Virtualization
  • Screenshot 2024 02 09 at 1.06.54 PM
    Programmatically Deploying App Service Resources in Azure AWS/Azure/OpenShift
  • veeamONE integration with VBR
    Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Task Scheduler Error 0x2 1
    How to fix Windows Task Scheduler 0x2 Error Windows

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 Pocket (Opens in new window) Pocket
  • 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

  • Screenshot 2024 02 28 at 11.17.41 PM
    GitHub Pages Deployment Guide Linux
  • how to install software packages from source files
    How to install a software package from source file in Linux Linux
  • selinux in production
    How to locate directory file context and restore it with SELinux Linux
  • Screenshot 2022 03 21 at 18.06.30
    How to Configure Virtual Host for Apache HTTP Web Server to Host Several Domains on Ubuntu 20.04 LTS Linux
  • fimage2
    How to install and configure JIRA on Linux Linux
  • linux tux minimalism 4k 42 2560x1700 1 1
    Warning useradd: the home directory already exists. Not copying any file from skel director into it Linux

More Related Articles

Screenshot 2024 02 28 at 11.17.41 PM GitHub Pages Deployment Guide Linux
how to install software packages from source files How to install a software package from source file in Linux Linux
selinux in production How to locate directory file context and restore it with SELinux Linux
Screenshot 2022 03 21 at 18.06.30 How to Configure Virtual Host for Apache HTTP Web Server to Host Several Domains on Ubuntu 20.04 LTS Linux
fimage2 How to install and configure JIRA on Linux Linux
linux tux minimalism 4k 42 2560x1700 1 1 Warning useradd: the home directory already exists. Not copying any file from skel director into it 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

sysadmin top30a

  • How to use Netstat.exe to confirm which Program uses or blocks a port
    How to use Netstat.exe to confirm which Program uses or blocks a port Linux
  • Restrict Access to USB Drives
    Deny Execute Access: Restrict Access to USB Drives on Windows [Part 1] Windows
  • cisco catalyst switch 1
    How to Reset a Cisco 3650 Catalyst Switch Network | Monitoring
  • screenshot 2020 03 21 at 22.44.04
    How to use Hyper-V checkpoint to restore a VM to its previous state Virtualization
  • Screenshot 2024 02 09 at 1.06.54 PM
    Programmatically Deploying App Service Resources in Azure AWS/Azure/OpenShift
  • veeamONE integration with VBR
    Install Veeam ONE and Add VBR: Fix failed to connect to VBR Backup
  • Missing Windows defender
    Missing Windows Defender? Install and manage Microsoft Defender via Windows Security on Windows Server Windows Server
  • Task Scheduler Error 0x2 1
    How to fix Windows Task Scheduler 0x2 Error Windows

Subscribe to Blog via Email

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

Join 1,832 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.