title: Recreating PyCharm launcher in Ubuntu
body: <p>I installed pycharm normally via <code>bin/pycharm.sh</code>, but the mistake I made was doing <code>bash pycharm.sh</code> <em>while</em> the pycharm directory has inside the Downloads folder.</p>
  
  <p>I later on moved the directory to <code>/opt/Pycharm/</code>. This is causing the once functioning unity launcher (which was added when PyCharm was initially installed) to fail every time I attempt to use it (as expected).</p>
  
  <p>How can I re-add <code>pycharm.sh</code> as a lauchable app from the unity launcher? I know the location of the <code>pycharm.sh</code> file. I've tried to add it to <code>/usr/bin/</code> but that does not change anything.</p>
  
  <p>I can still launch pycharm via <code>bash /usr/opt/Pycharm/bin/Pycharm.sh</code>. But this is tedious.</p>
  
  <h2>UPDATE</h2>
  
  <p>I have tried making a new <code>.desktop</code> file for pycharm, using the following script:</p>
  
  <pre><code>[Desktop Entry]
  Encoding=UTF-8
  Name=PyCharm
  Exec=/opt/Pycharm-3.0.1/bin/pycharm.sh
  Icon=/opt/Pycharm-3.0.1/bin/PyCharm_32.png
  Type=Application
  Categories=Development;
  StartupWMClass=PyCharm
  </code></pre>
  
  <p>However, I get a "Unable to save Pycharm.desktop" error when I try to save the file inside <code>/usr/share/applications/pycharm.desktop</code>. Any help regarding this would be deeply appreciated.</p>