Multibit-Legacy / multibit

Deprecated Bitcoin Wallet
https://multibit.org
MIT License
462 stars 395 forks source link

Stop cluttering my home directory #783

Open yousefamar opened 7 years ago

yousefamar commented 7 years ago

I hope this isn't too much to ask for, but it really irks me when programs dump their application data in my home directory. From reading https://github.com/keepkey/multibit/blob/master/configuration.md, it seems like there's no way to change this. So I wanted to ask if it's possible that (at least for Linux) you adhere to XDG standards and check environment variables for directories to override this, else use ~/.config/multibit for config and ~/.local/share/multibit for everything else? There are Java libs to make this trivial, e.g. https://github.com/omajid/xdg-java or https://github.com/charkins/xdgpaths.

It could be that if this is put higher than the home dir in the current pecking order, then it will break backwards compatibility and cause people to panic, so I would also suggest adding some code to check if that folder is there on startup, and copy it to the correct directories.