Skip to content

[minor] XDG default values do not seem right under Windows #5808

@nojb

Description

@nojb

In Xdg:

  • XDG_CACHE_HOME --> %HOME%/Local Settings/Cache
  • XDG_CONFIG_HOME --> %HOME%/Local Settings
  • XDG_DATA_HOME --> %APPDATA%

This does not seem very good as the HOME environment variable is not typically defined on Windows (it is under Cygwin, but that is an "accident").

Instead, suggest the following correspondence:

  • XDG_CACHE_HOME --> %TEMP%
  • XDG_CONFIG_HOME --> %LOCALAPPDATA%
  • XDG_DATA_HOME --> %LOCALAPPDATA%

This coincides eg with what is done in Racket https://docs.racket-lang.org/basedir/index.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedaccepted proposalswindowsIssues that relate to Dune on Microsoft Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions