OK, so the machinery seems to work. Can you please attach your ~/.xsession-errors, or have a look yourself, searching for "lid", "suspend", "power", etc.? It might have a relevant error message.
If not, it's worth trying this:
killall gnome-settings-daemon # do it two or three times until it doesn't auto-respawn
gnome-settings-daemon --debug 2>&1 | tee /tmp/gsd.log
then close the lid, open it again, Control-C it, and attach /tmp/gsd.log.
OK, so the machinery seems to work. Can you please attach your ~/.xsession-errors, or have a look yourself, searching for "lid", "suspend", "power", etc.? It might have a relevant error message.
If not, it's worth trying this:
killall gnome-settings- daemon # do it two or three times until it doesn't auto-respawn settings- daemon --debug 2>&1 | tee /tmp/gsd.log
gnome-
then close the lid, open it again, Control-C it, and attach /tmp/gsd.log.
Thanks!