<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>There are sometimes reasons why this method may not work (I think
Ubuntu does have a particular limitation in this regard)</p>
<p>One option is you can create a shortcut on the menu and pass the
variable value in that shortcut.<br>
</p>
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:<br>
<br>
env LD_LIBRARY_PATH=/home/patrick/apps/lib
/home/patrick/apps/bin/qgis<br>
<br>
where env is passing that variable into the environment that Qgis
starts with.<br>
<br>
<div class="moz-cite-prefix">On 16/11/17 23:33, Zhang Qun wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADk-=6fPG2xO-w0+f0GAXbr3B07uh4wzzK8dMMZKiZddJ55w-w@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>Dear all,<br>
<br>
</div>
I want to use the <code class="gmail-docutils
gmail-literal"><span class="gmail-pre">QGIS_PLUGINPATH</span></code>
environment variable to point to the directory
where my plugin are located but did not manage to
get it work.<br>
<br>
</div>
I'm on Ubuntu16.04 and running QGIS 2.18.<br>
<br>
</div>
I set the variable in terminal by:<br>
$ export
QGIS_PLUGINPATH=~/QGIS_Plugins/rndf-editor/RNDFEditor/<br>
<br>
</div>
and launch the QGIS in this terminal (I guess in order
to get the variable effective I have to run within the
terminal right?)<br>
<br>
</div>
$ qgis<br>
<br>
</div>
But my plugin still did not get to show under the manu
Plugin.<br>
<br>
</div>
Can anyone advise me the correct way to do it? Thanks.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Zhang Qun<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
QGIS-Developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
</blockquote>
<br>
</body>
</html>