monero-project / monero-gui

Monero: the secure, private, untraceable cryptocurrency
Other
1.74k stars 769 forks source link

(Feature Request) Store configs in ~/.config/ rather than home folder for linux #3727

Open peepo5 opened 2 years ago

peepo5 commented 2 years ago

This is annoying because it clutters the home directory.

selsta commented 2 years ago

Which config are you talking about exactly? The .bitmonero folder or the default wallet location (~/Monero)?

peepo5 commented 2 years ago

Both

peepo5 commented 2 years ago

For data, .local/share/ is the standard I am pretty sure. Any configs are normally stored in folders inside of .config/

HumanG33k commented 2 years ago

All information are https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html By the way MacOs and Windows have this kind of specification too.

mj-xmr commented 2 years ago

I'll gladly take it up, unless there's already some progress made by somebody else?

mj-xmr commented 2 years ago

This task has to be split into 2 parts. The "config" directory in question is AFAIK created by the GUI, while the daemon's .bitmonero is indeed created by the daemon. The CLI wallet simply creates its files in the current working directory.

mj-xmr commented 2 years ago

Related GUI PR: https://github.com/monero-project/monero-gui/pull/2272 (Re: config directory, not data)

DonQuiProgger commented 6 months ago

Hello everyone,

Like peepo said either respecting the XDG schema or giving a config parameter like "--config-file" to monero-wallet-gui command line which allows moving the files away from the home root directory.

Preferred scenario is that all files regarding monero are somewhere under .config/monero. The wallet can already be moved but there is .shared-ringdb and .bitmonero and settings.ini not.