By default, Ubuntu automatically locks your desktop session after a brief period of inactivity to prevent unauthorised access in public or shared office environments. However, if you are operating on a secure home workstation, running long-running terminal builds, rendering video projects, or reading reference documentation without touching your keyboard, having your screen constantly lock and prompt for password re-entry can be disruptive. Fortunately, GNOME on Ubuntu allows users to disable automatic screen locking completely.
Understanding Screen Blanking vs. Screen Locking
Ubuntu divides display power management into two separate mechanisms:
- Screen Blanking: Powers down the display signal after a set period of inactivity to save energy on monitors and laptop batteries.
- Automatic Screen Lock: Requires entering your user account password to resume desktop interaction once the display blanks.
You can choose to keep energy-saving screen blanking active while completely turning off the password lock requirement, giving you immediate desktop access with a simple mouse wiggle.
Step-by-Step: Disabling Automatic Screen Lock
Follow these steps using the native GNOME Settings utility on modern Ubuntu releases (including 22.04 LTS, 24.04 LTS, and newer builds):
1. Open Ubuntu Settings
Click on the System Menu in the top-right corner of your desktop panel (where network and volume icons reside) and select Settings. Alternatively, press the Super key (Windows key), type Settings, and press Enter.
2. Navigate to Privacy & Security
In the left navigation sidebar of the Settings window, scroll down and click on Privacy & Security (or Privacy in earlier Ubuntu builds).
3. Open Screen Lock Preferences
In the central settings panel, locate and click on Screen Lock.
4. Disable Automatic Screen Lock
You will see several controls governing display sleep behaviour:
- Locate the toggle switch labelled Automatic Screen Lock.
- Click the switch to turn it OFF.
5. Optional: Adjust Lock Screen on Suspend
Directly beneath the primary toggle, you will find Lock Screen on Suspend:
- If you close your laptop lid or put your machine into sleep mode, you can decide whether a password should still be required upon waking.
- Toggle this switch off if you want password-free wakeups at all times.
Configuring Screen Blank Delay
If you also want your display to remain perpetually awake without ever turning black:
- In the left Settings sidebar, click on Power.
- Under the Power Saving Options section, find Screen Blank.
- Click the drop-down menu and select Never.
Customising these power and privacy controls ensures your desktop remains immediately accessible throughout demanding programming and analysis workflows.