Changing GNOME Power Manager Settings from the command line
On my Ubuntu 10.10 system I have the computer set to sleep after 1 hour of inactivity. I set this with the GUI Gnome Power Manager preference panel.
I want to create a bash script to alter the setting to Never, do some lengthy processing overnight (Blender rendering), then when the processing is done, set the preference back to "sleep after 1 hour of inactivity".
Bash commands gnome-power-manager and gnome-power-preferences offer no settable options, and my searches for an alternative have come up blank.
How can I get this done?
|