Since the upgrade to 15.04
(update: 15.10
still same), my laptop's behavior on closing lid has changed: if it is connected to an external monitor, it will not suspend. In addition, all the windows are now flushed to the external monitor. This seems like a deliberate feature and not a bug.
How do I configure the laptop to suspend even if it's connected to an external monitor?
This is Lenovo Thinkpad T440s on Ubuntu 15.04
/15.10
with Intel graphics.
dconf write /org/gnome/settings-daemon/plugins/power/lid-close-suspend-with-external-monitor true
(then you can put it into your 'set up a new ubuntu machine' script, and never have to worry about it again) – Jonathan Hartley Aug 23 '16 at 15:05lid-close-suspend-with-external-monitor
in the pathorg.gnome.settings-daemon.plugins.power
totrue
solved the issue. – brandizzi Nov 29 '17 at 11:43