<p dir="auto">.desktop file created after compiling from source has wrong binary location ( .../share/atom/atom) instead of the .../bin/atom file.<br>
Besides there is no icon file in the installation share folder, so the .desktop file points at the wrong icon destination (because none is valid).</p>
<p dir="auto">When installing from source by following <a href="https://github.com/atom/atom/blob/master/docs/build-instructions/linux.md">this guide</a> the following <code class="notranslate">.desktop</code> entry is created in <code class="notranslate">/usr/local/share/applications/atom.desktop</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=/usr/local/share/atom/atom %U
Icon=/usr/local/share/atom/resources/app/resources/atom.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;"><pre class="notranslate"><code class="notranslate">[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century.
GenericName=Text Editor
Exec=/usr/local/share/atom/atom %U
Icon=/usr/local/share/atom/resources/app/resources/atom.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;
</code></pre></div>
<p dir="auto">However, <code class="notranslate">/usr/local/share/atom/resources/app/resources/atom.png</code> does not exist.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ls /usr/local/share/atom/resources/app/
apm  atom.sh"><pre class="notranslate"><code class="notranslate">$ ls /usr/local/share/atom/resources/app/
apm  atom.sh
</code></pre></div>
<p dir="auto">I solved it by simply copying the atom icon in <code class="notranslate">atom/resources/atom.png</code> over to the expected path.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cd atom
sudo cp --parents resources/atom.png /usr/local/share/atom/resources/app/"><pre class="notranslate"><code class="notranslate">cd atom
sudo cp --parents resources/atom.png /usr/local/share/atom/resources/app/
</code></pre></div>
<p dir="auto">I didn't find this bug last week when installing release 0.192.0. Maybe this was introduced on 0.193.0 because of the <code class="notranslate">asar</code> archive file.</p>