When running gnome-settings-daemon in debug mode (executed manually with --debug option) the following line shows up every time the power button is pressed:
(gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key type '45' (on device id 6) (gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key type '45' (on device id 6) (gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key type '45' (on device id 6) (gnome-settings-daemon:4022): media-keys-plugin-DEBUG: Launching action for key type '45' (on device id 6) no debug info is printed when hitting either suspend, hibernate or cancel buttons, but the same line shows up if the power button is pressed again. I am attaching two logfiles with the debug output of gnome-settings- daemon invoked with --debug, once with the "restart" button hit and once with "shutdown" ** Attachment added: "logfile when restart button is pressed eventually" https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1080344/+attachment/3437509/+files/gsd.debug.restart.log -- 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/1080344 Title: No effect on Suspend and Hibernate buttons in power button shutdown dialog Status in “gnome-settings-daemon” package in Ubuntu: New Bug description: When the power button on a laptop is pressed while the unity desktop (more specifically gnome-settings-daemon) is running, the ACPI handler ignores the event. Instead gnome-settings-daemon btings up a "popup" to ask the user whether he wants to Suspend Restart Cancel Shutdown and if the hibernate function has been enabled according to http://askubuntu.com/questions/94754/how-to-enable-hibernation also Hibernate if no action is taken, the "Shutdown" feature is auto-executed abter 60 seconds. Of these, only "Shutdown" and "Cancel" always have the intended effect, where "Shutdown" invokes a shutdown of the system and "Cancel" simply closes the dialog. "Restart" causes a system restart in about 99% of the cases only, however I had seen occasions where only the session got terminated and the login screen is presented without an actual reboot taking place! "Suspend" and "Hibernate" have NO effect, other than the dialog closes, in fact they behave the same as if "Cancel" has been pressed! When "Suspend" or "Hibernate" are selected manually in the power menu from the Unity desktop, they both work. In fact all options in that menu work. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: gnome-settings-daemon 3.4.2-0ubuntu14 ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7 Uname: Linux 3.5.0-18-generic x86_64 NonfreeKernelModules: fglrx ApportVersion: 2.6.1-0ubuntu6 Architecture: amd64 Date: Sun Nov 18 14:09:45 2012 EcryptfsInUse: Yes MarkForUpload: True 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/1080344/+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