Following the lessons learned here, I tried to add an icon to SoulSeek, the file sharing network. The problem is, different from RStudio which has a png file in one of its directories, SoulSeek runs from a single file.However, when running from a link (created with the Make Link option in the context menu of the binary file), the running app has its default icon (a blue ghostly figure, visible in the launcher bar and when I press Alt+Tab).On the other hand, the soulseek.desktop file I've created in /usr/share/applications/, though launching the app from the Super key (it didn't before), launches it with no icon at all.These are the contents of soulseek.desktop:[Desktop Entry]Type=ApplicationEncoding=UTF-8Name=SoulSeekComment=Free file sharing networkExec=/home/rodrigo/Downloads/SoulseekQt-2016-1-17-64bitIcon=/home/rodrigo/Downloads/SoulseekQt-2016-1-17-64bitTerminal=falseIf I remove the Icon key, I get the default binary icon. How to include the blue ghost default app icon, that seems encoded inside the binary?
Desktop icon without image in Gnome (Debian Jessie)
debian;gnome shell;icons;freedesktop
The Icon= key should contains the path to the .png file or just the name of the file (without the .png) if the file is installed in /usr/share/icons/hicolor/<file size>.Not the path to the executableSee: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.htmlEdit: If the icons are bundled in the QT executable, you indeed will have to extract the icons before. Apparently it's possible to do so with https://github.com/gcochard/png-extractor, not tested though.