See more
g files,…o find out where to put files. Unless environment variables like XDG_CONFIG_HOME say otherwise, use ~/.config/myapp for config files, and ~/.local/share/myapp for data files.
XDG_CONFIG_HOME
~/.config/myapp
~/.local/share/myapp