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 20:52:37 +0100, Mark McLoughlin wrote:

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

actually these two .entries files added the last missing 88 files and now
it is 100% :-)
guess one could also add the panel-default-setup-battstat.entries file
for notebooks with power management enabled.

1650 files in my original db and 1650 in my newly created one, yay! :-)


thanks!
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.