I was facing the same issue while using the Obsidian App via AppImage, but in my case os is Xubuntu i.e. XFCE DE. Below are my Desktop entry based on the actual AppImage location:
[Desktop Entry]
Type=Application
Name=Obsidian
Exec=/opt/obsidian/obsidian.AppImage
Icon=obsidian
StartupWMClass=obsidian
Terminal=false
/opt
|
|----/obsidian
|
|--- obsidian.AppImage
|--- obsidian.png
I was still facing the issue related to missing icons in both xfce-panel
and the application switcher. After coming across this post, I added the icon (the same one which is present in /opt/obsidian/
inside the apps
folder of my icon theme as shown below:
.icons/Os-Catalina-icons-master/128x128/apps/obsidian.png
.icons/Os-Catalina-icons-master/22x22/apps/obsidian.png
.icons/Os-Catalina-icons-master/64x64/apps/obsidian.png
Followed by a restart, solved the issue.