Use the XDG Base Directory Specification

(xdgbasedirectoryspecification.com)
1 points Bogdanp | 3 comments | | HN request time: 0.466s | source
1. keernan ◴[] No.45756378[source]
The linked page contains a broken link to the latest XDB Base Directory The correct link is: https://specifications.freedesktop.org/basedir/latest/
2. akagusu ◴[] No.45759114[source]

  > End users of your application (and hopefully yourself, as well) want a clean home directory.
End users don't care, dotfiles are hidden by default.