1

With QGIS 3.6.2 on Ubuntu 18.04 I can't get the startup.py file to execute. Checked the docs and default folders with QStandardPaths.standardLocations(QStandardPaths.AppDataLocation) and added the startup into the final folder /home/jaume/.local/share/QGIS/QGIS3/profiles/default/python nothing happens. The test code I want to execute is:

f = open("/home/jaume/aaa.txt","w+")
f.write("This is a line")
f.close()

I've tryed other silly code, added execution permissions, tested that this code runs in the python3 console, etc. Nothing happens. Any advice?

3

1 Answer 1

2

The correct folder is:

C:\Users\<username>\AppData\Roaming\QGIS\QGIS3, check this in your case I think is

/home/jaume/.local/share/QGIS/QGIS3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.