LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-21-2011, 02:04 AM   #1
KonfuseKitty
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, 04:01 AM   #2
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
Quote:
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, 07:19 AM   #3
KonfuseKitty
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.
 
  


Reply



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 09:53 PM
[QUESTION] Changing gnome-terminal profile from command line kamil_blue Linux - Desktop 1 12-31-2009 12:43 AM
gnome power manager with Xfce 4.4.3? joutlancpa Slackware 1 05-03-2009 02:35 PM
gnome-power-manager crash tomwang Fedora 0 06-26-2007 05:13 AM
where is gnome-power-manager? panagopoulos Linux - Software 0 04-29-2006 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:56 PM.

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