0

i'm trying out flatpak. The only app I have trouble with is firefox. After starting it, it creates 2 icons in dock. They both show the firefox logo but one is more blurry than the other. The blurry one is the one with the blue point on it, indicating I have one instance running. The sharp icon disappears a few seconds after starting firefox. But when I right-click the blurry icon all I can do is close the window whereas I expect to see multiple options like "new window" and such. Likewise clicking this icon with the middle-mouse doesn't do anything.

This does not happen when installing firefox via apt. I get one sharp icon that contains all the expected options upon right clicking. This does also not happen with any different apps I installed via flatpak. They all only create one sharp icon upon starting with the expected options upon rightlicking the icon.

1
  • I have a same problem. Few weeks ago I installed elementary os and I had the same problem. That's why switched back to Ubuntu, but on the end I gave a chance to elementary os once again, but still same problem awaits me. It's not a big problem, but it's annoying. Commented Jul 6, 2020 at 18:58

2 Answers 2

2

I had the same problem, but this Reddit thread explained the problem, pointing toward this answer to solve it. This is a generic problem with Flatpak apps.

Follow the second link to solve the problem. The only difference is that the .desktop file is in ~/.local/share/flatpak/exports/share/applications and the line to be added is StartupWMClass=Firefox.

0

I know it's an old question but it still happens on elementary OS 6.1 Jólnir. The answer by Leo S. here works but if you prefer more GUI approach, you can install MenuLibre. I got the same problem with Blender flatpak, and with this program it's super easy.

  1. Search for the program,
  2. open the Advanced Tab,
  3. Look for the Startup WM Class,
  4. There's a little search icon you can click to identify the window,
  5. and save it.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.