https://bugs.kde.org/show_bug.cgi?id=457859

--- Comment #5 from Jakob Petsovits <jpe...@petsovits.com> ---
I just realized that recognizing an inhibition for "handle-lid-switch" would
not be possible with the current architecture, because PowerDevil sets the same
inhibition by itself already. It's active all the time while the service is
running, which is usually the entire time the Plasma session is active. It sets
the inhibition to replace systemd's own lid switch configuration with Plasma
behaviors, because systemd doesn't allow changing its own behaviors or config
at runtime (as far as I'm aware).

I do think it's a bug that "handle-lid-switch" inhibitors don't do anything
within a Plasma session. A proper solution to this might involve some
investigation into what's possible with or missing in systemd to make it
outsource its lid switch handling to Plasma. If it can do that, we'd be able to
hook PowerDevil into systemd directly and get rid of PowerDevil's
"handle-lid-switch" inhibitor, resolving this issue in the process.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to