GConf error: battery_low_percentage cannot be zero

I've recently re-installed the file server at home with Fedora Core 6, it all went fairly well apart from some intermittent hardware issues not related to the OS. A few days later, after a yum update, I started getting an error after logging in to Gnome:

GConf schema installer error, battery_low_percentage cannot be zero

Since this machine is going to spend most of it's life not even plugged into a monitor I didn't consider it a big deal, but as the hardware issues have persisted, and as it therefore continued to use the monitor, power and network connection which are normally plugged in to my main desktop, it's become a bit more of an issue. So this morning I finally got round to researching the solution.

I found it's not just restricted to FC6, some people have run into the same problem on Ubuntu. The solution (mostly) is from the Gnome Power Manager mailing list, I followed the following steps:

export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule /etc/gconf/schemas/gnome-power-manager.schemas
killall -HUP gconfd-2

The difference to the steps described on the mailing list is the second step, it seems the default schemas are in a non-standard place in FC6. That got rid of the error message, but there were still some odd visual effects so I installed the gnome-terminal.schemas and metacity.schemas. Looks like some sort of upgrade error stopped the default schemas being installed, so I'm guessing any similar errors can be resolved by choosing the relevant file from /etc/gconf/schemas/ and using the above commands.