Summary: | Don't inhibit buttons when no reaction is configured OR add option to deactivate inhibit | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Josef Kufner <jk> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | kde |
Priority: | NOR | ||
Version: | 5.10.5 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | The checkbox |
"Do nothing" means "Do nothing" and not "let systemd do something unexpected instead" Then please add option to "let systemd do something unexpected instead". Feel free to disable autostart of PowerDevil if you don't want to use it. Well, that is a problem. PowerDevil does more than handles buttons. It also provides battery info and few other features which are very desirable. |
Created attachment 108145 [details] The checkbox Currently, Powerdevil causes problems on unusual/advanced configurations because of the inhibit: $ systemd-inhibit Who: PowerDevil (UID 1013/alena, PID 933/org_kde_powerde) What: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch Why: KDE handles power events Mode: block For such setups it is usually better to disable Powerdevil and use systemd-logind or similar service. But that has unwanted side effects (other stuff gets broken) and requires additional workarounds. Option A: When control of the power button and LID switch is disabled (see screenshot), Powerdevil should release inhibit and let other services handle the events. To enforce no action, the option can be enabled and "Do nothing" can be selected. See attached screenshots. Option B: Another, a more obvious option could be to add explicit checkbox to release the inhibit. Something like "Use system setting to handle buttons and lid switch".