How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
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.
-
- Level 1
- Posts: 46
- Joined: Thu Mar 08, 2012 10:33 pm
How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Hello
I had this configured to work as I wanted in Mint 18.3 but I don't remember how I did it and am having a hard time figuring it out.
What I want is to disable the feature where the screen locks when my laptop's lid is closed.
It's fine if the screen turns off but I don't want the laptop to sleep or to lock the screen, requiring me to type in a password.
I went to the screensaver settings and set the "Delay before starting screensaver" to never, which I hope means it will never start but I don't know.
I also turned off the "Lock the computer after the screensaver starts" option, though I would like the screensaver to never start.
Under "Power management" both dropdowns for "when lid is closed" are set to "do nothing".
Can someone please help me figure this out?
Thanks in advance.
I had this configured to work as I wanted in Mint 18.3 but I don't remember how I did it and am having a hard time figuring it out.
What I want is to disable the feature where the screen locks when my laptop's lid is closed.
It's fine if the screen turns off but I don't want the laptop to sleep or to lock the screen, requiring me to type in a password.
I went to the screensaver settings and set the "Delay before starting screensaver" to never, which I hope means it will never start but I don't know.
I also turned off the "Lock the computer after the screensaver starts" option, though I would like the screensaver to never start.
Under "Power management" both dropdowns for "when lid is closed" are set to "do nothing".
Can someone please help me figure this out?
Thanks in advance.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
I have the same problem and it is annoying. If power management is set to suspend and you open laptop no password needed so I assume this is a bug but not sure how to articulate it.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
I have exactly the same problem. On LM 19, all updates applied (and home partition encrypted), after the lid is closed, the screen is locked. I use exactly the same settings as in LM 18.3 and the screen was not locked here.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
This is really bugging me as well. The power management option says "Do Nothing" when lid is closed. That is inaccurate. It does something when the lid is closed: it activates the lock screen.
edit - this is on version 18.2, so it's not something new in 19 as far as I can tell.
edit - this is on version 18.2, so it's not something new in 19 as far as I can tell.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Same here. In 17.3 there was a setting under screensaver to "lock the computer when the screen turns off". That switch is missing in Mint 19.
-
- Level 1
- Posts: 46
- Joined: Thu Mar 08, 2012 10:33 pm
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Has anyone found a solution yet? I'm pretty sure it's the screensaver that turns on, but I don't know how to get stop it.
-
- Level 1
- Posts: 46
- Joined: Thu Mar 08, 2012 10:33 pm
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
I can chmod 0 /usr/bin/cinnamon-screensaver and that keeps it from locking when the lid is closed, but that also prevents it from locking when the laptop is suspended.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
This helped me solve the problem: https://askubuntu.com/questions/15520/h ... laptop-lid
- smurphos
- Level 18
- Posts: 8501
- Joined: Fri Sep 05, 2014 12:18 am
- Location: Irish Brit in Portugal
- Contact:
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Good find zacktheperson.... there was one fix suggested on there that I hadn't tried and hey presto it works...zacktheperson wrote: ⤴Wed Aug 08, 2018 1:07 am This helped me solve the problem: https://askubuntu.com/questions/15520/h ... laptop-lid
sudoedit /etc/UPower/UPower.conf
Change
IgnoreLid=false
to IgnoreLid=true
, Ctrl-X and then Y and enter to save. Reboot. This has a side effect of removing Lid Actions entirely from the Power Manager GUI, but also kills the bug of the screensaver kicking in despite settings on lid close. Screensaver remains operational otherwise.
Reverting the edit and rebooting restores the Options in Power manager GUI as-well as the bug...
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.
-
- Level 1
- Posts: 46
- Joined: Thu Mar 08, 2012 10:33 pm
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Thanks guys!
To clarify for others who might run into this problem, this is what I had to do:
* Edit /etc/UPower/UPower.conf and change the IgnoreLid to true:
* Then edit /etc/systemd/logind.conf, uncomment the HandleLidSwitch and change it to ignore:
* Then reboot.
The screen still turns black when the lid is closed (must be a hardware thing) and if I suspend the machine manually it will still resume when I open the lid. But it will not sleep or turn on the screensaver when I close the lid.
Too bad the UI for this doesn't work, but at least there is this workaround!
To clarify for others who might run into this problem, this is what I had to do:
* Edit /etc/UPower/UPower.conf and change the IgnoreLid to true:
Code: Select all
IgnoreLid=true
Code: Select all
HandleLidSwitch=ignore
The screen still turns black when the lid is closed (must be a hardware thing) and if I suspend the machine manually it will still resume when I open the lid. But it will not sleep or turn on the screensaver when I close the lid.
Too bad the UI for this doesn't work, but at least there is this workaround!
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
Thanks for this post, everyone.
I've been having trouble with my system freezing and suspect it has something to do with the lock screen. I don't know if the freezing issue is fixed, but I was trying to disable the lock screen everywhere so I was going crazy when I couldn't disable lock after lid close. I appreciate the help from you all!
I've been having trouble with my system freezing and suspect it has something to do with the lock screen. I don't know if the freezing issue is fixed, but I was trying to disable the lock screen everywhere so I was going crazy when I couldn't disable lock after lid close. I appreciate the help from you all!
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
it looks like i need this fix too - can you dumb down the instructions to fix? what do you mean by edit? thanks.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
this worked! Running LM19 cinnamon on an old laptop and main issue has been computer locks up completely every time lid is lowered too far, editing both files as @andrewsmith suggests solved it for me, thanks for both question and answer good Sir!andrewsmith wrote: ⤴Wed Aug 08, 2018 2:25 pm Thanks guys!
To clarify for others who might run into this problem, this is what I had to do:
* Edit /etc/UPower/UPower.conf and change the IgnoreLid to true:* Then edit /etc/systemd/logind.conf, uncomment the HandleLidSwitch and change it to ignore:Code: Select all
IgnoreLid=true
* Then reboot.Code: Select all
HandleLidSwitch=ignore
The screen still turns black when the lid is closed (must be a hardware thing) and if I suspend the machine manually it will still resume when I open the lid. But it will not sleep or turn on the screensaver when I close the lid.
Too bad the UI for this doesn't work, but at least there is this workaround!
-
- Level 2
- Posts: 71
- Joined: Tue Mar 29, 2016 8:41 am
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
When I made the changes recommended here the screen doesn't lock but when connecting the computer to another screen and closing it I don't see the same as in the computer. Before updating to LM 19 I could close the lid and let the computer working and when I connected it to another screen and closed the lid I could see the same that I had open.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
I believe it is fixed now. It is working fine now for me. Nothing done on my part, other than applying all the updates.
Re: How to disable screen locking on lid closed in Cinnamon in Linux Mint 19
This worked also in Peppermint 10! Thanks!
andrewsmith wrote: ⤴Wed Aug 08, 2018 2:25 pm Thanks guys!
To clarify for others who might run into this problem, this is what I had to do:
* Edit /etc/UPower/UPower.conf and change the IgnoreLid to true:* Then edit /etc/systemd/logind.conf, uncomment the HandleLidSwitch and change it to ignore:Code: Select all
IgnoreLid=true
* Then reboot.Code: Select all
HandleLidSwitch=ignore
The screen still turns black when the lid is closed (must be a hardware thing) and if I suspend the machine manually it will still resume when I open the lid. But it will not sleep or turn on the screensaver when I close the lid.
Too bad the UI for this doesn't work, but at least there is this workaround!