Following this SO post

Basically:

  • wrote my own .desktop file by hand
  • supposedly can downloaded logo and stored it in /usr/share/icons for global and ~/.local/share/icons for users, but didn’t work
  • made it executable
  • stored it in /usr/share/applications
  • wait a few moments or relog to have the applications refreshed
[Desktop Entry]
Name=obsidian
Comment=Zettlekasten note taking
Exec=/usr/local/bin/Obsidian-0.12.10.AppImage
Type=Application
Terminal=false
Icon=<ICON NAME OR PATH TO ICON>
NoDisplay=false

Getting An Icon Working

A reader wrote in to add that they achieved getting an icon added by following these steps:

  1. Add your icon to /usr/share/pixmaps eg. /usr/share/pixmaps/pycharm.png
  2. in your .desktop file: add the row Icon=pycharm