I have enabled the gnome (2.30) screensaver and set it to suspend the machine after so many minutes. It works fine!
Now, there are cases that I want to use the machine in "server mode". That is, there would not be physical activity on the machine while it serves files, or acts as a ssh terminal. As there is not physical activity, the machine would suspend after the time elapses. Is there a utility/script/something to inhibit suspend?
ps. I had no luck with the dbus/python scripts do circulate in the Internet, nor is the "inhibit" applet anywhere available in my gnome distribution. I use ubuntu lucid.