Power button action

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).

- Type: dconf
- Key: /org/gnome/settings-daemon/plugins/power/power-button-action
- Default: 'interactive'

Note: default system value is used for "Not Configured" and enforced if "Disabled".

Supported on Ubuntu 20.04, 22.04, 22.10.

Supported on: Ubuntu

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
Value NamemetaValues
Value TypeREG_SZ
Enabled Value{"20.04":{"empty":"''","meta":"s"},"22.04":{"empty":"''","meta":"s"},"22.10":{"empty":"''","meta":"s"},"all":{"empty":"''","meta":"s"}}
Disabled Value{"20.04":{"meta":"s"},"22.04":{"meta":"s"},"22.10":{"meta":"s"},"all":{"meta":"s"}}

Power button action


  1. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Nameall
    Value TypeREG_SZ
    Valuenothing
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Nameall
    Value TypeREG_SZ
    Valuesuspend
  3. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Nameall
    Value TypeREG_SZ
    Valuehibernate
  4. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Nameall
    Value TypeREG_SZ
    Valueinteractive

Override value for 22.10:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
Value NameOverride22.10
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.10
    Value TypeREG_SZ
    Valuenothing
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.10
    Value TypeREG_SZ
    Valuesuspend
  3. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.10
    Value TypeREG_SZ
    Valuehibernate
  4. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.10
    Value TypeREG_SZ
    Valueinteractive

Override value for 22.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
Value NameOverride22.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.04
    Value TypeREG_SZ
    Valuenothing
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.04
    Value TypeREG_SZ
    Valuesuspend
  3. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.04
    Value TypeREG_SZ
    Valuehibernate
  4. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name22.04
    Value TypeREG_SZ
    Valueinteractive

Override value for 20.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
Value NameOverride20.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name20.04
    Value TypeREG_SZ
    Valuenothing
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name20.04
    Value TypeREG_SZ
    Valuesuspend
  3. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name20.04
    Value TypeREG_SZ
    Valuehibernate
  4. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\power-button-action
    Value Name20.04
    Value TypeREG_SZ
    Valueinteractive


ubuntu.admx

Administrative Templates (Computers)