Answer the question
In order to leave comments, you need to log in
How to link icontasks plasma 5 icon and chromium window?
I use several different profiles for chromium and for each profile I would like a separate icon in the dockbar. The bottom line is that in almost every DU I encounter the same problem. It is difficult to associate a specific application with an icon on the dockbar. In unity I solved it by setting the correct WM_CLASS, in dockbarx there were a few code rules. Now it's plasma 5's turn. I tried all the solutions that I had before and nothing came of it.
.desktop file looks like this:
[Desktop Entry]
Type=Application
Terminal=false
StartupNotify=true
StartupWMClass=chromium-browser-chromium (/home/loki/.config/chromium-nyasha)
Exec=chromium-browser --class=chromium-nyasha --user-data-dir=/home/loki/.config/chromium-nyasha --profile-directory=Profile1 %U
Name=Nyasha
Icon=/home/loki/Изображения/flower.png
Name[ru_RU]=Nyasha
Categories=Network;
Answer the question
In order to leave comments, you need to log in
It turned out to deal with the rules in /etc/xdg/taskmanagerrulesrc
Added the following rule there:
[Rewrite Rules][chromium-browser-chromium][1]
Property=ClassName
Identifier=DesktopEntryName
Match=.config/chromium-(?'match'[a-z]+)
Target=chromium-%1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question