[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oil-config
On 2 May 1999, Preben Randhol wrote:
> Kasper Peeters <K.Peeters@damtp.cam.ac.uk> writes:
>
> | So how do they handle system-wide settings?
>
> This I don't know, but I think it is in the Gnome file in the same
> directory. But the .gtkrc is also read so that one can do
> configurations there. (Mnemonic also reads this)
>
> | I guess the routines that read the gnome files can only be installed
> | if you also install ORBit/ImLib/Yatzee/everythingelseunderthesun or
> | did the Gnome folks meanwhile separate this one?
>
> This I don't know either. But do we need it? A parser that can read
> this simple file is not hard to make I think.
>
> ORBit/ImLib/Yatzee/everythingelseunderthesun is a bit exaggerated I
> think. I can see a perfectly sound reason for wanting apps to use the
> same CORBA, sound and image libraries, when one makes an integrated
> desktop. But that is not to say the Mnemonic needs those libs.
>
format of KDEs config looks like gnome and windows ".ini"s
>--
This is what i found in one of their class descriptions
filename for each applicatie "~/."+<name>+"rc"
All configuration entries are of the form "key=value" and belong to a
certain group. A group can be specified in a
configuration file with "[GroupName]". All configuration entries from the
beginning of a configuration file to the first
group declaration belong to a special group called the default group.
If there is a $ character in a entry, KConfig tries to expand environment
variable and uses its value instead of its
name. You can avoid this feature by having two consecutive $ characters in
your config file which get expanded to
one.
Lines starting with a hash mark(#) are comment lines.
>--
So following such a syntax seems to be very handy, and maybe we should
look for one of those places to place it or maybe create our own place and
link it to both the other possibilities.
>
> --
> Preben Randhol "You will find me if you want me in the garden,
> [randhol@pvv.org] unless it's pouring down with rain."
> [http://www.pvv.org/~randhol/] -- Einstürzende Neubauten
> -
-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Mnemonic Browser Project - http://www.mnemonic.browser.org/
Developers Mailinglist
Archive: http://www.mnemonic.browser.org/list/dev/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-