Skip to content

Follow the Freedesktop XDG base directory standardΒ #88

@x80486

Description

@x80486

Description

On Linux, pass-cli is inadvertently creatin a .pass-cli sub-directory in the user's home directory 😱

Applications should 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.18.22-1-lts #1 SMP PREEMPT_DYNAMIC Sat, 11 Apr 2026 17:16:25 +0000 x86_64 GNU/Linux

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions