LWN.net Logo

It's all about choice - or lack of

It's all about choice - or lack of

Posted May 19, 2004 13:27 UTC (Wed) by amtota (guest, #4012)
Parent article: The Spatial Way

From the article, here are the instructions on how to go back to what I
would call the "usual" way of displaying things in a file manager:

*****
"Then remove it! Using GConf (Fedora -> System Tools -> Configuration
Editor) and go to the /apps/nautilus/preferences key. You can then apply
a tick alongside the always_use_browser key. Log out of GNOME, and upon
re-logging in, your new changes would take effect.

It can also be performed on the command line via the gconftool-2, by
starting a terminal session (right-click the desktop, then click Open
Terminal), and entering: gconftool-2 --type boolean
--set /apps/nautilus/preferences/always_use_browser true.

It's also interesting to note that newer releases of Nautilus will have
this available as an option in the Preferences (Edit -> Preferences)
dialog - but currently, your only way is to make an edit within GConf
itself.
****
Anybody can tell me what is wrong with this?
1) Until the option is re-added in the preferences (anyone care to deny
that the uproar made it re-appear quicker than it would have otherwise?)
2) relying on users to learn gconf is idiotic.
3) It looks more and more like the windows registry with those weird keys
no-one has ever heard of, but need to be tweaked to be: useful, secure or
whatever. How many more are there that we do not know about!? It was such
a great success with win32 regedit... not!


(Log in to post comments)

It's all about choice - or lack of

Posted May 19, 2004 13:36 UTC (Wed) by Arker (guest, #14205) [Link]

Yeah, I was thinking the same thing about the resemblence to the windows registry. That's a truly horrible thing, the thought that it's being imitated in a piece of Free Software is utterly horrifying. A preference page in the GUI, and a simple flat text file for those that want more control - what's so hard about that?

Ready or Not, Here I Come

Posted May 19, 2004 13:57 UTC (Wed) by Prototerm (guest, #20227) [Link]

The Registry was one of the absolute worst features added to Windows. A set of flat files in some sort of configuration directory works much better. Easily read by humans, and easily copied to backup. Nowadays, finding a particular windows setting has become a frustrating game of hide-and-seek. I would really hate to see Linux go that route.

It's one thing to clone the look-and-feel of Windows, but do we have to copy the mistakes, too? What's next, add Windows' security flaws?

Not the registry

Posted May 19, 2004 14:37 UTC (Wed) by elanthis (subscriber, #6227) [Link]

Read this:
http://www.whiprush.org/2004/05/crack_pipes_for.html

Specifically, note the paragraph:
"GConf is nothing like the Windows Registry, except for the similar appearance of their respective editors. If Mr. Petreley cares to compare and contrast GConf and the Windows Registry he would know this. In fact Nicholas, I will paypal you $100 US if you can name three architectural similarities between GConf and the Registry."

For the record, just about every piece of software in existance has some kind of registry. All of them. KDE, Apache, the Linux kernel, everything. GNOME just happens to have a graphical tool that displays that registry in a generic fashion a la regedit. You're free to use a command line tool to set keys (just like you would with the Linux kernel "registry keys" in /proc/sys), edit the files directly, etc.

Can GConf get corrupted at times? Sure. So can all your dot files in $HOME, your server configuration files in /etc, and so on. I'd had more broken config files caused by apps that try to code whole config file parsers and make mistakes (instead of using an existing, debugged, well tested framework like GConf or KConfig), broken scripts making mistakes updating config files, and odd ball config editors like debconf than I can count. I've not once ever had my GConf registry corrupted. (I *have* had individual apps with bugs write invalid values to GConf and stop working; they would have stopped working just the same if they had used a custom config file that they wrote invalid values to as well.)

Not the registry

Posted May 19, 2004 20:55 UTC (Wed) by boudewijn (subscriber, #14185) [Link]

The similar appearance is what counts. The back-end isn't important:
wasn't gconf designed to be flexible enough to use ldap, or text files, or
a relational database?

Not the registry

Posted May 19, 2004 21:51 UTC (Wed) by tzafrir (subscriber, #11501) [Link]

Where are those other implementations, then?

Currently gconf requires a per-user daemon to work. And it uses an XML back-end, which can easily get corrupted.

For a better alternativ: http://registry.sf.net/

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds