by rabidgnat · 16y ago · 0 comments
How would global shared settings look without a registry? Like Unix configuration files. This is a step backwards, as there is no unified way to read Unix configurations. Some things are stored in environment variables, some things are stored in XML files, some things are represented as special files, and some things are stored in INI-style files. Something like window color would be handled by the display manager, but other configuration settings would need to be hunted down at runtime.
What's really better, "read system.window.background.default_color.[rgb] as ints," or "parse /etc/x/conf/x.conf as an .ini file, look for the variable background_color. It is stored in the format (r,g,b). If it is not present, the default is (255,255,255)."?
I like the Unix way better myself, as it's more about building up functionality through composition, rather than setting out to create grand unified architecture. Speaking (possibly too) generally, I find large architectures tend to be harder to fix.
You've just described the registry conceptually.
Basically it's a boring debate as Linux does have a number of X windows related registries. For example GConf and X resources (xrdb).
There's your problem right there. The correct number is ONE. ONE registry, ONE widget set, ONE global, standard, accepted set of keybindings.
That's what the Linux community needs to make happen in order to be taken seriously as a desktop OS.