[Qgis-user] startup.py on network folder

Wolfgang Meinolf wmeinolf at bbv-deutschland.de
Mon Dec 6 09:02:22 PST 2021


Hi Stefan,
thks for the fast response. That’s something, I can build on.
Br
Wolfgang

Von: Stefan Giese (WhereGroup) <stefan.giese at wheregroup.com>
Gesendet: Montag, 6. Dezember 2021 17:35
An: Wolfgang Meinolf <wmeinolf at bbv-deutschland.de>; qgis-user <Qgis-user at lists.osgeo.org>
Betreff: Re: [Qgis-user] startup.py on network folder


Hi Wolfgang,

you can start QGIS with a command line option --code followed by the path and scriptname, for example in a BAT file

Best regards

stefan
Am 06.12.2021 um 17:31 schrieb Wolfgang Meinolf:
Hi,
I like to implement a centrally controlled QGIS environment for our workforce using startup.py. Is there any trick, to put startup.py on a network folder instead the user’s QGIS folder i.e. under Windows %user%\AppData\Roaming\QGIS\QGIS3?

PYQGIS_STARTUP environment variable to change the location does unfortunately not work.

Thanks
Wolfgang



_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>

List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

--

Mit freundlichen Grüßen

Stefan Giese

Projektleiter/Consultant

------------------------------------------------------

Aufwind durch Wissen!

Jetzt neu: Webinare und Online-Schulungen

bei der www.foss-academy.com<http://www.foss-academy.com>

------------------------------------------------------



WhereGroup GmbH

Schwimmbadstr. 2

79100 Freiburg

Germany



Fon: +49 (0)761 / 519 102 - 61

Fax: +49 (0)761 / 519 102 - 11



stefan.giese at wheregroup.com<mailto:stefan.giese at wheregroup.com>

www.wheregroup.com<http://www.wheregroup.com>

Geschäftsführer:

Olaf Knopp, Peter Stamm

Amtsgericht Bonn, HRB 9885
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211206/401f6da0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3641 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20211206/401f6da0/attachment.bin>


More information about the Qgis-user mailing list