Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Follow the Freedesktop XDG base directory standard #2917

Open
x80486 opened this issue Jul 3, 2024 · 0 comments
Open

Follow the Freedesktop XDG base directory standard #2917

x80486 opened this issue Jul 3, 2024 · 0 comments

Comments

@x80486
Copy link

x80486 commented Jul 3, 2024

Describe

On Linux, Atlas CLI is inadvertently creating a .atlas sub-directory in the user's home directory 😱

Applications must follow the Freedesktop XDG standard β€” found here: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html.

Using this standard:

  • $XDG_CACHE_HOME says "temporal/non-essential" files go to $HOME/.cache/
  • $XDG_CONFIG_HOME says "configuration files" go to $HOME/.config/
  • $XDG_DATA_HOME says "data files" go to $HOME/.local/share/

This is just a report to consider using the defined variables for this standard to fix this bug / not bug.

It makes a lot of sense; it is easy for the user to understand, makes it easier to backup / locate / restore / manage / clear user's data, and creates less clutter in the user's home directory.

Thanks in advance...and thanks so much for your hard work on this – it's amazing!

Environment

Platform: Linux
OS specifics: Linux uplink 6.6.34-1-lts #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 14:45:31 +0000 x86_64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant