Linked by Antonio Ospite on Fri 21st Oct 2011 23:35 UTC
Gnome Antonio Ospite explores Gnome 3 in fall-back mode and tries to make it look and behave more like Gnome 2.32 again. This summer Linus Torvalds made it to the news for complaining about the gnome-shell design; Gnome fall-back mode is the solution for those like Linus who can't - or better, do not want to - use gnome-shell just yet.
Thread beginning with comment 493823
To view parent comment, click here.
To read all comments associated with this story, please click here.
Soulbender
Member since:
2005-08-18

So it's a gconf problem, not a text file problem.
And..10 seconds? Seriously? How crappy must your design be for it to take 10 seconds to read some settings from a text file?

Edited 2011-10-23 06:45 UTC

Reply Parent Score: 2

lucas_maximus Member since:
2009-08-18

depends how big the text file is.

Reply Parent Score: 2

Soulbender Member since:
2005-08-18

That's a design failure. If you have a settings file that is so large that it takes 10 seconds to read from it you need to fix the design. You could, for example, break it up into one file per application which is what KDE does. If *one* application creates a text file that big for settings than you're obviously storing stuff in the settings file that shouldnt be there.

Reply Parent Score: 3

saynte Member since:
2007-12-10

Sure, it was a gconf problem, and part of the solution that they design was to make it binary: as far as I know the settings are mmap'd shared and then all processes can read from it at start-up, that's not possible with a text-file.

As far as I know, no-one even used a text editor to modify the settings anyway. There is both a command-line and graphical tool to edit gconf settings, so I'm afraid I don't see the sin in going to binary.

Reply Parent Score: 2

Soulbender Member since:
2005-08-18

as far as I know the settings are mmap'd shared and then all processes can read from it at start-up, that's not possible with a text-file.


What makes you think it's not possible to mmap text files? it works just as well with "binary" as "text" files.

Reply Parent Score: 3