Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu: Do NOT lock the screen when pressing Super+L [closed]

Whenever I press Super+L (or Win+L) on my Ubuntu 14.04 Desktop, the screen gets locked. I would like to disable this behaviour. In System Settings->Keyboard->Shortcuts->System there is a shortcut configured for Lock screen: Ctrl+Alt+L. It works. But I couldn't find where the shortcut for Super+L is configured.

Background: I run Ubuntu in a virtual machine on Windows and use Super+L to lock the Windows desktop, making it superfluous to lock the Ubuntu Desktop. Once I unlock the screen I have to type my password twice: Once for Windows and again for Ubuntu.

like image 514
user1785730 Avatar asked Jul 23 '14 10:07

user1785730


People also ask

How do I stop Ubuntu screen from locking?

On your desktop, open up the top right menu and click on the gear wheel ( settings ) icon. From there click on Privacy tab in the left panel, followed by the Lock screen menu. Flip the Automatic Screen Lock switch into the OFF position. Optionally disable the Lock Screen on Suspend and Lock Screen Notifications .

How do I stop my screen from locking in Linux?

On the desktop, navigate to the upper-right corner of the screen, click the arrow icon to expand the desktop options and then click the Settings icon. From the the Settings menu, select Privacy. On the Privacy page, select Screen Lock, and toggle the Automatic Screen Lock switch from On to Off.

How do I stop screen timeout in Ubuntu?

Open the Activities overview and start typing Power. Click Power to open the panel. Use the Screen Blank drop-down list under Power Saving Options to set the time until the screen blanks, or disable the blanking completely.

What is Super L in Ubuntu?

This key can usually be found on the bottom-left of your keyboard, next to the Alt key, and usually has a Windows logo on it. It is sometimes called the Windows key or system key.


2 Answers

Unity also has a shortcut to lock the screen, so you need to disable that one too.

disable shortcut screenshot

  • Install and run CompizConfig Settings Manager
  • Click "Ubuntu Unity Plugin"
  • Click the button next to "Key to lock the screen."
  • Disable
like image 79
Chris Avatar answered Sep 16 '22 12:09

Chris


While this is an old question, it still comes up as the top result for searches like "ubuntu disable win+L locking". For future reference, this answer covers a method without CompizConfig Settings Manager.

https://askubuntu.com/questions/531835/how-do-i-disable-lock-screen-keyboard-shortcut-under-unity

In short:

Run gsettings set org.gnome.desktop.lockdown disable-lock-screen true to disable the lock screen.

However, this will still turn your screen black for a few seconds. This is still especially useful if you are running Ubuntu in a VM, and don't want it to lock when you lock your outer system.

like image 28
Conner Catanese Avatar answered Sep 16 '22 12:09

Conner Catanese