These settings are not exposed in the Settings dialog, but can be changed with commands or using dconf Editor. Following commands will cause the computer turn off the screen when you close the lid:
gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action 'blank'
gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
As you see, you can set different actions depending on whether the computer is on AC power (lid-close-ac-action
) or on battery power (lid-close-battery-action
). Available actions are blank
, suspend
, shutdown
, hibernate
, interactive
, nothing
and logout
.
To reset to default, specify reset
in the command and leave out the final argument, e.g.
gsettings reset org.gnome.settings-daemon.plugins.power lid-close-ac-action