Ideas Test


Store settings in ~/.config on linux

Right now, it seems that settings are stored in the Settings folder inside the application folder. This requires write-access to the application folder, preventing a proper multi-user installation, as well as making it easy to accidentally overwrite your settings when upgrading the software.

Store the software in ~/.config (inside the user's homedir), which is the standard location for this kind of thing would make more sense. For perfect standards-compliance, using libxdg-basedir would be great, but you might not want to add this extra dependency.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Aug 2 2018
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    August 02, 2018 17:49

    I think this is important, too.

    I downloaded 1.2.13 onto a new Linux box, and had some trouble getting it to start.

    The main reason ended up being that Logic wants to be able to write to the directory that it's installed in.

    This is "very bad manners" for Linux software (and not so hot on Windows, either, btw.)

    Logic also doesn't like running a suid/root, so that work-around won't work, when installing Logic in non-writable locations like /usr/local/bin.

    It took me some time to diagnose all this, and then work out a solution where I make the directories in the Logic install writable to my user, yet they live inside /usr/local/bin.

    If Logic instead set up a ".logic" directory in the $HOME directory, and copied its writable directories there on first creation, and used that as the "writable root," I think it would be a much better citizen in the installable-software world. (You could then start looking into building a snap of it, and such, to make installation super simple.)