On Tue, 02 Apr 2013 23:33:19 +0300
Aleksandar Kostadinov <akostadi(a)redhat.com> wrote:
Kevin Fenzi wrote, On 04/02/2013 10:54 PM (EEST):
> On Tue, 02 Apr 2013 22:13:46 +0300
> Aleksandar Kostadinov <akostadi(a)redhat.com> wrote:
>
>> This seems to be the case. I had to set the option to suspend in
>> xfce-power-manager.
>
> yeah, I think the default is 'lock screen'.
>
>> It is strange because when I opened a bug with
>> fedora 18, it was decided as won't fix and there was sugested to
>> configure systemd-logind...
>
> Bug against what? Do you have it handy?
https://bugzilla.redhat.com/show_bug.cgi?id=886569
Sorry about that.
Xfce4-power-manager does handle this now, but didn't when f18 was
released.
>> anyways so now laptop suspends but when I
>> open the lid, it first wakes up and then suspends again. I have to
>> push power button to wake it up for the second time.
>
> I have seen this myself, but not sure whats causing it.
> Might be a systemd issue...
How could systemd be at issue when it does NOT suspend machine if
xfce4-power-manager is configured to only lock?
Because I think it's systemd handling resume somehow and not properly
being inhibited from doing suspend. So, xfce4-power-manager does a
suspend, you resume, it comes back from that and then systemd does a
suspend too. it shouldn't.
Just a theory...
kevin