[QGIS-Developer] Inconsistencies in QGIS ini path

Tim Sutton tim at kartoza.com
Mon Aug 17 00:23:06 PDT 2020


HI

On Sun, Aug 16, 2020 at 11:20 PM Nyall Dawson <nyall.dawson at gmail.com>
wrote:

> On Sun, 16 Aug 2020 at 18:28, Tim Sutton <tim at kartoza.com> wrote:
> >
> > PopOS Flatpack ini:
> >
> > <PREFIX>/QGIS/QGIS3/profiles/<PROFILE NAME>/QGIS/QGIS3.ini
>
> > PopOS deb ini:
> >
> > <PREFIX>/QGIS/QGIS3/profiles/<PROFILE NAME>/QGIS/QGIS3.ini
> >
> > macOS all in one DMG ini:
> >
> > <PREFIX>/QGIS3/profiles/<PROFILE NAME>/qgis.org/QGIS3.ini
> >
>
> These ones are all following the operating system's guidance for
> storing local configuration. Is this an issue? I'd expect most of the
> configuration inside the user profile to be storing relative paths to
> the profile folder, not absolute. If not, do you have examples of
> settings which store absolute paths?
>


> > PopOS Deb prefix:
> >
> > ~/.local/share/
> >
> > macOS all in one DMG prefix:
> >
> > ~/Library/Application\ Support
>
> Can you elaborate again on why this change break things? Do some
> settings have these paths hardcoded in?
>
>
Oh sorry I didnt state my issue very well! Absolutely no issue having
different prefixes, my concern are the parts after the profile name that
differ between linux and macOS. Isnt that something defined by ourselves?
Assuming I drop my config folder (everything after prefix) onto another OS
I was expecting everything to 'just work', but because of path differences
within a profile it doesn't.



> > BTW has anyone had any contact with the person making flatpack recipes?
> I have some other flatpack install related issues to share...
>
> I'll forward you Aleix Pol's email off-list. He's very responsive and
> extremely knowledgeable about flatpack!
>

Awesome, thanks!

Regards

Tim




>
> Nyall
>
>
>
> >
> > Regards
> >
> > Tim
> >
> >
> > --
> >
> ------------------------------------------------------------------------------------------
> >
> > Tim Sutton
> > Visit http://kartoza.com to find out about open source:
> >  * Desktop GIS programming services
> >  * Geospatial web development
> > * GIS Training
> > * Consulting Services
> > Skype: timlinux Irc: timlinux on #qgis at freenode.net
> > Tim is a member of the QGIS Project Steering Committee
> >
> -------------------------------------------------------------------------------------------
> > Kartoza is a merger between Linfiniti and Afrispatial
> > _______________________________________________
> > QGIS-Developer mailing list
> > QGIS-Developer at lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


-- 
------------------------------------------------------------------------------------------

Tim Sutton
Visit http://kartoza.com to find out about open source:
 * Desktop GIS programming services
 * Geospatial web development
* GIS Training
* Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
Tim is a member of the QGIS Project Steering Committee
-------------------------------------------------------------------------------------------
Kartoza is a merger between Linfiniti and Afrispatial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200817/b69cd126/attachment-0001.html>


More information about the QGIS-Developer mailing list