Re: recreation of defaults database question

Mark McLoughlin <[email protected]>
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <1116877957.3417.3.camel@blaa>
On Mon, 2005-05-23 at 20:32 +0200, Lars G wrote:

> just tried
> 
> export GCONF_CONFIG_SOURCE="xml::/home/lars/tmp/gconf.xml.defaults_test"
> SCHEMAS="*.schemas"
> for S in $SCHEMAS; do
>   gconftool-2 --makefile-install-rule /etc/gconf/schemas/$S >/dev/null
> done
> 
> on my fedora box and it really works!
> it generates the exact same db as in /etc/gconf/gconf.xml.defaults/
> thats nice! :-)

	Note: there can be exceptions ... e.g. recent gnome-panel also installs
actual values (as opposed to schemas) in the database with commands
like:

  $> gconftool-2 --direct --config-source=xml:readonly:/etc/gconf/gconf.xml.defaults \
                 --load /etc/gconf/schemas/panel-default-setup.entries
  $> gconftool-2 --direct --config-source=xml:readonly:/etc/gconf/gconf.xml.defaults \
                 --load /etc/gconf/schemas/panel-default-setup.entries /apps/panel/default_setup

Cheers,
Mark.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.