Public bug reported:

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)

** Affects: gnome-settings-daemon (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/951790

Title:
  Laptop does not suspend on lid close when external display is
  connected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/951790/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to