Is there any way to make Ubuntu 12.04 understand when it should suspend or not in terms of the software that is currently running?
For example, if I am installing something and it takes more than 10 minutes, which is the time limit for my PC to suspend, then I do not want my system to system to suspend till the installation of the program is finished. If my system is inactive I want it to suspend,but on the other hand if something is running I do not want to suspend.