With systemd-190 we have changed the lid switch logic, as discussed here: https://bugzilla.gnome.org/show_bug.cgi?id=680689 http://www.freedesktop.org/wiki/Software/systemd/inhibit http://lists.freedesktop.org/archives/systemd-devel/2012-September/006604.html If GNOME wants to handle the power key/reset key/lid switch on its own it should take the "handle-power-key", "handle-reset-key", "handle-lid-switch" inhibitor locks while running. It can do this either natively in C by accessing logind's D-Bus API (see above), or simply by wrapping the invocation of gnome-session in an invocation of systemd-inhibit. Example: systemd-inhibit --what=handle-power-key:handle-reset-key:handle-lid-switch gnome-session Thanks!
I am a bit confused apparently. Replace "reset key" with "sleep key" everywhere in what I wrote above. Sorry for the confusion.
Let's make this even more confusing. The "sleep key" logic got split up into "suspend key" and "hibernate key"
We'll put a patch for this into gnome-settings-daemon,
Not doing this leads to pretty bad double-suspend behaviour, so putting this on the F18Beta
gnome-settings-daemon-3.6.0-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.6.0-3.fc18
Package gnome-settings-daemon-3.6.0-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnome-settings-daemon-3.6.0-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-15224/gnome-settings-daemon-3.6.0-3.fc18 then log in and leave karma (feedback).
Discussed at 2012-10-03 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-03/f18-beta-blocker-review-2.2012-10-03-16.00.log.txt . Rejected as a blocker, the only known practical impact of this is on suspend (closing lid of a laptop would suspend on close and then again on open, so you'd have to push power button), and suspend is generally not a blocker for Beta (there are no criteria for suspend, intentionally). We agreed to leave NTH status open, since there's still nearly a week before freeze anyway and this will in all likelihood get pushed before then.
Package gnome-settings-daemon-3.6.0-4.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnome-settings-daemon-3.6.0-4.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-15224/gnome-settings-daemon-3.6.0-4.fc18 then log in and leave karma (feedback).
gnome-settings-daemon-3.6.1-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.6.1-2.fc18
*** Bug 865362 has been marked as a duplicate of this bug. ***
gnome-settings-daemon-3.6.0-4.fc18 has been pushed to the Fedora 18 obsolete repository. If problems still persist, please make note of it in this bug report.