| Summary: | Power Management Button Events defaults to systemd handling because not selected | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Frank Griffin <ftg> |
| Component: | RPM Packages | Assignee: | KDE maintainers <kde> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | doktor5000, geiger.david68210, jyri2000, mageia, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | plasma5 | CVE: | |
| Status comment: | |||
|
Description
Frank Griffin
2016-03-10 18:12:31 CET
Hmm, I do have "Turn off screen" option in System Settings -> Power Management -> Energy Saving -> Button events handling -> When laptop lid closed and it seems to work OK... CC:
(none) =>
jyri2000 Ahh, OK, sort of. First off, Button events isn't visible when the display comes up --- you have to scroll down and across to see it. Second, I didn't have Button events selected for any of the three power settings. If this is in fact causing the use of the systemd stuff when Plasma should always be handling it, then we ought to ship with this enabled, even if we leave the default setting of "Do nothing". Third, I turned on Button events for all three power settings, and set the behavior to Turn Screen Off. That works, and prevents the suspend, but when you open the lid, you have to hit a key to get the screen to come back on, and it comes back on dimmed, even on AC. Is this expected ?
Frank Griffin
2016-03-11 16:26:45 CET
Summary:
No laptop cover Power Management =>
Power Management Button Events defaults to systemd handling because not selected Can you show the output of systemd-inhibit --list CC:
(none) =>
doktor5000 [root@ftglap ssh]# systemd-inhibit --list
Who: PowerDevil (UID 501/ftg, PID 19133/kded5)
What: handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
Why: KDE handles power events
Mode: block
Who: NetworkManager (UID 0/root, PID 21410/NetworkManager)
What: sleep
Why: NetworkManager needs to turn off networks
Mode: delay
Who: Telepathy (UID 501/ftg, PID 25583/mission-control)
What: shutdown:sleep
Why: Disconnecting IM accounts before suspend/shutdown...
Mode: delay
3 inhibitors listed.
Of course, this is now with Button events selected.
Marja Van Waes
2016-03-12 19:55:48 CET
CC:
(none) =>
marja11
Samuel Verschelde
2016-08-25 16:22:49 CEST
Assignee:
mageia =>
kde is it still valid on current cauldron ? CC:
(none) =>
mageia No more activities here from years so closing as old! Status:
NEW =>
RESOLVED |