Thunderbird on Ubuntu 24.04 - normal dash icon has been replaced - how to recover?
I recently upgraded to Ubuntu 24.04. I also migrated from using Thunderbird via snap to installing and running it via Flatpak.
As a result, the Thunderbird icon on the dock now shows the normal logo with an annoying green circle with the number "1" in white text on top. I have uploaded the image.
This suggests there is one new message but that is not the case - whether there are 0 new messages or 10 new messages, the icon in the dash does not change.
How can I return to the original Thunderbird icon?
I have checked the org.mozilla.Thunderbird.desktop file which is located in /usr/share/applications and and it says:
Icon=thunderbird StartupWMClass=thunderbird-esr
However, I have no idea where the thunderbird icon is located and how to replace it with my own .png file. I cannot find the current icon file anywhere.
Does anyone know how to replace the current icon with my own icon or with the original Thunderbird icon?
Alle antwoorden (2)
A little while back I helped someone alter icons but that was in Windows Os. Mind you it's all probably same files etc within the actual program. https://support.mozilla.org/en-US/questions/1429417
That number 1 in green circle. The unread count is gathered from info located in the 'folderCache.json' file - located in profile. In Windows it's a red circle. I recently had an annoying discrepancy. Number did alter but it was always a given number incorrect. I discovered there was a folder from an account which had been set up as a pop account and then modified to be a deferred account using Local Folders. I discovered that the original pop account data was still in the 'folderCache.json' file. It was locating an unread mail. "totalUnreadMsgs" : 21,
If I exited Thunderbird. I could then have 'edited' that line to say: "totalUnreadMsgs" : 0 and then saved the file, but I was concerned it wouldonly rewrite itself again. Instead I located the actual profile data - renamed the mbox file and moved it to Local Folders account folder. then renamed folderCache.json to force a new build.
I did create a bug report for it. https://bugzilla.mozilla.org/show_bug.cgi?id=1916455
Worth taking a look at that link because I included info on how to debug to find out where that number info was coming from.
Maybe it's something like a relic bit of data from when profile was stored in Snap default location, because the Flatpack would have installed in a different location. Did you manually move the profile folder after the reinstall?
Bewerkt door Toad-Hall op
It would be interesting and helpful if you could follow the debug info and then post what you found in the error console. In the same way I posted info in that bug report.