Navicat icon missing in Gnome dock
I'm using the free version of Navicat. The Linux build works pretty decently, but I had one caveat when I used the Gnome Desktop environment—the damn icon never showed up in the dock dash and, thus, was also not pinnable.
Fix
+ Add --name "Navicat Premium Lite"
flag to the Exec part of the .desktop file.
+ Ensure that this override matches the StartupWMClass
.
[Desktop Entry]
Categories=Development
Comment=Database Development Tool
Exec=/home/user/Software/navicat17-premium-lite-en-x86_64.AppImage --name "Navicat Premium Lite"
Icon=/home/user/.local/share/icons/hicolor/256x256/apps/Navicat Premium Lite 17.png
Name=Navicat Premium Lite 17
StartupNotify=true
StartupWMClass=Navicat Premium Lite
Terminal=false
Type=Application
This file is normally located at .local/share/applications