this is expected behaviour under the freedesktop XDG specification and does not at all differ from how deb packages handle .desktop packages in /usr/share/applications (just that snapd puts these files in their own location where the XDG system reads them). these files are package-owned and will always be replaced by design.
to override the package-owned files the XDG specification provides the ~/.local/share/applications/ directory. copy the package-shipped files like: cp /var/lib/snapd/desktop/applications/spotify_spotify.desktop \ ~/.local/share/applications/ then you are free to edit the file in ~/.local/share/applications/ to your needs and it will not be overwritten (and will be preferred over the one shipped in the package). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1799321 Title: customization of desktop files overwritten when snaps are updated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1799321/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs