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.

-Kimmo

> -Tom
> 
> 
> On Tue, Jan 12, 2010 at 10:02, Salvatore Iovene <salvat...@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@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to