discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

question about internal config file generation

JD
John David
Tue, Feb 17, 2026 9:12 AM

Is there some environment variable or function that generates the directory
name for the config files?  On Linux I get a config file at
"~/.config/OpenSCAD/OpenSCAD.conf"
but I have been unable to find where in the code the file paths are
generated.  Can someone point me to the section of the code?

EBo --

Is there some environment variable or function that generates the directory name for the config files? On Linux I get a config file at "~/.config/OpenSCAD/OpenSCAD.conf" but I have been unable to find where in the code the file paths are generated. Can someone point me to the section of the code? EBo --
TP
Torsten Paul
Tue, Feb 17, 2026 9:16 AM
https://github.com/openscad/openscad/blob/4d6c9b89f5f79da4c7de00c11d58dc1b2e0bb4dc/src/platform/PlatformUtils-posix.cc#L36-L49 The file name part is auto-generated by the Qt settings code. ciao, Torsten.
JD
John David
Tue, Feb 17, 2026 7:14 PM

Thank you, Torsten, I have what I needed.

EBo --

On Tue, Feb 17, 2026 at 4:16 AM Torsten Paul via Discuss <
discuss@lists.openscad.org> wrote:

https://github.com/openscad/openscad/blob/4d6c9b89f5f79da4c7de00c11d58dc1b2e0bb4dc/src/platform/PlatformUtils-posix.cc#L36-L49

The file name part is auto-generated by the Qt settings code.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Thank you, Torsten, I have what I needed. EBo -- On Tue, Feb 17, 2026 at 4:16 AM Torsten Paul via Discuss < discuss@lists.openscad.org> wrote: > > https://github.com/openscad/openscad/blob/4d6c9b89f5f79da4c7de00c11d58dc1b2e0bb4dc/src/platform/PlatformUtils-posix.cc#L36-L49 > > The file name part is auto-generated by the Qt settings code. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >