Re: laptop double-suspends (sleeps on resume first time) if I use fn-hotkey
> I have this really weird and mildly annoying issue I cannot pin down.
> When I suspend my laptop (thinkpad x40 running sid) using the Fn+F4
> hotkey (which sends an ACPI sleep event), my laptop sleeps. However,
> on trying to wake it up, once wakeup is complete (I see a flash of
> gnome-screensaver) the laptop sleeps again. This happens every time
> and exactly twice.
This suggests that there are 2 programs reacting to the ACPI sleep
button event. From your dpkg list, I'd guess that gnome-power-manager
is one, not sure which is the other. But note that gnome-power-manager
is (or at least was) braindead in this regard since it is linked to
active X sessions, so if there's no X11 session, it won't react to Fn+F4,
and if there are N different X11 sessions, then it will react N times.
So maybe you just have 2 sessions open on two different consoles?
If not, then there is presumably a second program reacting to
the event. Maybe you've put something into /etc/acpi/events at some
point in the past (when gnome-power-manager didn't work)?
Stefan
Reply to: