<key name="power-button-action" enum="org.gnome.settings-daemon.GsdPowerButtonActionType">
<default>'suspend'</default>
<summary>Power button action</summary>
<description>The action to take when the system power button is pressed. This action is hard-coded (and the setting ignored) on virtual machines (power off) and tablets (suspend).</description>
</key>
but you can change that in:
Settings >
Power >
Suspend & Power Button >
When the Power Button is pressed ...
Unfortunately no option exists to prompt the user. So that would be an enhancement request...
The default action is suspend:
<key name="power- button- action" enum="org. gnome.settings- daemon. GsdPowerButtonA ctionType" > default> 'suspend' </default> summary> Power button action</summary> description> The action to take when the system power button is pressed. This action is hard-coded (and the setting ignored) on virtual machines (power off) and tablets (suspend) .</description>
<
<
<
</key>
but you can change that in:
Settings >
Power >
Suspend & Power Button >
When the Power Button is pressed ...
Unfortunately no option exists to prompt the user. So that would be an enhancement request...