Open AndydeCleyre opened 5 years ago
@AndydeCleyre A bit late, but thanks for this! I have been trying to work out how the window-icon is managed in KDE to no avail for some time now. For chrom(ium) based SSB it is working, but FF seems to need this override as a rule. Now, in theory we should be able to automatically add an entry to this config-file from the tool (though I am not sure if it is a good practice to do this).
I don't know if this really fits within the project's scope, but at the very least I want to put some helpful info here for other Plasma/Kwin users.
Arch Linux ice-ssb
6.0.5
kwin5.16.5
After creating a Firefox SSB, I need to manually do a couple things to get the icons right. First I manually edit the
.desktop
file to change theIcon
field to a plain theme-friendly icon name, so that it changes when the desktop's theme does. Then I create a kwin window rule to associate the window class with the proper.desktop
file/icon. Effectively this creates a new uniquely numbered entry in~/.config/kwinrulesrc
like the following two examples:Without those rules, the desktop uses the Firefox icon instead once the app is open.