Re: recreation of defaults database question

Lars G <[email protected]>
Newsgroups gmane.comp.gnome.lib.gconf
Message-ID <[email protected]>
On Mon, 23 May 2005 18:01:52 +0200, Lars G wrote:

> hello
> 
> i have a, hopefully simple, question for you gconf wizs.
> 
> is it possible to recreate a complete /etc/gconf/gconf.xml.defaults/
> database with reinstalling all the .schemas stored
> in /etc/gconf/schemas/ ?
> 
> maybe with something like
> gconftool-2 --makefile-install-rule /etc/gconf/schemas/*
> ?
> 
> 
> thanks
> lars


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! :-)

cheers
lars
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.