Oh! The schema does support it already ("interactive"):
<enum id="org.gnome.settings-daemon.GsdPowerButtonActionType">
<value nick="nothing" value="0"/>
<value nick="suspend" value="1"/>
<value nick="hibernate" value="2"/>
<value nick="interactive" value="3"/>
</enum>
** No longer affects: systemd (Ubuntu)
** No longer affects: upower (Ubuntu)
** Also affects: gnome-control-center (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gnome-control-center (Ubuntu)
Status: New => Confirmed
** Changed in: gnome-control-center (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: gnome-settings-daemon (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769372
Title:
Prompt the user when the power button is pressed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs