Description of problem:
Something in the integration with logind broke the "always suspend when closing
lid, even with external monitors" mode introduced in GNOME 3.6.
I'm opening a Fedora bug because upstream it is a 3.7.x feature, while in Fedora it's 3.6.x.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach an external display to a laptop
2. In gnome-tweak-tool's shell pane, set the "Laptop lid, when closed, will suspend even if there is an external monitor plugged in" setting to true.
3. Put windows on both displays.
4. Close lid.
5. Open lid and unlock screen saver.
Windows are amassed on the external monitor.
Windows stay where they were across a suspend/resume cycle.
Upstream bug at https://bugzilla.gnome.org/show_bug.cgi?id=686856.
Patch at http://bugzilla-attachments.gnome.org/attachment.cgi?id=227242
You can see that the upstream bug&patch are for g-s-d, please do not change the component.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
I have laptop connected to external monitor and can't suspend with closing the lid as I was used to.
Please change bug to Fedora 20 because this issue is still live and kicking in current Fedora 20 with all updates applied.
ps. is there a fix for this behaviour? How can I suspend my laptop even with external monitor attached?
You need to do
gsettings org.gnome.settings-daemon.plugins.xrandr \
It broke again with Fedora 21 though.
(In reply to Paolo Bonzini from comment #4)
> You need to do
> gsettings org.gnome.settings-daemon.plugins.xrandr \
> default-monitors-setup 'do-nothing'
> It broke again with Fedora 21 though.
Then file upstream bugs, this is unlikely to have anything to do with downstream problems.
(In reply to Valent Turkovic from comment #3)
> I have laptop connected to external monitor and can't suspend with closing
> the lid as I was used to.
Nothing changed about this recently, we still block suspend when an external monitor is connected, as we pretty much always have (or always aimed for at least).