Summary: | systemd-logind: add a method to tie in to LidSwitch, etc. events | ||
---|---|---|---|
Product: | systemd | Reporter: | Andrew <abrouwers> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Andrew
2013-09-11 22:09:44 UTC
See this: http://www.freedesktop.org/wiki/Software/systemd/writing-desktop-environments/ Enlightment should simply take an inhibitor lock on the lid switch handling which has the result that the lid switch is on control of enlightenment as long as it is running and in the foreground. Then, use the usual X keypress events to get the lid switch and handle it on your own. That said, it's probably not a good idea to remove logind from handling the lid switch, in order to make sure things are reliable, and to allow other system components to hook themselves in before the the system goes into suspend. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.