Created attachment 445172 [details] Changed chromium-browser-chromium.desktop file Hi, The new version of Plasma 5 taskmanager has the ability to track apps in relation to pinned launchers. Example: If you pin dolphin launcher in taskmanager and then launch it, it will use the pinned icon/entry. Unfortunatly for this to work, it seems its needed that the apps .desktop file is correct. There are some apps in gentoo that i noticed that don't work, namelly chromium apps and kmail. Example: If one create a chromium app and create a desktop launcher for it and pin it to the taskmanager, It will create a new chromium icon and ignore the pinned entry. Kmail will also do this. In other distributions, Plasma's taskmanager is able to separate and track chromium browser and the different chromium app's icons. I was able to fix this in gentoo and make gentoo's plasma taskmanager track each chromium launcher/app separatly, as the same with kmail, but i had to change the .desktop files. In attachment, the changes i did. Is it possible to correct the gentoo's desktop files so that it works with kde plasma's taskmanager ? Thanks ! PS: More info here: https://github.com/psifidotos/nowdock-plasmoid/issues/24, where I first noticed the problem.
Created attachment 445174 [details] Changed chromium launcher script
Created attachment 445176 [details] Changed kmail desktop file that makes taskmanager properly track kmail
More info on what i did: In kmail, it works if one changes the command line from 'Exec=kmail -qwindowtitle %c %u' into 'Exec=kmail'. On chromium desktop file: [Desktop Entry] Name=Chromium Type=Application -Comment=Open-source version of Google Chrome web browser -Exec=chromium-browser %U -TryExec=chromium-browser +Comment=Open-source Chromium browser +Exec=chromium %U +TryExec=chromium Icon=chromium-browser Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/mailto;x-scheme-handler/webcal; -StartupWMClass=chromium-browser +StartupWMClass=chromium and to the chromium launcher: -export CHROME_DESKTOP="chromium-browser-chromium.desktop" +export CHROME_DESKTOP="chromium.desktop"
I've seen this recent commit: https://cgit.kde.org/plasma-workspace.git/commit/libtaskmanager/taskmanagerrulesrc?id=7c443aa53900521deab4fcd4641ea5273afc294e Perhaps something similar is needed for chromium? That file is installed as /etc/xdg/taskmanagerrulesrc so it appears modifications are possible without requiring a rebuild,
Thanks. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc158cb097880079f3ccf68a90d1c43658b73a6b
Sorry for being away from this bug report, but is this really fixed? It isnt working on my system, even with plasma desktop git ebuilds