How to completely disable suspend?

Josef Wolf jw at
Fri Jan 15 20:54:50 UTC 2010

On Fri, Jan 15, 2010 at 04:50:37PM +0100, Xandros Pilosa wrote:
> Dne 15.01.2010 (pet) ob 16:12 +0100 je Josef Wolf zapisal(a):
> I think clearing (in gconf-editor)
> /apps/gnome-power-manager/notify/sleep_failed
> should help to get rid of those messages.
> But I think you should clear all options for suspend (if you really need
> to), thus pm won't even try to suspend :
> /apps/gnome-power-manager/actions/sleep_type_ac
> /apps/gnome-power-manager/actions/sleep_type_battery
> changing the values to "hibernate" or "nothing" (without"").
> Furthermore, you can check:
> /apps/gnome-power-manager/buttons/lid_ac
> /apps/gnome-power-manager/buttons/lid_battery
> for not contain "suspend" value
> and change
> /apps/gnome-power-manager/buttons/suspend
> to "nothing".
> This should be enough for gnome pm, if you use some other tool or
> tweaking, that looks back at the old 
> /etc/default/acpi-support
> it may be usefull to change this file too (comment "ACPI_SLEEP=true"
> line).

Ah, there are lots of settings. Thanks for your comprehensive summary!

I have one more questions, though: I refer to configure my systems on
command line (via a system similar to cfengine), so I used gconftool
to set the values. But contrary to gconf-editor, gconftool don't seem
to have the possibility to make a setting default/mandatory for all users.

What am I missing?

More information about the ubuntu-users mailing list