[Gambas-user] Where to store special files?

Jussi Lahtinen jussi.lahtinen at gmail.com
Fri Oct 12 00:30:32 CEST 2018


Inside Gambas there is Data directory for files to be included and if you
want to copy them out of Gambas executable you do that according to Linux
Filesystem Hierarchy Standard.
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf


Jussi

On Thu, Oct 11, 2018 at 8:50 PM Hans Lehmann <hans at gambas-buch.de> wrote:

> Hello,
>
> for a chapter on paths in Gambas in the online book at
> https://www.gambas-buch.de/doku.php I would also like to describe the
> static properties Desktop.ConfigDir, Desktop.DataDir, Desktop.RuntimeDir
> and Desktop.CacheDir of the Desktop class (gb.desktop) and give hints
> for using the base directories behind these properties.
>
> The Gambas documentation and the explanations in
>
> https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
> are not really helpful if you want to decide with sufficient certainty
> which special files belong in which directory defined with
> Desktop.ConfigDir, Desktop.DataDir, Desktop.RuntimeDir and
> Desktop.CacheDir.
>
>   * Temporary Files
>   * Shell scripts
>   * Scripts in other languages
>   * Databases
>   * DB Views, DB Trigger as SQL File
>   * Pictures and picture collections
>   * Icon, Favicon
>   * Configuration files
>   * Data files such as CSV file, XML file, CSS file, HTML file, music
>     file, sound file
>   * MarkDown file
>   * Help file
>   * Named Pipe
>   * Unix socket
>   * Libraries
>
> Where should the above files be stored?
>
> Yours sincerely
>
> Hans
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181012/f37a3105/attachment.html>


More information about the User mailing list