Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-21-2011, 03:04 AM   #1
LQ Newbie
Registered: Jul 2010
Distribution: Ubuntu 10.10
Posts: 22

Rep: Reputation: 0
Question 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?
Old 06-21-2011, 05:01 AM   #2
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
Originally Posted by KonfuseKitty View Post
do some lengthy processing overnight (Blender rendering)
Is your PC going asleep in the middle of the rendering process?
Old 06-21-2011, 08:19 AM   #3
LQ Newbie
Registered: Jul 2010
Distribution: Ubuntu 10.10
Posts: 22

Original Poster
Rep: Reputation: 0
Yes, it is. Aparently inactivity is defined as no mouse and keyboard action, not taking account of CPU activity. That's why I need to change the setting before and after the rendering.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to change settings in power manager? paulclou Slackware 10 04-14-2011 10:53 PM
[QUESTION] Changing gnome-terminal profile from command line kamil_blue Linux - Desktop 1 12-31-2009 01:43 AM
gnome power manager with Xfce 4.4.3? joutlancpa Slackware 1 05-03-2009 03:35 PM
gnome-power-manager crash tomwang Fedora 0 06-26-2007 06:13 AM
where is gnome-power-manager? panagopoulos Linux - Software 0 04-29-2006 08:50 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration