<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi Richard</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Thanks for your reply - see below for inline responses:<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 17, 2020 at 12:32 PM Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/17/20 9:23 AM, Tim Sutton wrote:<br>
> <br>
> On Sun, Aug 16, 2020 at 11:20 PM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a> <mailto:<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>>> wrote:<br>
> <br>
>     On Sun, 16 Aug 2020 at 18:28, Tim Sutton <<a href="mailto:tim@kartoza.com" target="_blank">tim@kartoza.com</a> <mailto:<a href="mailto:tim@kartoza.com" target="_blank">tim@kartoza.com</a>>> wrote:<br>
>     ><br>
>     > PopOS Flatpack ini:<br>
>     ><br>
>     > <PREFIX>/QGIS/QGIS3/profiles/<PROFILE NAME>/QGIS/QGIS3.ini<br>
> <br>
>     > PopOS deb ini:<br>
>     ><br>
>     > <PREFIX>/QGIS/QGIS3/profiles/<PROFILE NAME>/QGIS/QGIS3.ini<br>
>     ><br>
>     > macOS all in one DMG ini:<br>
>     ><br>
>     > <PREFIX>/QGIS3/profiles/<PROFILE NAME>/<a href="http://qgis.org/QGIS3.ini" rel="noreferrer" target="_blank">qgis.org/QGIS3.ini</a> <<a href="http://qgis.org/QGIS3.ini" rel="noreferrer" target="_blank">http://qgis.org/QGIS3.ini</a>><br>
>     ><br>
> <br>
>     These ones are all following the operating system's guidance for<br>
>     storing local configuration. Is this an issue? I'd expect most of the<br>
>     configuration inside the user profile to be storing relative paths to<br>
>     the profile folder, not absolute. If not, do you have examples of<br>
>     settings which store absolute paths?<br>
<br>
Hi Tim,<br>
<br>
Only 'difference' I see is between the macOS and the other ones?<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Correct - I put the two different linux based packages in to show they are consistent.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
One thing to know it that because of the 'sandboxing' flatpack does not store it's stuff in the same place as a Linux distro does (in ~/.local/share).<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Yup</div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Maybe there is some 'APPLICATION' name in the path's? And that differs on macOS dmg's?<br>
Although:<br>
<a href="https://github.com/qgis/QGIS/blob/master/src/core/qgsapplication.cpp#L204" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/blob/master/src/core/qgsapplication.cpp#L204</a><br>
looks like it is a Qt thing:<br>
<br>
 QStandardPaths::standardLocations( QStandardPaths::AppDataLocation ).value( 0 );<br>
<br>
With me here (having both my own builds AND flatpaks), running:<br>
<br>
QStandardPaths.standardLocations(QStandardPaths.AppDataLocation)<br>
in the pythonconsole shows:<br>
[<br>
 '/home/richard/.local/share/QGIS/QGIS3', <br>
 '/usr/share/gnome/QGIS/QGIS3',<br>
 '/home/richard/.local/share/flatpak/exports/share/QGIS/QGIS3',<br>
 '/var/lib/flatpak/exports/share/QGIS/QGIS3',<br>
 '/usr/local/share/QGIS/QGIS3',<br>
 '/usr/share/QGIS/QGIS3'<br>
]<br>
<br>
Can you test this on a mac?<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Heheh once you leave mac, you can never go back :-) Hopefully someone looking in from macOSland on the list here if they can test.</div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
IF it is different, I think it is better to adhere to Qt-standards then to build those path's ourselves?<br></blockquote><div><br></div><div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Well the issue I am trying to highlight is that the config folder as currently implemented is not portable. I thought it was part of the design intent of switching to ini based configs way back that there was a homogenous system for managing configurations. Currently having <PROFILE NAME>/<a href="http://qgis.org/QGIS3.ini">qgis.org/QGIS3.ini</a> on a mac and <PROFILE NAME>/QGIS/QGIS3.ini on linux (curious to know what Windows does) breaks the principle of least surprise and means that your settings folder isn't portable between machines when it easily could be,</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Regards</div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif;font-size:small" class="gmail_default">Tim<br></div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
<br>
Richard Duivenvoorde<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="text-align:center">------------------------------------------------------------------------------------------</div><div style="text-align:center"><div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small;display:inline"></div><img src="https://mail.google.com/mail/u/0/?ui=2&ik=7ebbf93252&view=fimg&th=15a9e43c0bbf93ca&attid=0.1&disp=emb&realattid=9436e64174762963_0.1.1&attbid=ANGjdJ-WL_J24nvBiYidJ0V0xpdsYqRwswi5nq5oywcJEHC7twYVMrxG0y-GNPu_ahJthV8ktXwYuHoVm5DI2FrRAtPzelTRHrsE2wweR9uu8wT-zz2hNRqFwi4SorQ&sz=s0-l75-ft&ats=1488721675176&rm=15a9e43c0bbf93ca&atsh=1" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><br></div><div style="text-align:center">Tim Sutton</div><div style="text-align:center"><span style="text-align:start">Visit </span><a href="http://kartoza.com/" style="text-align:start" target="_blank">http://kartoza.com</a><span style="text-align:start"> to find out about open source:</span><br style="text-align:start"><span style="text-align:start"> * Desktop GIS programming services</span><br style="text-align:start"><span style="text-align:start"> * Geospatial web development</span></div><div style="text-align:center"><span style="text-align:start">* GIS Training</span></div><div style="text-align:center"><span style="text-align:start">* Consulting Services</span></div><div style="text-align:center"><div style="text-align:center">Skype: timlinux Irc: timlinux on #qgis at <a href="http://freenode.net/" target="_blank">freenode.net</a></div><div style="text-align:start"><div style="text-align:center">Tim is a member of the QGIS Project Steering Committee</div><div style="text-align:center">-------------------------------------------------------------------------------------------</div><div style="text-align:center">Kartoza is a merger between Linfiniti and Afrispatial</div></div></div></div></div></div></div></div>