gsetting/dconf vs systemd-logind (power button)

General support questions
Post Reply
dbkapogee
Posts: 7
Joined: 2010/08/19 23:55:42

gsetting/dconf vs systemd-logind (power button)

Post by dbkapogee » 2016/06/23 20:07:50

I've been investigating the power button behavior of my system and noticed what seem like an overlap of functionality between gsettings/dconf and the systemd-logind service.

gsettings lets you control power button behavior using a file placed in the /etc/dconf/db/local.d directory like the following:

Code: Select all

[org/gnome/settings-daemon/plugins/power]
button-power='nothing'
The systemd-logind service also has a setting related to the power button. You can edit the file /etc/systemd/logind.conf like the following:

Code: Select all

HandlePowerKey=ignore
I'm interested to know in what situations each of these two setting is applicable and/or which one takes priority.
I appreciate any help you can give.

Post Reply

Return to “CentOS 7 - General Support”