[Qgis-developer] Common QGIS Plugin configuration accross multiple Linux users

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Sun Mar 9 13:48:39 PDT 2014


Hi Richard,

A platform independent solution would be an elegant solution.

What we do (on Windows) is having a folder on a server containing QGIS default settings (e.g. reg-files for DB-connections, Connections for web services, but also, most popular plugins, map and print composer templates). These default settings can be imported by the users by executing a simple batch-script we produced for that purpose. If that is of interest for somebody I could post the content of the .bat file...

>From that starting point, colleagues can adjust the default settings to their personal needs and preferences...

Cheers
Stefan


-----Original Message-----
From: qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of Richard Duivenvoorde
Sent: 9. mars 2014 20:28
To: Tim Sutton; Zoltan Szecsei
Cc: qgis-developer at lists.osgeo.org
Subject: Re: [Qgis-developer] Common QGIS Plugin configuration accross multiple Linux users


> ~/.qgis2
> and
> ~/.config/QGIS
> 
> You could e.g. rsync the user plugin dirs from a central one, or put 
> them in an nfs mount (read only might have issues as plugins try to 
> write .pyc files or even write data to the plugin dir).
> 
> The ~/.config/QGIS/QGIS2.conf is a standard ini style config file so 
> you should be able to pick through it and awk/sed/bash your way to 
> nirvana :-)

I'm actually thinking about to make this OS independent, by creating a 'save QSettings' as file option. Then with a command line option you would be able to (just before reading the QSettings) actually read/write this settings file back into user settings. Thereby making it possible to for example transfer a certain setup across a class room (as long as the plugins are available in .qgis2 off cours).

Would this work? Or do I miss something?

Regards,

Richard Duivenvoorde



_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list