- You should not use the
desktop
keyword and thesnap/gui
directory together. Remove thedesktop
keyword; putting the files insnap/gui
will do what you want. - The icon isn’t showing because the names are different.
argos-translate.png
vssnapcraft-tkinter.png
. - The reason why you can’t launch the application is because the
exec
field specifies theargos-translate
command instead ofsnapcraft-tkinter
.
That should solve your issues. I also have some more tips:
- It’s better to use the
gnome-3-28
extension instead of the olderdesktop-glib-only
part from desktop-helpers. Thegnome-3-28
extension has better desktop integration, boots quicker and snaps built with it are smaller. - In general, we try to avoid using
snapcraft
andsnap
in the name of the snap because it’s redundant.snap install <app>
will always install the snap of the app.