What I do: I have some apps where I dont like the icon. Or I have another appstarting starting a specific Firefox profile. Or things like this. What I do is copy the appstarter of the original to ~/.local/share/applications/x.desktop and it shows up. AFAIK normally that appstarter should override the system one, as kind of the users power. What happens though, is that Firefox often doesnt follow that. Sometimes it still shows the default icon, while the pined custom one is then a duplicate. I can imagine this is due to how the processes are identified, its not a Flatpak-only problem though, as this happens on RPM firefox too. My proposal is to somehow fix app detection, so that the icon doesnt reset all the time but actually respects the metadata stated in the appstarters / Desktop entries. Specified App: firefox-113.0.1-4.fc38.x86_64 --- Software --- OS: Fedora Linux 38.20230530.0 (Kinoite) KDE Plasma: 5.27.5 KDE Frameworks: 5.106.0 Qt: 5.15.9 Kernel: 6.2.15-300.fc38.x86_64 Compositor: wayland --- Hardware --- CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx RAM: 13.5 GB GPU: AMD Radeon Vega 8 Graphics Video memory: 2048MB
> I can imagine this is due to how the processes are identified Yep. > What I do is copy the appstarter of the original to ~/.local/share/applications/x.desktop and it shows up. After you do this, do you remember to run `kbuildsycoca5` in a terminal window? If not, does the problem get fixed if you do? If not, does the problem get fixed if you override the icon using the GUI app kmenuedit, rather than manually copying a .desktop file around?
I didnt know of that command. Kmenuedit doesnt work, as the appstarters are from Flatpaks 99% and these are symlinked. Running the command did not fix my firefox displaying two icons for example, which is the /usr/share/icons/ and the ~/.local/share/icons one
This should work as expected 100% of the time starting in Plasma 6.3