On Sun, Oct 7, 2012 at 8:43 PM, Kevin Fenzi <kevin@scrye.com> wrote:
Just a note here in case any folks run into it before we fix it.

systemd now by default handles lid button, power button, etc.

This means that if you have xfce4-power-manager and have it doing
something different from 'suspend' on lid close (I have mine set to
"lock screen"), systemd will suspend for you.

You can work around this by setting a startup command:

systemd-inhibit --mode=block --what=handle-lid-switch sleep 1000000 &

Ideally we would fix this in xfce4-power-manager and it would inhibit
anything that it wants to handle itself. Failing that, we could add the
inhibit to startxfce4, but that means that none of those buttons would
get handled if xfce4-power-manager wasn't installed or running.

See upstream bugs:
https://bugzilla.xfce.org/show_bug.cgi?id=9326
https://bugzilla.xfce.org/show_bug.cgi?id=9335

kevin

_______________________________________________
xfce mailing list
xfce@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xfce

It look like this the answer to why my system suspend again just after I have opened the lid and don't press a key very fast :)

Tim