[maemo-developers] [Fremantle] Creating gconf keys upon installation

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Tue Jan 12 13:13:39 EET 2010
On Tue, 2010-01-12 at 11:02 +0100, ext Thomas Wälti wrote:
> Just add some gconftool-2 commands to your postinstall script.
> (e.g. gconftool-2 --set /path/to/your/key --type string "myvalue")

This is not a good way, since the Gconf database could be restored from
an old backup (or a power failure could occur) and you would lose these
values. The better way is to use a Gconf schema with default values,
because that stays even if the values are unset.


> -Tom
> On Tue, Jan 12, 2010 at 10:02, Salvatore Iovene <salvatore at iovene.com> wrote:
> > Hello,
> > can anyone address me to the simplest way to create some gconf keys upon
> > a programs installation?
> >
> > Thanks in advance,
> >  Salvatore.
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list