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

3 Answers3

2

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

Broadsworde
  • 4,132
  • 4
  • 28
  • 45
  • 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 09 '19 at 16:31
  • Yes, the $ just indicates you are a regular user in Terminal, not SU – Broadsworde Apr 09 '19 at 16:35
  • okay, didn't work though. – Jonathan Hoffmann Apr 09 '19 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 09 '19 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 09 '19 at 17:03
  • What happens when you press: SUPER (Windows Button)+L ? It should just lock your screen. – Broadsworde Apr 09 '19 at 17:10
  • Locks the screen, then screen gos black and monitor says "no input". When waking it up with USB keyboard I gotta put in my password. – Jonathan Hoffmann Apr 09 '19 at 17:12
1

You can do it through GUI.

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

That is it!

Marmayogi
  • 2,488
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
PRATAP
  • 22,460