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)
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 0ubuntu1~ raring1 [origin: LP-PPA- gnome3- team-gnome3] ature: Ubuntu 3.8.0-14.24-generic 3.8.4 ture: all
DistroRelease: Ubuntu 13.04
Package: gnome-session 3.7.92-
ProcVersionSign
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
PackageArchitec
SourcePackage: gnome-session
UpgradeStatus: Upgraded to raring on 2011-04-01 (726 days ago)