I know this is marked as invalid, I'd just like to say that there is a "workaround" for this "bug" in Gnome shell. Gnome-tweak-tool has the option for "Laptop lid, when closed, will suspend even if there is an external monitor plugged in." Works great, no more messing with display settings all the time.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/951790 Title: Laptop does not suspend on lid close when external display is connected Status in “gnome-settings-daemon” package in Ubuntu: Invalid Bug description: I've configured my laptop to suspend when the lid is closed (in gnome- control-center's Power panel). It works ok as long as there is no external display connected. However when I connect my external LCD, laptop IS NOT suspended (external display is turned off though). I've done some research and found out that problem is in gnome- settings-daemon package: There is code in gsd-power-manager.c in do_lid_closed_action function which checks whether there are any active external outputs and if it finds any, it prevents suspending. I believe that in this case we should honor what's set in gnome-control- center and suspend. Patch which removes this logic is attached. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: gnome-settings-daemon 3.3.91-0ubuntu2 [modified: usr/lib/gnome-settings-daemon-3.0/libpower.so] ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9 Uname: Linux 3.2.0-18-generic x86_64 ApportVersion: 1.94.1-0ubuntu1 Architecture: amd64 Date: Sat Mar 10 21:21:00 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120309) ProcEnviron: TERM=xterm LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gnome-settings-daemon UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/951790/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp