Re: recreation of defaults database question



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.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]