%APPDATA%\QGIS\QGIS3
default
) contains subfolders for processing, color palettes, various (optional) templates, GUI adjustments, etc. as well as additional Python plugins and in particularQGIS3.ini
, which contains all QGIS program settings.QGIS3.ini
, a manually prepared and configured profile using QGIS can then be distributed as a (standard) copy (e.g. via a network drive, batch script).QGIS3.ini
override the default specifications. settings_template
), the entire standardized configuration is finally available as an independent copy on the workstation PCs — even in the case of network installation! — But keep in mind that:QGIS3.ini
under the tag [PostgreSQL]
or [qgis]
(OWS)PGSERVICEFILE
2) --globalsettingsfile [path]
— Using this option, you can specify the path for a Global Settings file, by default %OSGEO4W_ROOT%/resources/qgis_global_settings.ini
. qgis_global_settings.ini
file on a network shared folder gives a system administrator the possibility to change global settings and defaults in several machines by only editing one file!QGIS3.ini
! [locale] userLocale=de_DE overrideFlag=false globalLocale=de_DE showGroupSeparator=false
QgsSettings
is required to use qgis_global_settings.ini and replaces QSettings
4). This code adjustment must also be followed in external plugins so that their settings are read from qgis_global_settings.ini, see Discovery #73 & Map Library #2. --authdbdirectory [path]
— Defines, similar to globalsettingsfile, the path to the directory where the authentication database will be stored and loaded.--profiles-path [path]
— Specifies a path to load and save the profiles (user settings) --customizationfile [path]
— Defines a UI customization file (QGISCUSTOMIZATION3.ini
), that will be used at startup.--code [path]
— Path to a givenpython file that is run directly after QGIS has started.QGIS_GLOBAL_SETTINGS_FILE
→ see above --globalsettingsfile
QGIS_CUSTOM_CONFIG_PATH
→ see above --profiles-path
PYQGIS_STARTUP
— Points to a Python script that is executed before QGIS starts. .reg
file5) on a network drive ( manually set up & export in the Windows registry editor). Command start /wait regedit -s "[network share\]qgis_userEnv.reg"
in customized QGIS start file. %AppData%\Roaming\QGIS\QGIS3
for a file startup.py
and executes it — regardless of the profile used.PYQGIS_STARTUP
, a Python script (e.g. startup.py) can be executed before the initialization of QGIS is completed. This can be used to copy centrally stored settings etc. to the workstation PCs (→ example).