<p>When I start Geany from terminal, go build works fine, and env shows correct $GOPATH. But when I start it from DE menu (XFCE Whisker), I have that problem I've described (go build gives an error, and env does not show $GOPATH).</p>
<p>Is set my $GOPATH in .bashrc script.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2390?email_source=notifications&email_token=AAIOWJ2E2AIZPW7F27ZRLW3QSHH65A5CNFSM4JJE7KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEFPFY#issuecomment-550000535">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3DZYDXAAM3PUZ5UTDQSHH65ANCNFSM4JJE7KMA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ5BZ6SUTWMLU3E5JU3QSHH65A5CNFSM4JJE7KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEFPFY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2390?email_source=notifications\u0026email_token=AAIOWJ2E2AIZPW7F27ZRLW3QSHH65A5CNFSM4JJE7KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEFPFY#issuecomment-550000535",
"url": "https://github.com/geany/geany/issues/2390?email_source=notifications\u0026email_token=AAIOWJ2E2AIZPW7F27ZRLW3QSHH65A5CNFSM4JJE7KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEFPFY#issuecomment-550000535",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>