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
By conincidence, I noticed that you default the ODC log directory to $HOME/.ODC/log. I would like to suggest to comply with the XDG Base Directory Specification instead of inventing yet another custom app-specific dotfiles scheme, e.g. on page 3 one can read:
$XDG_DATA_HOME defines the base directory relative to which user-specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
$XDG_CONFIG_HOME defines the base directory relative to which user-specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
$XDG_STATE_HOME defines the base directory relative to which user-specific state files should be stored. If $XDG_STATE_HOME is either not set or empty, a default equal to $HOME/.local/state should be used.
The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:
actions history (logs, history, recently used files, …)
current state of the application that can be reused on a restart (view, layout, open files, undo history, …)
User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place.
Since $HOME might be shared between systems of different achitectures, installing compiled binaries to $HOME/.local/bin could cause problems when used on systems of differing architectures. This is often not a problem, but the fact that $HOME becomes partially achitecture-specific if compiled binaries are placed in it should be kept in mind.
(...)
In the arch wiki you can get an idea about the adoption distribution of this spec.
Thank you for considering this (at least for linux 😉)!
By conincidence, I noticed that you default the ODC log directory to
$HOME/.ODC/log
. I would like to suggest to comply with the XDG Base Directory Specification instead of inventing yet another custom app-specific dotfiles scheme, e.g. on page 3 one can read:In the arch wiki you can get an idea about the adoption distribution of this spec.
Thank you for considering this (at least for linux 😉)!
The text was updated successfully, but these errors were encountered: