How to Disable the Ubuntu ‘Screen Lock’ Shortcut (Super + L)

In Ubuntu (and most GNOME-based Linux distributions), pressing the Super (Windows) Key + L instantly locks your screen, requiring you to enter your password to regain access to your desktop. This is a vital security feature for office environments.

However, the “L” key is located near the middle-right of the keyboard. If you are a heavy user of keyboard shortcuts, you might accidentally brush the Super key while reaching for the “L” key to type, instantly locking yourself out of your machine mid-sentence. If you are using a home desktop computer that no one else has access to, you may want to disable this shortcut entirely to prevent accidental lockouts.

How to Disable the Super + L Shortcut in Ubuntu

You can unbind the lock screen shortcut directly from the system settings.

  1. Click the network/battery icon cluster in the top-right corner of the Ubuntu top bar and select Settings (the gear icon).
  2. In the left-hand navigation sidebar, scroll down and click on Keyboard.
  3. In the main window on the right, look for the “Keyboard Shortcuts” section and click the View and Customize Shortcuts button.
  4. A new window will appear. Click on the System category.
  5. Find the entry labelled Lock screen (it should show “Super+L” next to it).
  6. Click on the “Lock screen” entry. A pop-up dialog will appear asking you to enter a new shortcut.
  7. Instead of pressing new keys, press the Backspace key on your keyboard. This will clear the shortcut, changing its status to “Disabled.”
  8. Click the Set button to confirm.

The shortcut is now disabled. Pressing Super + L will do absolutely nothing, and you will never accidentally lock your Ubuntu desktop while typing again.

Get the best tech tips delivered straight to your inbox.

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