<p>For future reference, the short version of this issue is that it is almost always caused by running geany via <a href="https://kb.iu.edu/d/amyi" rel="nofollow"><code>sudo</code></a> on systems which have configured <code>sudo</code> not to change <code>$HOME</code>, and that it can be resolved by closing geany and then running this in a terminal:</p>
<pre><code>rm ~/.config/geany/geany_socket*
</code></pre>
<p>Previously reported in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="36252042" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/294" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/294/hovercard" href="https://github.com/geany/geany/issues/294">#294</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="210318488" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1411" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1411/hovercard" href="https://github.com/geany/geany/issues/1411">#1411</a><br>
Long discussion of the issue at <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="167498335" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/1150" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/1150/hovercard" href="https://github.com/geany/geany/issues/1150">#1150</a><br>
Request for more user-friendly recovery from the issue at <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="418994874" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/2102" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2102/hovercard" href="https://github.com/geany/geany/issues/2102">#2102</a></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/1615#issuecomment-471110711">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ-vwscHp3IPBag7X7cgq4F2Awe0mks5vUvAZgaJpZM4PmQxs">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxvYeMRni5dr_-kDsMgePXIt8zbKks5vUvAZgaJpZM4PmQxs.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@daniel-barrows in #1615: For future reference, the short version of this issue is that it is almost always caused by running geany via [`sudo`](https://kb.iu.edu/d/amyi) on systems which have configured `sudo` not to change `$HOME`, and that it can be resolved by closing geany and then running this in a terminal:\r\n\r\n    rm ~/.config/geany/geany_socket*\r\n\r\nPreviously reported in #294 and #1411\r\nLong discussion of the issue at #1150\r\nRequest for more user-friendly recovery from the issue at #2102\r\n"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1615#issuecomment-471110711"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1615#issuecomment-471110711",
"url": "https://github.com/geany/geany/issues/1615#issuecomment-471110711",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>