Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

location of configuration (and unasked-for creation of directories in my ${HOME}) #24

Open
umlaeute opened this issue May 18, 2017 · 1 comment

Comments

@umlaeute
Copy link
Contributor

after starting iannix for the first time just (and immediately quitting it afterwards), I discovered to my dismay that I now have a ~/IanniX/ directory in my "${HOME}".

I personally dislike applications that dump things directly into my ${HOME}, without asking me.
Also, the first (and so far only) content created in this directory, is a Settings.ini file.
Now the Freedesktop project proposes to place configuration files under ~/.config/. Afaik, QSettings directly support storing configuration files in the proper location. (you can also use QSettings::setDefaultFormat(QtCore::QSettings::IniFormat) to enforce the .ini file format while still using the default configfile location)

So my suggestion is:

  • store the settings in some standard (hidden) location
  • do not create any directories on startup
  • only create files if the user explicitely saves something (either the settings or some project or similar)
  • allow the user to specify the IanniX Documents folder via the preferences (before ever saving anything to it)
@umlaeute umlaeute changed the title location of configuration (and unasked-for creation of dirctories in my ${HOME}) location of configuration (and unasked-for creation of directories in my ${HOME}) Sep 19, 2017
@dvzrv
Copy link

dvzrv commented Mar 25, 2018

I 2nd this! Iannix should use XDG_CONFIG_HOME from the above mentioned specifications.
I also would like IanniX not to create folders in my $HOME on first start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants