1

Under "Settings -> Options -> System" the SVG-paths are set. There are two default svg-paths:

C:/PROGRA-1/QGIS3/apps/qgis-Itr/./svg/

and

C:/Users/jan/AppData/Roaming/QGIS/QGIS3\profiles\default/svg/

I would like to permanently remove both paths.

I can remove them by clicking on the "-" symbol but when I restart QGIS, both of them reappear. Is there a way to remove both paths permanently?

1

As @FranRaga mentioned, the default paths are recreated each time QGIS is loaded. An alternative could be to create a startup script which removes the SVG paths when QGIS is loaded.

You can create such a script in C:/Users/jan/AppData/Roaming/QGIS/QGIS3/startup.py with the following code:

from qgis.core import QgsApplication
QgsApplication.setDefaultSvgPaths([''])

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.