You are not logged in.
Launching an app, i.e. telegram-desktop, through firejail like so:
firejail telegram-desktop -- %uand launching it at the same time without sandboxing through firejail (only for test purposes) results in two entries in the window task panel of plasma panel BUT both got the same icon.
The thing is: the icon shown at first, even if it is the right one, after a split second it seems deliberately be switched!
What I tried so far with no success: created a separate firejail-telegram icon and set it to use in /usr/share/application/org.firejailedtelegram.desktop by StartupWMClass=firejailedtelegram and in the start menu launcher i set --class=firejailedtelegram.
The original org.telegram.desktop with its StartupWMClass=TelegramDesktop i left untouched.
Icons in entries of application menus, latte dock or ksmoothdock are accordingly set and are ok.
All those 'static' icons are displayed without issues. The 'dynamic' icons of running apps got the issue and only when the app is in dual use with and without firejail (of course not dual used at the same time). Tor-Browser through firejail as a single application shows the right icon.
Can someone put me on the right track? What is it i don't see? What is the proper way to get those icons right?
Operating System: Arch Linux
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Last edited by kinoe (2023-03-11 08:26:48)
“It's better to keep your mouth shut and appear stupid than open it and remove all doubt” Mark Twain
Offline