Am 13.10.2014 um 23:48 schrieb Salvo Tomaselli: >> If KDE, GNOME or XFCE are active they'll use the systemd inhibit >> interface [1] and you define in your desktop session what should happen >> when the power button is pressed. > Well at least KDE, doesn't use such interface, or the interface might be > buggy, because the system will shut down unless I change that configuration > file.
When I'm logged into KDE, I get
$ systemd-inhibit
Who: NetworkManager (UID 0/root, PID 697/NetworkManager)
What: sleep
Why: NetworkManager muss Netzwerke abschalten
Mode: delay
Who: PowerDevil (UID 1000/michael, PID 28375/kded4)
What:
handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
Why: KDE handles power events
Mode: block
Who: Telepathy (UID 1000/michael, PID 28584/mission-control)
What: shutdown:sleep
Why: Disconnecting IM accounts before suspend/shutdown...
Mode: delay
3 inhibitors listed.
Pressing the power button a KDE dialog pops up, where I can select which
action should be executed. (logout, turnoff, restart, with 30 sec timeout).
This is exactly what's configured in systemsettings:
Hardware > Power Management > Energy Saving > Button events handling:
When power button pressed: Prompt log out dialog
Everything works as configured.
> Can you reopen, perhaps investigate if the problem is really not in systemd
> and in case, reassign to kde?
Since I'm not able to reproduce your issue with KDE you'll have to
investigate that yourself.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
