noedigcode / konfyt

Digital keyboard workstation for Linux.
http://www.noedig.co.za/konfyt
GNU General Public License v3.0
41 stars 1 forks source link

feature request: use XDG base spec #16

Closed BrainDamage closed 4 years ago

BrainDamage commented 4 years ago

In order to cleanup dotfile clutter, making backup easier and giving a standard, XDG Base directory standard was made. The standard uses a common prefix for user dirs having either by default a well known path or either an env var chosen by the user, allowing flexibility if necessary ( env var can be overridden on a per-program basis if one needs so ). For a third party project that tracks adoption, see the Arch Wiki.

noedigcode commented 4 years ago

New commit on testing branch now uses the following paths by default: Settings and database stored in XDG config path. Default projects, patches and sounds directory is XDG documents path/Konfyt/...

However, the Settings dialog now contains dropdown boxes with XDG data path as options for projects, patches and sounds.

The first time you run the new version app, your settings and database from the old location (HOME/.konfyt) will be copied to the new location (XDG config path), and from then on the new location will be used.