Mint 19 apparently ignores "do not lock screen" setting
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Mint 19 apparently ignores "do not lock screen" setting
i'm running Mint 19 with Cinnamon. i'm not 100% sure which forum this question/report should go to, so i'm throwing it into "Other topics"...
The screensaver config offers 2 "Lock settings":
1) Lock the computer when put to sleep
2) Lock the computer after the screensaver starts
Both of those are turned OFF on my system (as is the screensaver).
Despite both being turned off, the screen is locking when waking up from being suspended (which i use multiple times per day).
My question is: how do i get it to NOT lock the screen when entering/coming out of suspend mode?
Any hints would be greatly appreciated!
Edit: it's also locking the screen when i close and open the lid. It's configured to "do nothing" (not suspend) when the lid is closed while on AC power.
PS: Mint 18.3 and earlier did not do this - they woke up directly to my desktop with no screen lock.
(Sidebar: nobody but me in this household uses my computer, so locking the screen is not a concern. If someone breaks in and tries to use it, i have much larger problems than my computer's security. Any preaching about "how insecure" this is will be ignored.)
The screensaver config offers 2 "Lock settings":
1) Lock the computer when put to sleep
2) Lock the computer after the screensaver starts
Both of those are turned OFF on my system (as is the screensaver).
Despite both being turned off, the screen is locking when waking up from being suspended (which i use multiple times per day).
My question is: how do i get it to NOT lock the screen when entering/coming out of suspend mode?
Any hints would be greatly appreciated!
Edit: it's also locking the screen when i close and open the lid. It's configured to "do nothing" (not suspend) when the lid is closed while on AC power.
PS: Mint 18.3 and earlier did not do this - they woke up directly to my desktop with no screen lock.
(Sidebar: nobody but me in this household uses my computer, so locking the screen is not a concern. If someone breaks in and tries to use it, i have much larger problems than my computer's security. Any preaching about "how insecure" this is will be ignored.)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Mint 19 apparently ignores "do not lock screen" setting
Try this for this lid issue. There are a few suspend bugs being actively worked on looking at Github at the moment.
This will open that file in nano with root privileges. Use the arrow keys to scroll to the end of the commented out sections and add these two lines
Then hit Ctrl-X followed by Y and enter to save.
Logout & Log back in...see if it works.
sudoedit /etc/systemd/logind.conf
This will open that file in nano with root privileges. Use the arrow keys to scroll to the end of the commented out sections and add these two lines
Code: Select all
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
Logout & Log back in...see if it works.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Mint 19 apparently ignores "do not lock screen" setting
^ along those lines, did you maybe play around with dconf-editor and switch this setting?
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Mint 19 apparently ignores "do not lock screen" setting
Scrap my suggested fix - I can confirm the bug with the same settings and that fix isn't working.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Mint 19 apparently ignores "do not lock screen" setting
Maybe you guys should create a new user account and log in to that instead, see if it works. I got no problems and I didn't have to modify anything other than to uncheck the box in screensaver settings.
Re: Mint 19 apparently ignores "do not lock screen" setting
Bummer . Maybe it's because you didn't use emacs to edit logind.conf?
In any case, i made this change (with emacs!) and we'll see what happens the next time i restart (which is admittedly rare).
That option was already set to "on" in my system. The lock-on-suspend option, visible a few lines down from there, is off. Hmmm... the searching dconf for "lock" reveals that org.mate and org.gnome have several conflicting options which enable locking (i'm using Cinnamon). i'll disable those and see what happens. Hmmm.... org.cinnamon.desktop.lockdown.disable-lock-screen sounds promising. i'll try that one.
Oh, well. It's not "broken" as-is, just terribly annoying (i suspend my computer any time i'll be away from it for more than 5 minutes or so, so i come out of suspend mode a lot). i'll wait and see if it gets fixed in a regular update.
i'll report back if my scorched-earth policy of disabling any dconf setting with "lock" in the name has any effect.
Thanks for the assistance!
Re: Mint 19 apparently ignores "do not lock screen" setting
A new user account? i've had this account for more than two decades and no little screen lock bug is going to take that away from me!
Re: Mint 19 apparently ignores "do not lock screen" setting
I mean just for testing, so you can see if it also happens with default user settings (you'll have to uncheck the option in the screensaver settings again though). If it doesn't happen then, you'll know it's a problem with your main user's settings. Otherwise you'll know that you don't have to search through the user settings any longer because it won't make a difference.
It's just a useful troubleshooting technique to quickly rule out user settings as the cause.
[SOLVED (well, worked around)] Re: Mint 19 apparently ignores "do not lock screen" setting
Luckily i didn't have to go that far (it could have quickly ruled out a global-level problem but wouldn't have helped me find which local setting - possibly inherited from some 10-year-old config bits - is the culprit).
Following your suggestion to look in dconf-editor, i searched for "lock" and disabled any and all settings which mentioned screen/screensaver/suspend/hibernate locking, regardless of which desktop environment they were for. One of those settings solved it. My guess is that it was org.cinnamon.desktop.lockdown.disable-lock-screen. Let's test that... Nope, that toggle didn't make a difference. Apparently it was one of the other 6 or 8 i toggled, but i can't be bothered to go try them out one by one .
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: [SOLVED (well, worked around)] Re: Mint 19 apparently ignores "do not lock screen" setting
Fair enough - at least we know it's fixable.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Mint 19 apparently ignores "do not lock screen" setting
Update: the toggles i switched earlier apparently only resolve the problem when coming out of suspend (and, i suspect, hibernate, but haven't yet tried that). When simply shutting the laptop lid and re-opening it, with the system configured to "do nothing" when the lid is closed when running on AC, the lock is activated .
- smurphos
- Level 18
- Posts: 8498
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: Mint 19 apparently ignores "do not lock screen" setting
See viewtopic.php?f=208&t=273378&p=1509068#p1509068 for a workaround.sgbeal wrote: ⤴Sun Aug 05, 2018 11:07 am Update: the toggles i switched earlier apparently only resolve the problem when coming out of suspend (and, i suspect, hibernate, but haven't yet tried that). When simply shutting the laptop lid and re-opening it, with the system configured to "do nothing" when the lid is closed when running on AC, the lock is activated .
Also for coming out of suspend issues kernel 4.15.0.30 includes a bug fix for xorg crashes coming out of suspend - that might fix the other issue.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
Re: Mint 19 apparently ignores "do not lock screen" setting
That did it . Thank you! Finally lock-screen free!smurphos wrote: ⤴Wed Aug 08, 2018 1:51 amSee viewtopic.php?f=208&t=273378&p=1509068#p1509068 for a workaround.