Laptop lid, when closed, will suspend even if there is an external monitor plugged in

With no external monitors plugged in, closing a laptop's lid will suspend the machine (as set by the lid-close-battery-action and lid-close-ac-action keys). By default, however, closing the lid when an external monitor is present will not suspend the machine, so that one can keep working on that monitor (e.g. for docking stations or media viewers). Set this key to False to keep the default behavior, or to True to suspend the laptop whenever the lid is closed and regardless of external monitors.

- Type: dconf
- Key: /org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor
- Default: false

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\lid-close-suspend-with-external-monitor
Value NamemetaValues
Value TypeREG_SZ
Enabled Value{"20.04":{"empty":"false","meta":"b"},"22.04":{"empty":"false","meta":"b"},"22.10":{"empty":"false","meta":"b"},"all":{"empty":"false","meta":"b"}}
Disabled Value{"20.04":{"meta":"b"},"22.04":{"meta":"b"},"22.10":{"meta":"b"},"all":{"meta":"b"}}

Laptop lid, when closed, will suspend even if there is an external monitor plugged in
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value Nameall
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Override value for 22.10:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value NameOverride22.10
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Laptop lid, when closed, will suspend even if there is an external monitor plugged in
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value Name22.10
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Override value for 22.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value NameOverride22.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Laptop lid, when closed, will suspend even if there is an external monitor plugged in
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value Name22.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Override value for 20.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value NameOverride20.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse
Laptop lid, when closed, will suspend even if there is an external monitor plugged in
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor
Value Name20.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse

ubuntu.admx

Administrative Templates (Computers)