[MonoDevelop] Application configuration files

Victor Rafael Rivarola Soerensen (FANATICO y LOCO por Cristo) vrrivaro at gmail.com
Fri Dec 23 21:14:59 EST 2005

2005/12/23, knocte <knocte at gmail.com>:
> Victor wrote:
> >> MD itself seems to save in a subdirectory inside a .config directory
> >> that is in the personal folder (/home/user/.config/MonoDevelop/). I
> >> think this is a better practice (so as not to fill the personal
> >> directory with many hidden config files).
> > It also reduces the namespace by creating a new namespace (directory)
> > for each app, so you end up having one entry for each app within a
> > .config directory.
> >
> > So:
> >
> > $ cd ~/.config
> > $ ls
> > bless MonoDevelop monodoc
> > $ cd bless
> > history.xml  last.session  preferences.xml
> > $ cd
> >
> That's exactly the same thing that I already said in the comment that
> you are replying to. Sorry but I don't see additional info here, correct
> me if I am wrong.

You merely told Paddy what you felt what was a better practice. While
I reinstated what you said, in addition I provided the why.

I was not clear enough, though. That must explain you missing my point.

First, you should notice the word "also" in my first sentence. That
was a left over from my first drafts. It should not have been there in
the final, sorry I sent it.

Next, I used  the word "namespace", whithout providing additional
information. I felt that none  was required since we are all
programers in an environment where namespaces are an escential feature
of all programing languages on it. Same advantages, same disavantages.
Maybe I should have at least pointed that out. Sorry again.

> > Mozilla (Firefox, Thunderbird, Mozilla, NVU, etc) and KDE also do the
> > same thing (on their own directory).
> But Firefox and Thunderbird create their own .directory in the home root
> /home/user/.mozilla, instead of placing it inside ".config/" folder. I think that's
> undesirable.
> Regards,
>     Andrés   [ knocte ]

The problem is that there is no standard location for configuration in
Un*x that's agreed upon by all programmers. All Mozilla apps have a
directoory under ~/.mozilla/, all KDE apps have a directory under
~/.kde/share/apps/, most Mono apps have theirs under ~/.config/, but
the rest of thte Un*x apps have theirs right under the user's home

Actually, these are just recomendations. There is nothing in Un*x that
forces you to follow them (just like there is nothing in Windows that
strong arms you into using the registry and not some XML in your apps
installation directory).

The ~/.config/ location is one I have only seen Mono apps to use. Both
~/.kde/share/apps/ and ~/.mozilla/ where there before and provide the
exact same advantages. Why couldn't Mono use one of them? Which one
(if they are the same from a technical point of view)?

Actually, I beleive it better for a situation more like this one, but
with a common subdirectory for every kind of app. Otherwise you would
once more end up in having a ~/.config/ directory that could end up
quite large.

Jesus bless you,

Victor Rafael Rivarola

"Por cuanto eres tibio, y no frío ni caliente, te vomitaré de mi boca."
Apocalipsis 3:16

"Porque la Palabra de la Cruz es locura para los que se pierden; pero a
los que se salvan, esto es, a nosotros, es poder de Dios."
1 Corintios 1:18

More information about the Monodevelop-list mailing list