[SOLVED] A "Do nothing" option when you close the laptop lid
Forum rules
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Do not post support questions here. Before you post read: Where to post ideas & feature requests
[SOLVED] 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.
Last edited by Nocturn Adrift on Sat Dec 07, 2019 7:16 pm, edited 1 time in total.
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 Tricia 19.3 64 bits
Asus UX430U
Asus 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 Tricia 19.3 64 bits
Asus UX430U
Asus 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 am 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...
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 Tricia 19.3 64 bits
Asus UX430U
Asus 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.
Re: A "Do nothing" option when you close the laptop lid
Just to confirm it works perfectly on Linux Mint 20 with kernel 5.4.0-47-generic
ID
ID
gm10 wrote: ⤴Sat Aug 18, 2018 10:50 amTry this:Might have to reboot for the first change to take effect, I'm not actually sure.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