IanniX
IanniX copied to clipboard
location of configuration (and unasked-for creation of directories in my ${HOME})
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)
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.