As a user you can modify the desktop file for a snap application, that is you can change how the application identified by its unique sandbox identifier shows in your desktop. You do that by dropping a desktop file in ~/.local/share/applications with **the same** filename (or StartupWMClass) as the original one. But you cannot make a snap identify itself as another application, and thus match **a different** desktop file. I would imagine flatpak has the very same requirement.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2146522 Title: Custom .desktop files with StartupWMClass cannot override icon for snap applications To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2146522/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
