How to Disable the Screensaver in GNOME Shell

GNOME Shell does not use a traditional animated screensaver by default. If the display goes dark or a lock screen appears while you are away, change the idle behavior you actually want to stop: screen blanking, automatic screen locking, or automatic suspend. To keep the display awake all the time, set Settings > Power > Screen Blank to Never. If GNOME still shows a password prompt, turn off Automatic Screen Lock separately. For occasional presentations or long-running tasks, the Caffeine extension provides a temporary keep-awake toggle.

Know which idle behavior to change

These settings are related, but one does not replace the others. GNOME’s help documentation treats display blanking and the lock screen as separate controls:

  • Screen blanking turns off the display after inactivity to save power. Change this in Power settings.
  • Automatic screen lock covers the session with the lock screen and may require your password to return. Change this in Privacy & Security.
  • Automatic suspend puts the computer to sleep. It is also controlled from Power settings and can make the display appear to have gone off.

If your goal is only to stop the lock prompt, leave screen blanking on and change the lock setting. If you want the monitor to remain lit, change Screen Blank. Adjust suspend only if the whole computer sleeps.

Set Screen Blank to Never

  1. Open the Activities overview, type Power, and open the Power panel in Settings.
  2. Under Power Saving Options, open Screen Blank and choose Never.
GNOME Settings Power panel with the Screen Blank control set to Never
Choose Never in Power settings to stop GNOME from blanking the display while idle.

This keeps the display from blanking due to GNOME’s idle timer. It does not automatically disable screen locking or suspend. Keeping a display on uses more electricity, so choose a delay instead if you only need a longer interval. Menu wording and available options can vary slightly by the GNOME version or Linux distribution.

If the computer itself goes to sleep, return to the Power panel and review Automatic Suspend. Disable suspend only for the power source that matters to you; a laptop may use different behavior on battery and while plugged in.

Turn off the automatic lock screen

  1. Open Activities, search for Privacy & Security, and open that Settings panel.
  2. Select Screen Lock.
  3. Switch Automatic Screen Lock off. To keep the lock screen but wait longer before it appears, leave the switch on and change Automatic Screen Lock Delay instead.
GNOME Privacy and Security settings showing Automatic Screen Lock switched off
The Automatic Screen Lock switch controls whether GNOME locks the session after inactivity.

Turning off automatic locking leaves your desktop open when you walk away. Anyone with physical access to the computer may be able to see or use the active session. Keep automatic locking enabled on shared, public, or work devices; increasing the delay is a safer compromise when the default interval is too short.

Use Caffeine when you only need a temporary pause

The third-party Caffeine GNOME Shell extension can inhibit the idle screensaver behavior and automatic suspend while it is active. This is useful for a presentation, a long download, or a task that should keep running without you touching the keyboard. Unlike changing the built-in settings, you can switch it off when the task is over.

  1. Open the Caffeine page on GNOME Extensions. Check the listed Shell versions against your installed GNOME Shell before installing.
  2. Choose Install. If the site says GNOME Shell integration is missing, follow its instructions for the browser component and native host, or install the extension through a compatible extension manager provided for your distribution.
Caffeine extension listing on GNOME Extensions with its Install control
Use the official GNOME Extensions listing and check Shell compatibility before installing Caffeine.
  1. After installation, enable Caffeine in your Extensions app if it is not already active. Open GNOME Quick Settings from the system menu in the top-right corner and switch on the Caffeine tile when you need to keep the session awake.
  2. Switch Caffeine off when you are finished. The extension’s indicator can also show an active, filled coffee cup when that indicator is enabled.
GNOME Quick Settings with the Caffeine tile switched on
Turn Caffeine on for a temporary keep-awake period, then turn it off when you are done.

Extensions are maintained separately from GNOME itself and may not support every Shell release immediately. If Caffeine is unavailable or refuses to enable, do not force an incompatible version; use the built-in Power and Screen Lock controls instead. The extension’s current compatibility list and notes are on its GNOME Extensions page and its upstream project page.

Check the result

  • If the screen goes dark but the session is still running, check Power > Screen Blank.
  • If the lock curtain appears, check Privacy & Security > Screen Lock.
  • If the whole computer stops responding until you wake it, check Automatic Suspend.

For GNOME’s built-in controls, see the official guides to setting screen blanking time and automatic screen locking. Those settings are the simplest way to disable GNOME Shell’s idle blanking or lock behavior without installing an extension.

Leave a Comment

How to Share Files Over Bluetooth on Linux with Blueman

How to Share Files Over Bluetooth on Linux with Blueman

Send and receive files over Bluetooth on Linux with Blueman. Install OBEX support, pair devices, choose a file, accept transfers, and fix common issues.

How to Connect to Servers with GNOME Files

How to Connect to Servers with GNOME Files

Connect GNOME Files to SSH/SFTP, FTP, SMB, WebDAV, or NFS with the correct server URI, sign-in details, and fixes for common connection errors.

How to Connect to Servers in Linux With the KDE Dolphin File Manager

How to Connect to Servers in Linux With the KDE Dolphin File Manager

Open SFTP, SSH, SMB, FTP, NFS, and WebDAV locations in Dolphin, sign in safely, transfer files, and save network folders for later.

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

Connect a DualShock 4 to Linux by USB or Bluetooth, then check controller detection and configure Steam Input only when a game needs it.

How to Speed Up the Fedora Linux App Installer

How to Speed Up the Fedora Linux App Installer

Use DNF5 parallel downloads to reduce RPM install waits in GNOME Software, then tell when mirror or Flatpak delays need a different fix.

How to Use iCloud on Linux Through Your Web Browser

How to Use iCloud on Linux Through Your Web Browser

Access iCloud on Linux in a current browser. Learn how to sign in, use iCloud Drive and other web apps, and understand the limits of browser access.

How to Back Up the Linux Bootloader to a USB Drive

How to Back Up the Linux Bootloader to a USB Drive

Save GRUB settings, boot files, and UEFI entry details to removable storage, then use rescue media to repair the correct boot path safely.

How to Install and Set Up Bitwarden on Linux

How to Install and Set Up Bitwarden on Linux

Install Bitwarden on Linux with the right DEB, RPM, Snap, Flatpak, or AppImage package, then sign in and set a secure vault timeout.

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

Pick a screensaver theme in Xfce, preview it, choose when it starts, and configure automatic locking in the separate Lock Screen tab.

How to Disable the Screensaver in GNOME Shell

How to Disable the Screensaver in GNOME Shell

Stop GNOME Shell from blanking or locking your display automatically. Change Power and Screen Lock settings, or use Caffeine for a temporary keep-awake toggle.