[fpc-pascal] GetAppConfigDir but for temp data?
graemeg.lists at gmail.com
Wed Dec 3 14:01:23 CET 2008
On Wed, Dec 3, 2008 at 2:40 PM, Michael Van Canneyt
<michael at freepascal.org> wrote:
>> I believe Microsoft has a LocalAppData location, but not sure if that
>> is also used for GetAppConfigDir(False).
> Yes it is.
>> For example: freedesktop.org (I believe) specifies the following file:
> Well, on my system this file does not exist.
I can't remember ever installing it myself, but it seems to be
included as part of the following Ubuntu (deb) packages:
Which also has defaults in the following locations:
More info here:
I don't know which applications actually adhere to these locations
though, but I'm willing to start. :-)
> It's not so easy to find a good compromise.
I agree, hence my posting here... ;-)
> I was already not very happy about the change to use ~/.config/appname
> instead of .appname.
Oh, I welcomed that change. :-) I hate having my $HOME directory full
of hidden files and directories. It's to disorganised for my liking.
> The fact that the freedesktop.org specs are not very binding, doesn't
> make it very suitable in my eyes.
Well at least they are trying to making things easier for desktop
applications. Using things like 'xdg-open' instead of trying to find
the correct user preferred application to open HTTP, text files, HTML,
PDF etc... files. It's a huge time saver! I wish more and more
applications will start following these guidelines. Unix and Linux
systems really need some consistency in the desktop application space.
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-pascal