Linux user Application Data folder path
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Dec 26 12:59:18 EST 2008
Hi Mark,
On both Mac and Linux you should use ~/applications. There preferences
folder is for preferences files, not for standalone applications.
One possible location for a preferences file on Linux is the home
directory. Make sure to start the name of the file with a period, to
hide it under normal circumstances. The global variable $HOME returns
the path to the home directory.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum
We are always looking for new projects! Feel free to contact us to
discuss your custom software project!
On 26 dec 2008, at 02:32, mfstuart wrote:
>
> Hi Mark S.
> I can't try it because I don't have a Linux box available now.
> But will be putting the application out to beta sometime soon - next
> year
> :).
>
> So if I do the following:
> put specialFolderPath("Preferences") into tPath --for MacOS
> put specialFolderPath(26) into tPath --for Windows
> put ~/applications into tPath --for Linux
>
> This should return me the path to the users applications folder?
> And after that if I append the software company name & application
> name,
> this should be OK for storing application information, such
> application
> settings?
>
> Regards,
> Mark Stuart
More information about the use-livecode
mailing list