Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sorry for the vague header but i found no better one.

This is the situation: I am teaching a GIS course in a local collage using QGIS (qgis4w). The way our lab pc's work is that they delete all added material every start up from the C:\ drive. They also have a D:\ drive where data can be saved. My question is, is there a way to enable plugin installation in this configuration. I thought of something like moving the plugin definition file and the plugin folder to D:\

thanks for any idea yair

share|improve this question

Sure thing. There are two options here:

One is that you can start QGIS with the --configpath arg so that all the configuration including plugins are stored at a custom path. Like so:

qgis.bat --configpath "D:\{somepath}"

You can put that in a .bat file and get the students to launch that.

This also has the advantage of being able to run QGIS, set it up how you like it, install some plugins, then just move the whole D:\{somepath} to a new home e.g. each machines D:\ so that each student has the same setup.


You can set the QGIS_PLUGINPATH variable before you load QGIS which will tell QGIS to load extra plugins from that path. Like:

set QGIS_PLUGINPATH = D:\{somepath}

However with QGIS_PLUGINPATH QGIS will still install into the users home folder on the main drive (C:)

share|improve this answer
thanks for the tip. I tested it successfully for plugins on Win XP + QGIS lisboa 1.8. But configuration that is stored into registry keys are not stored into configpath.. Do you know if it is possible, and how? Régis – user6958 Oct 11 '12 at 15:19
I have a feeling that it might be broken in 1.8. Can you try the latest dev build (I know it work there because I am using it) – Nathan W Oct 11 '12 at 21:24
Thank, i will only be able to try this on sunday – yair suari Oct 12 '12 at 8:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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