yccheok / jstock

JStock is a free stock market software for 28 countries.
https://jstock.org
657 stars 345 forks source link

Follow the Freedesktop XDG base directory standard #147

Closed x80486 closed 3 years ago

x80486 commented 4 years ago

On Linux, JStock currently creates a .jstock/ folder in the user's home directory. Most applications/programs don't create a folder in the user's home directory anymore, but instead use the Freedesktop XDG standard – found here: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html.

Using this standard:

This is just a request to consider using this standard. It makes a lot of sense; it is easy for the user to understand, makes it easier to backup / locate / restore / manage / clear user's data, and creates less clutter in the user's home directory.