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.
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | metaValues |
Value Type | REG_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"}} |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | all |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | Override22.10 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | 22.10 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | Override22.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | 22.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | Override20.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-suspend-with-external-monitor |
Value Name | 20.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |