[openbeos] glasselevator-talk@bug-br.org.br

(Moving over the thread to GE-talk now, I think it's where it belongs.)

>
> > 
> > So, the question is: Where are those pictures stored?
> > Not in ~/config/settings, because it isn't a setting. 
> > The user shouldn't specify it himself, either, 
> > because they show up in the application, and should 
> > the user want to find the notes, it would be clearly 
> > stated in the documentation where to find them 
> > (if the user would want to, say, print them.)
> 
> I'd put them in ~/config/settings/{app}, for now.
> 
Okay.  Perhaps we need ~/config/data?

>
> Putting stuff directly in /boot/home is rude,
> (From my POV. I'm sure some people disagree.)
> even if it's in a folder.
> 
Yes indeed.  Right now, it's actually put in /boot/home, but that will 
definitely change when/if it's released.  The thing about not having it 
in ~/config/settings is that it's not really a setting.

>
> Adding a new folder right below ~/config/,
> like this: ~/config/SuperNotes is less rude,
> but still not something I would like a lot of 
> apps to do.
>
Ugh, that's plain wrong.

The more I think of it, ~/config/data/{app} looks like a good idea.
 
On that note, should we somehow lock the settings from apps by adding a 
BApplication member function to get the location of the settings 
folder? For example, ~/config/settings/tic_software/ticWorkspaceGadget, 
and then whatever settings file within that folder.

>
> (unlike man pages, headers and the usual from 
> ported Unix apps)
> 
> If ~/config/settings is locked down to only contain 
> settings of a certain format, flattened BMessages,
> XML or whatever, we probably need a place where
> apps can store more compound data that varies
> from user to user, like UI skins, plugins, etc
> 
> ~/config/appcetera/{app-sig}/{whatever1, 2, ..}
> 
> Lame name, but you get the picture. At the moment
> apps install all over the place.
>
I don't like "me too" comments, but I agree on this.

The problem is where to break up the settings/data:
One scheme would be to place the app's skins in ~/config/data/{app},
and the settings (i.e., what skin to use) in ~/config/settings/{app}.

Plugins (or, add-ons as we say in Beish), goes in ~/config/add-ons.
But you knew that, right? ;) 

> 
> Perhaps 'resources' is a good name for the folder. 
> For stuff that isn't documents, and not pure settings
> either, but still user-specific as opposed to (merely)
> app-specific (like man pages).
> 
Agreed.
I believe B_COMMON_ETC_DIRECTORY is where such data should
be stored at the moment, but there are two main problem with
that:
i) The name "etc" isn't the best; "resources" or "data" would be 
better.
ii) There is no equivalent for B_USER_..._DIRECTORY.

So now that we've solved /that/ problem ;), we still need
to deal with the icky UN*X ports spreading their directories
and files all over the place.

--
Mikael Jansson
http://mikael.jansson.be

Other related posts: