By default, Ubuntu automatically blanks the computer screen after a short period of idle time (typically 5 or 10 minutes) to conserve electricity and prolong display panel lifespan. While beneficial for battery preservation on laptops, automatic blanking is inconvenient when following tutorials, reading lengthy research documents, monitoring server dashboards, or delivering slideshow presentations.
Ubuntu allows desktop users to disable the idle blanking timer entirely through graphical system settings without editing terminal power configs. Here is how to disable automatic screen blanking in Ubuntu.
Step-by-Step: Disabling Screen Blanking in Ubuntu Settings
- Open the Settings application from your Ubuntu dock or press the Super key and search for “Settings”.
- In the left sidebar, click on Power.
- Locate the section labelled Power Saving.
- Find the setting labelled Screen Blank.
- Click the drop-down menu beside Screen Blank (which typically displays 5 minutes or 15 minutes).
- Scroll to the very bottom of the timing list and select Never.
The modification takes effect immediately. Your Ubuntu monitor will remain continuously illuminated regardless of how long the system sits idle.
How to Prevent Automatic Suspend When Running on AC Power
In addition to screen blanking, Ubuntu may enter system sleep (Automatic Suspend) after extended periods of inactivity. To prevent your PC from sleeping while keeping the screen awake:
- In Settings > Power, locate the Automatic Suspend option under Power Saving.
- Click on Automatic Suspend.
- Toggle off the switch labelled When on AC Power (or set the delay slider to Off / Never).
- If you are using a laptop, you can leave When on Battery Power enabled to protect your laptop battery when unplugged.
Using the Command Line for Quick Temporary Overrides (caffeine / inhibit)
If you only want to suppress screen blanking temporarily while watching a video or running a long compiler script without permanently altering your system power settings:
- Press Ctrl + Alt + T to open the Terminal.
- Use the native
systemd-inhibitutility:systemd-inhibit --what=idle sleep 3600 - This prevents idle screen blanking for 3,600 seconds (1 hour). Simply close the terminal window to restore normal power management.
Frequently Asked Questions
Can I still manually lock my Ubuntu screen with blanking disabled?
Yes. Setting screen blanking to ‘Never’ does not affect manual security locks. You can lock your session instantly at any time by pressing Super + L.
Does disabling screen blanking cause monitor burn-in?
On modern LCD/LED desktop monitors, image retention is rare under standard office use. However, on OLED displays, displaying static high-contrast imagery for dozens of continuous hours is discouraged; consider using a moving screensaver or turning off the physical power button when away.