[openbeos] Re: B_USER_DATA_DIRECTORY?

"Mikael Jansson" <tic_khr@xxxxxxxx> wrote:
> 
> 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.

Putting stuff directly in /boot/home is rude,
(From my POV. I'm sure some people disagree.)
even if it's in a folder.

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.

So, for now, while ~/config/settings is still not
locked to a certain ./app-signature/ -style rigid
database, I'd say, put whatever app-related you
want in ~/config/settings/{your app} as long as 
it's something that varies from user to user.

(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.

It would be nicer if there were only these 3 places:
app folder, settings folder, and this extra folder.

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).

/Jonas Sundström.              www.kirilla.com


Other related posts: