Description of problem: Gnome Shell does not lock when suspending by Fn+F4 (sleep key - moon). Version-Release number of selected component (if applicable): gnome-shell-3.5.91-1.fc18.x86_64 How reproducible: always Steps to Reproduce: 1. login to Gnome 2. suspend by hitting Fn+F4 3. resume by power button Actual results: Gnome Shell have unlocked session Expected results: Gnome Shell is locked
Suspend via user menu or laptop lid close locks session successfully.
I think what is happening here is that we don't have the patch in place yet to coordinate handling of power keys and lid close with systemd >= 191. So, systemd handles the power button, without the session getting a chance to do anything. This will be fixed soon, when we land the patch in https://bugzilla.gnome.org/show_bug.cgi?id=680689
The patch is in place now, this should be fixed with gnome-settings-daemon-3.6.0-4.fc18
I updated and tested this fix. First Fn+F4 suspend locked desktop and successfully suspended. But second and third attempt didn't locked desktop, just suspended. rpm -q gnome-settings-daemon gnome-settings-daemon-3.6.0-4.fc18.x86_64
gnome-settings-daemon-3.6.1-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.6.1-3.fc18
Package gnome-settings-daemon-3.6.1-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.1-3.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16533/gnome-settings-daemon-3.6.1-3.fc18 then log in and leave karma (feedback).
Fix works for me.