There are sometimes reasons why this method may not work (I think Ubuntu does have a particular limitation in this regard)

One option is you can create a shortcut on the menu and pass the variable value in that shortcut.

For example one of the Qgis shortcuts on the Whiskers menu in XFCE on my computer uses this command to start a version of Qgis that I built from source and installed to a different path:

env LD_LIBRARY_PATH=/home/patrick/apps/lib /home/patrick/apps/bin/qgis

where env is passing that variable into the environment that Qgis starts with.

On 16/11/17 23:33, Zhang Qun wrote:
Dear all,

I want to use the |QGIS_PLUGINPATH| environment variable to point to the directory where my plugin are located but did not manage to get it work.

I'm on Ubuntu16.04 and running QGIS 2.18.

I set the variable in terminal by:
$ export QGIS_PLUGINPATH=~/QGIS_Plugins/rndf-editor/RNDFEditor/

and launch the QGIS in this terminal (I guess in order to get the variable effective I have to run within the terminal right?)

$ qgis

But my plugin still did not get to show under the manu Plugin.

Can anyone advise me the correct way to do it? Thanks.

Best regards,
Zhang Qun


_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to