1

I just installed Ubuntu on my media computer. I would like to be able to login from suspend without writing in the password. Found this thread: Disable password request from from suspend - 18.04 Somebody already commented on the solution that it didn't work for him/her. I have the same thing. I found another solution of just disabling the lock screen all together. That would be fine by me, but it also doesn't allow me to suspend the computer anymore, and as it is in my bedroom, I would like to be able to suspend it manually instead of waiting 15 minutes until it can autosuspend. Any ideas of what I can do?

Greetings, Jonathan

1

You can turn the screensaver lock off by:

$ gsettings set org.gnome.desktop.screensaver lock-enabled false

You can turn the suspend lock off by:

$ gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

You can lock the screen at will by:

SUPER+L

  • As I understood in other threads, I should write it without the $, right? Didn't work for me with $ gsettings set org.gnome.desktop.screensaver lock-enabled false gsettings set org.gnome.desktop.screensaver lock-enabled false gsettings set org.gnome.desktop.screensaver lock-enabled 'false' – Jonathan Hoffmann Apr 9 at 16:31
  • Yes, the $ just indicates you are a regular user in Terminal, not SU – Broadsworde Apr 9 at 16:35
  • okay, didn't work though. – Jonathan Hoffmann Apr 9 at 16:37
  • That suspends my computer without me being able to wake it via USB, but with pressing the powerbutton I don't have to put in my password. However otherwise I still have to type my password. Seems to me like a longer solution to start my terminal type in the command, type my password, next time get up to press the powerbutton instead of just simply typing in the password when waking up... – Jonathan Hoffmann Apr 9 at 16:50
  • Oh, maybe I am an idiot. I use the lock button on the top right, where you would also shut down the computer. Is that some other funktion? Hovering over it didn't give me more info like it would in windows. – Jonathan Hoffmann Apr 9 at 17:03
0

You can do it through GUI.

  1. Settings -> Privacy -> Screen lock
  2. Click Screen Lock
  3. Set Automatic screen Lock off

That is it!

0

Okay, don't know why this all is not standard, but I got it now how I want it.

Step 1:
Added a suspend button
https://extensions.gnome.org/extension/826/suspend-button/

Step 2:
Wake up computer via USB
Wake up from suspend using wireless USB keyboard or mouse (for any Linux Distro)

Step 3:
Disable The Lock button, so nobody touches that
Disabling Lock Screen 18.04

Step 4:
Stop asking for passwords after suspend Broadswordes comment: You can turn the screensaver lock off by:

$ gsettings set org.gnome.desktop.screensaver lock-enabled false

You can turn the suspend lock off by:

$ gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.