[Bug 1160995] Re: Suspend isn't triggered by lid close

Launchpad Bug Tracker 1160995 at bugs.launchpad.net
Thu May 2 20:02:15 UTC 2013


This bug was fixed in the package systemd - 202-0ubuntu5

---------------
systemd (202-0ubuntu5) saucy; urgency=low

  * Drop 0016-Add-poweroff-reboot-suspend-hibernate-fallback.patch.
    systemd-shim 3 has a much better implementation of pm-utils fallback.
    Recommend systemd or systemd-shim >= 3 for that.
  * Ship 70-power-switch.rules. (LP: #1160995)
 -- Martin Pitt <martin.pitt at ubuntu.com>   Thu, 02 May 2013 11:19:42 -0700

** Changed in: systemd (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Suspend isn't triggered by lid close

Status in Ubuntu GNOME:
  Confirmed
Status in “systemd” package in Ubuntu:
  Fix Released

Bug description:
  In raring, using Ubuntu GNOME, when you close the lid nothing happens.
  It used to suspend in Quantal. It seems that the problem comes from
  the lack of systemd according to
  http://www.infty.nl/wordpress/2012/12/gnome-3-on-ubuntu-raring-and-
  suspend/. From the same webpage, there is a workaround: put the
  following into /etc/acpi/local/lid.sh.post, and make it executable.

  #!/bin/bash

  grep -q closed /proc/acpi/button/lid/*/state
  if [ $? = 0 ]; then
     pm-suspend
  fi

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: gnome-session 3.7.92-0ubuntu1~raring1 [origin: LP-PPA-gnome3-team-gnome3]
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  Uname: Linux 3.8.0-14-generic i686
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: i386
  Date: Wed Mar 27 17:09:41 2013
  InstallationDate: Installed on 2010-09-15 (923 days ago)
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: gnome-session
  UpgradeStatus: Upgraded to raring on 2011-04-01 (726 days ago)

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




More information about the foundations-bugs mailing list