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

--- Comment #7 from Jakob Petsovits <jpe...@petsovits.com> ---
(In reply to Oded Arbel from comment #6)
> (In reply to Jakob Petsovits from comment #5)
> > 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.
> 
> Well - if we close the lid on an active Plasma session, it will put the
> system to sleep, so PowerDevil definitely knows when the lid has been
> switched. And if you ask systemd for the inhibitors list (for example -
> using the command `systemd-inhibit --list`) you can see that other
> inhibitors are holding the lid-switch inhibition - so PowerDevil should be
> able to note that and not suspend the device.

Ah yes, you're right. Filtering out PowerDevil by "who" should do the trick.
Thanks for the good thought, it looks like my brain isn't in top shape today :P

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

Reply via email to