Red Hat Bugzilla – Bug 1001511
Power Management: suspend when laptop lid close should be easily configurable
Last modified: 2014-06-18 04:20:14 EDT
Copy pasting the comments in bug 976834:
It's the way we've always handled things by default at least, but the move to systemd to handle suspend and inhibition means that we need to do more work on the power plugin side. Re-adding the code would complicate already very complicated code for not much gain, since there are alternatives.
There's also a funny tool for your particular use case:
office-runner is being reviewed in Fedora at:
You can also modify /etc/systemd/logind.conf to read:
So that lid closure aren't taken into account. You can also inhibit suspend for a period of time, or while a particular application is running by doing:
systemd-inhibit --what=handle-lid-switch sleep 3600
Finally, there might also be a gnome-shell extension for this.
I'll close this, as we won't be bringing back the option, as alternatives are already available.
Thanks for providing the workaround, Bastien. I agree with Ondrej
that this is an important usability issue as this is quite common
use case. So I would vote for adding back a user friendly way how
to disable the suspend. However, if we really do not want to get
this functionality back, this definitely has to be documented. I
do not see any reference to release notes or other documentation
in the closing comment ---> thus reopening the bug to track this.
can we get this to gnome-tweak-tool option?
Reassigning to gnome-tweak-tool
(In reply to Petr Šplíchal from comment #2)
> Thanks for providing the workaround, Bastien. I agree with Ondrej
> that this is an important usability issue as this is quite common
> use case.
FWIW, I don't think it's a common use case, or a valid one (it's usually working around deficiencies in integration from various applications), otherwise it would be catered for in the main UI, not relegated to config files.
discussed a plan with rui for having a toggle in gnome-tweak-tool.
gnome-tweak-tool-3.8.1-7.el7 contains a switch labeled "Don't suspend on lid close" which should fix this issue.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.