Yes, it's a standard (AFAIK) and this variables are defined after intallation 
in most distributions regardless of DE.
I can't say anything for MAC OS though.
If we want support MAC then introducing NLPCRAFT_HOME sounds like a better idea

Gleb.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, May 24, 2020 4:51 PM, Nikita Ivanov <[email protected]> wrote:

> Is XDG widely used outside of Linux (KDE) community?
> Thanks,
>
> -------------------------------------------------------------
>
> Nikita Ivanov
>
> On Sun, May 24, 2020 at 9:50 AM Ifropc [email protected]
> wrote:
>
> > Hi,
> > As I mentioned in github issue, I vote for supporting XDG variables. In
> > that case, all data should be stored in XDG_CONFIG_HOME (default to
> > $HOME/.config), XDG_DATA_HOME (default to $HOME/.local/share).
> > Or at least we should create variable NLPCRAFT_HOME and use it as base
> > directory. Using home directory and hard-coded path is not a good approach.
> > What is your thoughts about it?
> > Thanks,
> > Gleb.
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Sunday, May 24, 2020 2:06 AM, Sergey Kamov [email protected]
> > wrote:
> >
> > > Hi!
> > > I want to discuss our data files location approach.
> > >
> > > -   We use Apache Ignite as default db. It saves its data under
> > >     <user-home>/.nlpcraft/ignite/
> > >
> > > -   SQL example h2 server saves under <user-home>/nlpcraft-examples/h2/
> > > -   Python NLP server under <project-location>/../data
> > >
> > > Let's define some one approach. (anyway we need to fix some of mentioned
> > > already developed parts)
> > > Regards,
> > > Sergey


Reply via email to