Seems to be fixed in 18.04.
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1732474
Title:
Closing lid with external monitor plugged in sends system to sleep
To manage
I'm running an Intel HD Graphics 620 (Kaby Lake GT2) (I believe the i915
driver), on a Dell XPS 13.
My apologies, I should have mentioned that this only happens in the
session, not in the greeter. In fact, if I log in with the lid open and
the external screen plugged in, I can close the laptop
Public bug reported:
On 17.04 I could close my laptop lid with an external monitor plugged in
and the system would not sleep. After upgrading to 17.10 the system
sleeps on lid close. If I boot with an external monitor attached, I can
keep the lid closed and the system does not sleep, but if I