Resedit (Was: Proposal for KControl)

David Pashley kde-core-devel at davidpashley.com
Tue Jul 2 10:44:48 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 July 2002 9:36 pm, aleXXX wrote:
> On Monday 01 July 2002 11:11, Alexander Kellett wrote:
> ...
>
> > The current file format for kwinrc is as follows:
> >
> >    [Windows]
> >    AltTabStyle=KDE
> >    AnimateMinimize=true
> >    AnimateMinimizeSpeed=5
> >
> > My suggestion is to add a few lines to it:
> >
> >    #![Windows]
> >    #!AltTabStyle=<KDE|CDE>
> >    #!AnimateMinimize=<false|true>
> >    #!AnimateMinimizeSpeed=Integer
> >
> > Yes, its a hack and it will take some work to write these comments for
> > every rc file.
>
> ...and it will slowdown config file parsing and app startup (we read more
> than 10 config files for every app that starts).
> Ok, the parsing of a line stops after a "#" was found, but nevertheless it
> has to run over all the bytes, and such a change would more or less double
> the line number of each config file, wouldn't it ?
>
> Bye
> Alex

I know that gconf uses a gconfd process to load and save the config files and 
cache them. The gconf library then communicates with that process. Seems a 
bit like ksyscoca, but with all config items. I would imagine that this would 
prevent too much file processing. Would this allow for network transparency 
when nfs isn't in use? Whether the communication is faster than the file 
parsing is left as an exercise for the reader.

- -- 
David Pashley
david at davidpashley.com
Nihil curo de ista tua stulta superstitione.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9IXYTYsCKa6wDNXYRAvD0AJwODIDsb4qu6z52AzxEecp04B790ACgiDlD
rjf+NPJIMJUHUtAnRBHqP10=
=INlN
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list