> 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.
Yeah, I am aware of that but this would not solve my problem because I use multiple browser profiles and with this, I will have the same problem with all profiles having the same custom icon now. > 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. I haven't checked the firefox flatpak yet but I wouldn't be surprised to see this be the case. The problem here is that the current restrictions do not work for the multiple profiles feature in Firefox, at least not in the way I have been using it. I call the desktop file for each profile as '<profile name> Firefox' so that each of those can have a different icon and are clearly distinguishable. Even if it is Mozilla's official deb repository, I am wary of installing it on my computer as that can give them root access. So there is no easy solution here - I could use the pre-built release tarball but it will be a very manual and cumbersome to maintain for each new release. Thanks again for explaining the details. -- 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
