Two proton apps - wrong icon gets the unread # of emails badge

I'm using Zorin OS 18.1 Core. I have Proton VPN and Proton desktop for Linux installed. Both work fine, however when a new email comes in, the VPN icon is the one that gets a badge with the counter.

The Proton support folks tell me this is a known issue with Gnome misidentifying which icon is supposed to receive the badge that the OS generates.

Is there a fix for this?

Hello,
how did you install Proton Mail App and Proton VPN ? Flatpak or deb ?
If it was flatpak it could be the problem so uninstall them and do this
for mail go there, download and install deb file

for vpn use this tutorial

1 Like

Since both Proton apps are Electron based, GNOME may be getting confused about their launcher identities when assigning the badge. If you have any dock or badge extensions like Dash to Dock installed, try disabling them one at a time, since they’re usually responsible for displaying the badge. It’s also worth installing both apps the same way, either both as Flatpaks or both as .deb/AppImage packages, since mixing formats can sometimes cause identifier mix ups.

So I did get a solution from Proton. They had me run a command that added a StartupWMClass entry to the launch command. That solved the problem.

Appreciate all of the suggestions!

2 Likes

Would you please share the command here?

1 Like

Sorry, I just saw the request. Here's the command:

cp /usr/share/applications/proton-mail.desktop ~/.local/share/applications/ sed -i '/^Exec=/a StartupWMClass=proton-mail' ~/.local/share/applications/proton-mail.desktop

3 Likes

Thank you very much!