GNOME Bugzilla – Bug 708160
gnome-settings-daemon suspends on lid close even if docked
Last modified: 2013-09-18 13:55:20 UTC
Seems that g-s-d no longer recognizes I'm docked, and always suspends.
g-s-d's power plugin has no code to check for "docked", it checks gnome-desktop for whether your laptop has an external display instead. I'm guessing that's broken...
(In reply to comment #1) > g-s-d's power plugin has no code to check for "docked", it checks gnome-desktop > for whether your laptop has an external display instead. I'm guessing that's > broken... Nope, I believe the problem is 1e14c67c (from bug 698132) - reverting that fixes it.
We should probably sort this out for 3.10
Created attachment 255172 [details] [review] power: don't remove the inhibitor on laptop lid close If suspend_on_lid_close() returns FALSE, it means we should not suspend, because there are external monitors, so we must not remove the inhibitor (or logind will do the default thing, which is suspending)
Review of attachment 255172 [details] [review]: As discussed on IRC, ack.
Pushed after r-t approval. Attachment 255172 [details] pushed as e283537 - power: don't remove the inhibitor on laptop lid close