On 12/09/2012 04:16 PM, Sergio wrote:
On 12/09/2012 04:08 PM, Kevin Fenzi wrote:
> On Sun, 09 Dec 2012 16:04:22 -0200
> Sergio <secipolla(a)gmail.com> wrote:
>
>> Xfce Power Manager handles the suspend for me (when in Xfce) and I
>> have no issues.
>> Do you guys have trouble with it?
>
> Did you modify /etc/systemd/logind.conf or are you running
> systemd-inhibit?
>
No.
First time I looked at that file was right now. But I think it's being
inhibited by something (not systemd-inhibit) because the behaviour
hasn't changed from F17.
My guess is that it could be acpid that inhibits it.
I run acpid and it's set to run 'systemctl 'Poweroff'' on power button
press and 'pm-suspend' on sleep button press.
This works just like that out of X, in Lightdm's screen or in IceWM.
In Xfce I have xfce4-power-manager running and it takes precedence. How
do I know? Because in Xfce the power button is configured to 'Ask' and
the sleep button is configured to suspend but I know it's
xfce4-power-manager managing it because it locks the screen on resume
(suspending from the log-out dialogue doesn't lock the screen probably
because I haven't set it up in 'Session and Startup' settings or
something else).
So either acpid or xfce4-power-manager inhibits systemd's power managing
functions.
> If not, then it's likely systemd that's doing the suspend, which is
> fine, but in the case where you set say 'do nothing' on lid close in
> xfce4-power-manager, systemd will not know or care about that and
> suspend on lid close.
>
Then in my case it must be acpid inhibiting it.
You know that, of course, but /etc/systemd/logind.conf has
LidSwitchIgnoreInhibited=yes
Ok, no lid here :-)
The feature to lock the screen when going for suspend/hibernate works
properly (but I suspect it actually locks the screen after resuming).
Just mentioning, I know it may well have nothing to do with this issue.
Actually it does (answering myself).
Just givin' further feedback.