Comment 6 for bug 1769372

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Prompt the user when the power button is pressed

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>