Bug#765183: closed by Michael Biebl <biebl at debian.org> (Re: Bug#765183: systemd: ignores user settings and shuts systemd down when power button is pressed)

Michael Biebl biebl at debian.org
Mon Oct 13 23:13:04 BST 2014


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141014/0edce0cf/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list