That makes sense. I did some digging, `StartupWMClass` is a freedesktop standard [1], so it seems a good DE-agnostic way to fix this issue.
The `BAMF_DESKTOP_FILE_HINT` isn't set by the app developer [2], it's put there by snapd [3]. Thus, the correct place to fix this seems to be that place; add another rewrite rule that adds `StartupWMClass=<appname>` to the desktop file. What do you think of this solution, @chipaca? [you seem the right person to ask this given you wrote the BAMF code ;)]. [1] https://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html [2] https://github.com/keepassxreboot/keepassxc/blob/develop/snap/gui/keepassxc.desktop [3] https://github.com/snapcore/snapd/blob/f5c93b549692b377343ffb0757e1f6c0efafeb9d/wrappers/desktop.go#L109 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1718942 Title: running favorited snap shows two icons in Ubuntu dock To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
