To change power button behaviour in CentOS I've created file /etc/dconf/db/local.d/01-power:

[org/gnome/settings-daemon/plugins/power]
power-button-action='interactive'

and restart or update dconf:

dconf update

Sources: Changing Behavior when Pressing the Power Button in Graphical Target Mode

Ten kto umie pisze kod, ten kto nie umie pisze książki..., albo blog.

Pon Wt Śr Czw Pt So N
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
eZ Publish™ copyright © 1999-2024 eZ Systems AS