How to completely disable suspend?
folivora.pilosa at gmail.com
Sat Jan 16 10:02:20 UTC 2010
Dne 15.01.2010 (pet) ob 21:54 +0100 je Josef Wolf zapisal(a):
> 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,
By default gconf-editor, according to , should write to ~/.gconf when
invoked as a regular User, thus setting should be valid just for that
> gconftool don't seem
> to have the possibility to make a setting default/mandatory for all users.
> What am I missing?
GConf looks for each value in a series of storage locations called
By default, GConf comes configured as follows:
If a value is set in the first source, which is read only, then users
can't delete that value, and thus can't set a value of their own. These
settings become mandatory for all users.
So I think, we would have to specify the source to
/etc/gconf/gconf.xml.mandatory to do what you want.
With gconf-editor we can accomplish this by starting gconf-editor with
root privileges (gksu) and then by selecting the source with File -->
New Mandatory Window.
How to do this with gconftool,
you may refer gnome/help/system-admin-guide/C/system-admin-guide, 
and search for some more examples.
Please note (in case you don't know it already) using --direct, together
with --config-source= option in your case, requires stopping the gconf
More information about the ubuntu-users