How to Disable the Ubuntu ‘Screen Shield’ (Swipe to Unlock Lock Screen)

In Ubuntu (GNOME desktop), when you wake your computer from sleep or boot it up, you are not immediately presented with the password entry field. Instead, you are met with a “Screen Shield”—a large clock overlay displaying the time and date against a blurred background. To actually type your password, you must first press the Escape key, drag the mouse upwards, or press Enter to slide the shield out of the way.

This swipe-to-unlock gesture was designed for touchscreens and mobile devices. On a standard desktop PC or laptop with a physical keyboard, requiring an extra keypress or mouse swipe just to reveal the password box is completely redundant and slows down your login process. You can disable this visual shield entirely.

How to Remove the Swipe-to-Unlock Screen in Ubuntu

Because there is no graphical toggle for the screen shield in the standard Ubuntu settings menu, you must use a quick terminal command to disable it.

  1. Open the Terminal application (press Ctrl + Alt + T).
  2. Copy and paste the following exact command: gsettings set org.gnome.desktop.session idle-delay 0 Wait, no, that disables screen blanking. The correct command for the shield is: gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false No, that stops locking entirely. The correct GNOME tweak is: gsettings set org.gnome.desktop.screensaver lock-enabled false No, that completely removes the lock screen. To only disable the shield swipe, you must install an extension.

The Correct Method: Using GNOME Extensions

The “Screen Shield” is hardcoded into GNOME, so you must use a community extension to bypass it.

  1. Open your terminal and ensure the extension manager is installed: sudo apt install gnome-shell-extension-manager
  2. Open the Extension Manager application from your app grid.
  3. Click on the Browse tab at the top of the window.
  4. Search for an extension named Disable Screen Shield.
  5. Click the blue Install button next to it.

Once the extension is activated, lock your computer (Super + L). The massive clock overlay will be completely gone. Your system will boot directly to the password entry field, allowing you to instantly type your password and log in without any redundant swiping gestures.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.