0

Update: I originally flagged this as a "Lock Screen" problem. But with the help from @Dennis, I came to understand that the problem I describe below could be much better defined as a "Screen Shield" issue. Many thanks to @Dennis because I was getting ready to gouge my eyes out.


Original problem description:

I feel like I have had this problem before and I can't remember how I ultimately solved it. No matter what I do, when i close my laptop lid, it locks the screen. Except that it's not a lock screen, I don't have to enter my password, I just have to hit escape. That's annoying enough, but sometimes hitting escape doesn't work and I have to ssh into my laptop and kill X.

I have edited my /etc/systemd/logind.conf, here are the relevant edits:

 39 HandleLidSwitch=ignore
 40 HandleLidSwitchDocked=ignore
 41 IdleAction=ignore
 42 LidSwitchIgnoreInhibited=no

(all other line items in the logind.conf are commented out and I ran sudo systemctl restart systemd-logind or rebooted after)

I have installed tweak and disabled suspend with laptop lid closed.

I have made the recommended changes in the power section in Settings.

I have even installed Caffeine and enabled it.

Nothing matters, it still puts up that pseudo "not really a lock screen" screen when I close my laptop. And again, 25% of the time I have to kill X because I can't get out of it.

To make matter worse, it only goes into the lock screen about half the time, and I am unable to discern a pattern.

Much anger, please help.

Update: I tried the tip listed at How can I disable all locking in 14.10?

Still didn't work.

Kulfy
  • 18,154

1 Answers1

0

The names I have seen for this are "Gnome Screen Shield" and "Gnome Screen Curtain" it seems to be unrelated to the lock screen though judging by the amount of comment around the web available in searches, disabling it is a fairly common desire. On Ubuntu 18.04.1 with gnome 3.28.2 there is an extension that is working for me. I have disabled the lock screen and turned on the following extension. https://extensions.gnome.org/extension/672/disable-screen-shield/

Dennis
  • 2,513