A "Do nothing" option when you close the laptop lid
Forum rules
- Only post ideas here that are specifically about the Linux Mint distribution or its websites.
- So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
-
- Level 1
- Posts: 1
- Joined: Sun May 27, 2018 4:27 pm
A "Do nothing" option when you close the laptop lid
Within the power manager, please, add a "do nothing" option. It severely helps people when they are making a compact workstation involving an external monitor. I went into the config profiles to take it out, it was a massive pain that would be extremely easy (from my perspective) to be implemented. Thank you in advance.
Re: A "Do nothing" option when you close the laptop lid
But there is that option - from the Control Center - Hardware:
- "when Laptop Lid is Closed " "do nothing".
that option in Power Management - in available in both:
- On AC Power
- On Battery Power
under the Actions area.
you don't see that ? what desktop version of LinuxMint are you using ?.
- "when Laptop Lid is Closed " "do nothing".
that option in Power Management - in available in both:
- On AC Power
- On Battery Power
under the Actions area.
you don't see that ? what desktop version of LinuxMint are you using ?.

Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Re: A "Do nothing" option when you close the laptop lid
Hello there
I am using LinuxMint cinnamon Tara and neverthless the option "do nothing" is checked for AC power and for battery power, I cannot avoid my screen to be locked when I close the lid of the laptop.
Thank you for any idea to avoid that???
I am using LinuxMint cinnamon Tara and neverthless the option "do nothing" is checked for AC power and for battery power, I cannot avoid my screen to be locked when I close the lid of the laptop.
Thank you for any idea to avoid that???
Linuxmint Cinnamon Tara 19 64 bits
Asus X200MA and UX430U
Asus X200MA and UX430U
Re: A "Do nothing" option when you close the laptop lid
Try this:
Code: Select all
sudo sed -i '/IgnoreLid=/{s/false/true/}' /etc/UPower/UPower.conf
sudo sed -i '/HandleLidSwitch/{s/#//;s/suspend/ignore/}' /etc/systemd/logind.conf
sudo systemctl restart systemd-logind
Re: A "Do nothing" option when you close the laptop lid
Hello gm10
Thanks a lot for your answer.
Your suggestion works fine after rebooting the system.
I actually do appreciate. Many thanks.
But I do support too the first suggestion of "Nocturn Adrift" for a simple option which would suspend all actions except turning off the light of the screen when we close the lid of a laptop.
Your suggestion needs badly a lot of Linux knowledge not everybody have. Neither me...

Thanks a lot for your answer.
Your suggestion works fine after rebooting the system.
I actually do appreciate. Many thanks.
But I do support too the first suggestion of "Nocturn Adrift" for a simple option which would suspend all actions except turning off the light of the screen when we close the lid of a laptop.
Your suggestion needs badly a lot of Linux knowledge not everybody have. Neither me...



Linuxmint Cinnamon Tara 19 64 bits
Asus X200MA and UX430U
Asus X200MA and UX430U
Re: A "Do nothing" option when you close the laptop lid
For most users including myself the power management options work fine the way @Pierre posted above. It's just in some cases that this fails either due to misconfiguration or misbehaving hardware/drivers, so what I gave you was the override basically.getaway wrote: ⤴Sat Aug 18, 2018 11:28 amBut I do support too the first suggestion of "Nocturn Adrift" for a simple option which would suspend all actions except turning off the light of the screen when we close the lid of a laptop.
Your suggestion needs badly a lot of Linux knowledge not everybody have. Neither me...
![]()
![]()
![]()
Re: A "Do nothing" option when you close the laptop lid
Thank you anyway. It works now...
Should I mark the problem fixed on the first post of this thread (I'm not the author)?
Should I mark the problem fixed on the first post of this thread (I'm not the author)?
Linuxmint Cinnamon Tara 19 64 bits
Asus X200MA and UX430U
Asus X200MA and UX430U
Re: A "Do nothing" option when you close the laptop lid
You can only do that for your own threads. We don't know if OP's problem ever got solved since he never replied again - in case of doubt I would have suggested the same to him though.
