Bug 966186
| Summary: | Power button not working as expected in LXDE | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Pokorný [poki] <jpokorny> |
| Component: | acpid | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | akostadi, extras-orphan, gansalmon, itamar, johannbg, jonathan, jpokorny, jskarvad, lnykryn, madhu.chinakonda, msekleta, notting, plautrba, systemd-maint, ted, vpavlin, zbyszek |
| Target Milestone: | --- | Keywords: | Patch |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 894329 | Environment: | |
| Last Closed: | 2013-08-12 13:30:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 894329 | ||
| Bug Blocks: | |||
| Attachments: | |||
|
Description
Jan Pokorný [poki]
2013-05-22 18:06:27 UTC
Created attachment 751795 [details] bz966186: partially fix power button not working as expected in LXDE (to be applied directly in fedpkg repo) The patch is meant for master (rawhide?) but F18 is almost the same. Of course, those who are used to poweroff upon power button press are not affected as modification of logind.conf is required to switch the behavior (I realized I am not sure what is a common expectation, originally suspecting that it was "ask" as it is a safe choice, i.e., no loss of unsaved work when accidentally the button... really dunno). Created attachment 752159 [details] seemingly more proper patch, but does not work with systemd 201 Unfortunately, the problem with session state switching to online [1] is back in systemd 201. So either it should be fixed in systemd or the grep statement in power.sh should reflect this circumstance. [1] https://bugs.freedesktop.org/show_bug.cgi?id=57887 Sorry, this is ugly hack, I don't want to support it. Nor it doesn't work out of the box - the user needs to mod the systemd settings. If he/her can mod the settings, he/her can also install it's own acpid script. The proper solution would be for lxde to provide it's own power manager or for users to run some power manager like xfce4-power-manager. |