You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@stefanpenner Regarding Windows (and macOS) you could have a look at https://crates.io/crates/directories. It's similar to the xdg crate but supports the right directories on Linux, Windows and macOS. (Disclaimer: I wrote it.)
WIP, will flesh this out later:
What?
We should consider abiding by the XDG Base Directory Specification
This makes where notion lives on disk configurable, specifically it would abide by the following ENV variables:
$XDG_DATA_HOME
fallback:$HOME/.local/share
$XDG_CONFIG_HOME
fallback:$HOME/.config
$XDG_DATA_DIRS
fallback:/usr/local/share/:/usr/share/
$XDG_CONFIG_DIRS
fallback:/etc/xdg
$XDG_CACHE_HOME
fallback:$HOME/.cache
$XDG_RUNTIME_DIR
fallback see [spec]((https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)more details for each are specified here*
Why?
$XDG
vars (no chroot, containers etc)How
Technically, likely via the XDG crate
Others Using XDG
Mostly just a list of whats in my
$XDG_CONFIG_HOME
, I suspect there are more.Unresolved
Where do we put stuff in windows?
Maybe something like:
Other Discussion
The text was updated successfully, but these errors were encountered: