Summary: | Closing the lid triggers Sleep | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Olivier Churlaud <olivier> |
Component: | general | Assignee: | Plasma Development Mailing List <plasma-devel> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | abderrahman.najjar, arojas, kde, kde, misc-kdeorg, wengxt |
Priority: | NOR | ||
Version: | 5.7.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Olivier Churlaud
2016-08-04 09:51:52 UTC
logind.conf has LidSwitchIgnoreInhibited=yes by default. In systemd<231 this setting was ignored because of a bug that has been fixed in 231 [1]. So this is intended behavior, if you want the lid switch inhibitor to work you need to set LidSwitchIgnoreInhibited=no in logind.conf [1] https://github.com/systemd/systemd/commit/8121f4d209eca85dcb11830800483cdfafbef9b7 In this case, Powerdevil should be able to change this.. Wow. This is a joke, right?
> LidSwitchIgnoreInhibited= defaults to "yes"
Brilliant. Anyone remember those days where behavioral changes (and this doesn't matter if it was a bug) were announced in advance and weren't possible until the next major release few years down the road?
Closing as upstream fuckup.
*** Bug 364478 has been marked as a duplicate of this bug. *** Just FYI: https://github.com/systemd/systemd/issues/3897 Looks like the commit mentioned above will be reverted. Does this mean that we have to wait for the next systemd release for a fix? If so, we're talking months here. I left the lid open, but in the last days had KTorrent downloading and running. I came back today and found that it went to sleep once all the downloads had finished! It's not a serious bug, but in terms of "quality of usage" it ranks high. well not all distro package latest systemd, so probably it will be skipped. And you can also modify the logind.conf and set LidSwitchIgnoreInhibited=no *** Bug 376755 has been marked as a duplicate of this bug. *** |