My application includes a
.desktop file and a
.png file in
snap/gui, which snapcraft correctly includes in the snap.
However, when I install the snap, the icon is not shown in the launcher. I’m testing on Ubuntu 20.
I see both files in
/var/lib/snapd/desktop is included in
XDG_DATA_DIRS, and the
.desktop file in in
/var/lib/snapd/desktop/icons is empty.
If I manually copy my
/var/lib/snapd/desktop/icons, then it is shown correctly in the launcher.
Is this a snap bug, or do I need to add something to my
The source for the app is: https://github.com/jafl/leibnitz
In the snap store, it is: https://snapcraft.io/leibnitz