[Pkg-acpi-devel] Bug#593303: acpi-support: suspend in half the time - background xscreensaver
debian.tormod at gmail.com
Sat Oct 19 08:56:21 UTC 2013
> xscreensaver-command sleeping three times for a second each. Here's a
> patch to execute those sleeps in the background and half the time to
> get the system suspended using the hot keys. It could be executed in
> another half the time, but I haven't tracked that down.
Running these actions in parallel is probably fine, but what is not OK
is to suspend the system before these actions have finished.
I suggested a partly reverting patch in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700696#15 but maybe
it is enough to add a "wait" command at the end of the script.
FYI, I have fixed xscreensaver --lock to not wait an extra second when
it is launched by a suspend action (well, anything not typed from a
command line), see
> As a side note, throttling the screen saver and forcing dpms to off is
> pointless when the cpu and graphics card are going to be powered off.
Especially on older machines, it takes noticable time to launch some
xscreensaver hacks. Throttling the screensaver before activating it
avoids seeing the screensaver hack executing before the screen goes
More information about the Pkg-acpi-devel