[Snap Core24] Unnecessary .desktop file created
Author: whitenoisedevCreated Aug 10, 2026Updated Sep 3, 2026
We noticed an unnecessary (duplicate or wrong) .desktop file created while building Obsidian Snap package.
Our setup is electron builder 26.15.7, core24, classic confinement, syncDesktopName: true, and desktopName: md.obsidian.Obsidian
Two .desktop files were generated (so there are two items in the user's app launcher).
md.obsidian.Obsidian.desktop
obsidian.desktop
We were expecting only the first one, not the second. They have the same content.
[Desktop Entry]
Name=Obsidian
Exec=obsidian %U
Terminal=false
Type=Application
Icon=${SNAP}/meta/gui/icon.png
StartupWMClass=md.obsidian.Obsidian
Comment=Obsidian
MimeType=x-scheme-handler/obsidian;
Categories=Office;Source: electron-userland/electron-builder