I disagree with you, Simon. I throw a large number of files into a "Shredder" folder and leave it going at night. If I am wiping things when I am around, I don't use the machine because wiping makes it very difficult to do anything else with the machine.
In both cases, the logical thing to do would be to let it finish before it goes to sleep. I feel that the logical approach is not "why should this be inhibited?", but "why should the machine go to sleep now?" In the standard case, the answer to the second question is "because the machine is doing absolutely nothing of value and is just sitting there consuming power". In the case when the machine is in the middle of wiping, there is no compelling case to make it go to sleep unless it is short on battery (in which case it would go to sleep despite the inhibit call). When the machine is wiping, it is busy doing something. It is not sitting there idle and should not be suspended based on prolonged inactivity. I have updated the wiki page with some ifdef information, which may be appropriate in this case. -- Wipe should call the gnome-power-manager InhibitInactiveSleep command https://launchpad.net/bugs/38549 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs