gnome power manager default settings

Asked by Denis

I would like to change default gnome power settings:
System->Preferences->Power Management - "On AC Power"

Defaulst for Hardy are: Put computer to sleep - Never, put display to sleep - 40 min.

Where I can find config file with these settings?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Whiteboard:
2009-08-04 bac: re-targeting to Ubuntu
Revision history for this message
Sam_ (and-sam) said :
#1

Take a look in gconf-editor
http://library.gnome.org/users/gconf-editor/2.22/getting-started.html.en

Path is
/apps/gnome-power-manager/

To list all settings recursive in a terminal:
gconftool --recursive-list /apps/gnome-power-manager

To unset all settings recursive:
gconftool --recursive-unset /apps/gnome-power-manager

Of course you can do this also with just one string.
For more information see manpage:
man gconftool-2

Revision history for this message
Denis (denis-compulab) said :
#2

Thanks,
I know I can edit this settings with gconf-editor for example. But all these settings must be eventually represented by some config file, text or xml or whatever.

For each user the files are in /home/username/.gconf/apps/gnome-power-manager/
Predefined settings must be somewhere under /etc I think, but I cann`t figure out which file or set of files responsible for it.

Revision history for this message
Sam_ (and-sam) said :
#3

About pm-utils
/usr/share/doc/pm-utils
e.g.
/etc/pm/config.d/
/usr/bin/pm-is-supported
/usr/lib/pm-utils/defaults

https://wiki.ubuntu.com/DebuggingGNOMEPowerManager

http://pm-utils.freedesktop.org/wiki/FrontPage

##old
ACPI will call pm-utils
/etc/default/acpi-support
/etc/acpi/sleep.sh
/etc/acpi/hibernate.sh

https://wiki.ubuntu.com/UnderstandingSuspend

Can you help with this problem?

Provide an answer of your own, or ask Denis for more information if necessary.

To post a message you must log in.