I notice that if I unplug the external monitor first and then close the
lid, the laptop *does* suspend.
I tried uncommenting HandleLidSwitch=suspend in /etc/systemd/logind.conf
in case it is a systemd issue, but this didn't make any difference (even
after a reboot), so perhaps this is a bug in systemd.
There also appear to be some new dconf settings that affect the suspend
behaviour:
org.gnome.settings-daemon.plugins.xrandr: this is set to 'follow-lid' in
my setup, which makes xrandr do a 'dock' when the lid is closed (ie to
switch off the internal monitor, which is exactly the description in
this bug). If I set it to 'do-nothing', closing the lid either does
nothing (as expected) or engages the lock screen.
There's also a setting at org.gnome.settings-daemon.plugins.power called
lid-close-suspend-with-external-monitor that describes itself with:
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.
It is set to false by default, and its description matches the behaviour
described in this bug report, so the bug might be that the power
settings GUI (ie where you set the suspend behaviour) does not include
the toggle for this setting.
However, note that suspend still does not work even if you set lid-
close-suspend-with-external-monitor to true, so I guess there is an
additional bug in gnome that prevents the laptop from suspending.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398771
Title:
Laptop screen turned off instead of suspending on lid close
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1398771/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs