Click to See Complete Forum and Search --> : What is the point of gconf?


lagitus
02-10-2004, 08:59 AM
I've recently set up some Linux machines with Gnome in them mainly because it's faster to load than KDE (which I prefer at home).
For a test computer at my school I configured a (Debian unstable) Gnome desktop for a public user account. Everything seemed to work nicely until I tried to restore a backup copy of the public users home directory to restore some settings someone had messed up. I logged in again only to see the desktop icons out of order and half of the panel missing. I hastily tried to restore the critical settings to make the computer usable.
Later I started messing with the users home directory again and the situation at the moment is that the panel loses many of its objects when I log in again and I can no longer create a second panel. The existing one dissappears! Adding panel objects doesn't work like it should either.
I examined the /etc/gconf and found a mess of partly corrupted, unindented xml files in three seperate trees that I refuse to correct by hand and the editor that comes with gnome is next to useless.

The mess closely resembles the Windows registry, which is IMO one of the greatest flaws of the OS. Why would such a thing be used in an otherwise good desktop environment??? IMHO KDE handles configuration in a much more logical way by having each app store its configs in a logical location in the users home directory in human readable form.
AFAIK having a lot of files in one logical place is part of the Unix philosophy that has made Unix systems so successful.

mdwatts
02-10-2004, 11:00 AM
I fail to see a question in this, so moving to /dev/random.

lagitus
02-10-2004, 12:59 PM
OK here are some:
- Why did gnome ever switch to this kind of a system?
- What are its advantages?
- How could I restore a gconf database to default values?
- How could I retrieve and store the settings of a single user?
- Are there any better configuration tools?

GaryJones32
02-11-2004, 01:51 AM
the default meta info for different apps are stored in schemas..

gconf is kinda cool -- gconfd user deamon caches process transparent info
and feeds it to all interested parties -- but enough of that

just as GNOME started out as a project to create "Network Objects"
but found there was alot of other work to do along the way

gconf is a system administrators dream vision that just isn't that usable yet

just chill ! and try this script


for i in /etc/gconf/schemas/* ; do
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule $i > /dev/null
done


possibly call it schemareset.sh then
chmod 755 schemareset.sh
then decome root and run it
and see if it helps

lagitus
02-13-2004, 09:59 AM
Thanks.