You are not logged in.
Pages: 1
Topic closed
For certain electron apps, the icons in the taskbar and windows renders to default Wayland icon. In the Wayland wiki it says:
Note: In Plasma, some Electron applications can use the wrong icon (default Wayland one) for the window, while using the correct icon for the taskbar. To fix that, you can create a special application/window rule, forcing the desktop file name on such applications.Could anyone explain how to make this rule?
Offline
1. Search "window rules" in KDE system settings, and click the "Add New" button. You can find there is a "Detect Window Properties" button at the bottom.
2. Take drawio as an example. Open drawio, then click the "Detect Window Properties", and your cursor changes to a cross. Click drawio at this time, just like how xprop works in X11.
3. The window info is shown in system settings. You can add "window class (application)", and "Desktop file name" to the rule.
4. Check ~/.local/share/applications and /usr/share/applications, the .desktop file of drawio is probably called drawio.desktop not draw.io.desktop. So input drawio in the rule. You can use "Force" instead of "Apply Initially".
Last edited by longday (2024-03-22 10:12:05)
Offline
super cool, thanks a lot, work like a charm.
where is that setting stored? can it be added via script or by editing some config file?
Offline
it is also possible just to create a symlink. I my case that was thunderbird
sudo ln -srv /usr/share/applications/{org.mozilla.Thunderbird,thunderbird}.desktop
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed