Bug#351392: sleepd: warn before going to sleep

2006-02-12 Thread James R. Van Zandt
Is there some reason you can't just use something like --sleep-command=sh -c 'play ~/sound/claves*.wav; sleep 15; hibernate' I could. However, in order to prevent suspending I would have to run ps, find the process number for the above command, and kill it. If sleepd started them as two

Bug#351392: sleepd: warn before going to sleep

2006-02-04 Thread James R. Van Zandt
Package: sleepd Severity: wishlist Once my machine starts suspending, I don't have a way to interrupt the process. It would be nice if sleepd would provide a warning. My suggestion is to provide a warning command option, something like this: --warn-command Command to run to run before

Bug#351392: sleepd: warn before going to sleep

2006-02-04 Thread Joey Hess
James R. Van Zandt wrote: Once my machine starts suspending, I don't have a way to interrupt the process. It would be nice if sleepd would provide a warning. My suggestion is to provide a warning command option, something like this: --warn-command Command to run to run before