title: Code::Blocks reports another instance running, even when there isn't one
body: <p>When I try running <em>Code::Blocks</em>, I get the following error message:</p>
  
  <blockquote>
    <p>Another program instance is already running.
    Code::Blocks is currently configured to only allow one running instance.</p>
    
    <p>You can access this Setting under the menu item 'Environment'.</p>
  </blockquote>
  
  <p>I had a similar problem before with e.g. Google Chrome when I didn't shut it down correctly, but for Chrome, I managed to locate the lock file, delete it, and it solves the problem.</p>
  
  <p>For <em>Code::Blocks</em>, I looked around and tried several proposed solutions, but none of them worked:</p>
  
  <ul>
  <li><p>look for the process (<code>ps -A | grep 'codeblocks'</code>) and kill the process</p>
  
  <p>I found a stray process this way, but killing it did not help.</p></li>
  <li><p>allow multiple instances <em>Setting</em> under <em>'Environment'</em> menu</p>
  
  <p>I can not run any instance in the first place, so can not access the menu.</p>
  
  <p>I tried running <em>Code::Blocks</em> from terminal with <code>codeblocks --multiple-instances</code> but that parameter must have been abandoned some time ago, as it is no longer recognized.</p></li>
  <li><p>I looked all over for some kind of a lock file, to try and delete it</p>
  
  <p>Unfortunately, I didn't find anything that looked to me distinctly like the lock file :(</p></li>
  </ul>