janten / dpt-rp1-py

Python script to manage a Sony DPT-RP1 without the Digital Paper App
MIT License
540 stars 135 forks source link

Location of configuration files #73

Open cristobaltapia opened 5 years ago

cristobaltapia commented 5 years ago

Hi, thanks for keep making improvements to this nice library!

As far as I understand the default location for the configuration files is ~/.dpapp (in Linux at least, introduced in 27626c82c7e7ff286ffa6f0cd828b05d77de2e78). However, in the Readme file, when describing how to use dptmount, the impression is given that the default folder is ~/.config/dpt (which I actually kind of like more, but that is another issue :P ). I think that this should be consistent and: (a) either change the path shown in the Readme file or (b) change the default location for the configuration files.

janten commented 5 years ago

You are right, this should be harmonized. Could you do a PR for this?

cristobaltapia commented 5 years ago

Sure, I could do that. However, should I only correct the description on the Readme, or change the default config path, so that it is inside the XDG config home (~/.config/dpt)?

janten commented 5 years ago

To me it would be fine either way. Ideally both scripts should try to read from both locations or at least migrate automatically to a common path, which should be documented in the Readme. Which path you choose as the new default is up to you.

cristobaltapia commented 5 years ago

OK, I will try to do it ;) . However, it might take some time, as at the moment I am kind of short of time.

vico commented 2 years ago

@cristobaltapia @janten if you don't mind, I created a PR here. There is no backward compatibility.