Closed Catoverflow closed 3 months ago
Hi,
If the dock can't find an app on the Application Menu list, then it can't offer the option to pin/unpin it.
The reason it can't find an app on the Application Menu sometimes even when it's there, is because: on the App Menu, the command could be, for example: 'run-app-script.sh', but when it's running, the command of the task reported could be '/usr/bin/app', and so it can't match the two.
What is the command for Google Chrome in your App Menu?
Thanks,
Yes. The exec chain is ~/.local/share/applications/google-chrome.desktop
-> /usr/bin/google-chrome-stable
-> /opt/google/chrome/google-chrome
I digged a little bit more, please correct me if I'm wrong: Program matching is interesting as the running application should be "aligned" to .desktop launchers. Before I switched to crystal dock I used latte dock and didn't notice the problem in it. Latte-dock's match function seems to be here. I'm not familiar with Qt applications coding but this may be a reference?
In Crystal Dock the App Menu entry is the .desktop file so yeah Crystal Dock does the matching by comparing the command of the running application with the command field of the .desktop file.
Thanks, I will look more into the link you shared.
Should work better now with Crystal Dock v2.0 on Wayland. Please re-open if it's still an issue. Thanks,
Thanks! I tried with Firefox executed from shell script it worked.
Good to hear that!
Some applications do show up in task manager but don't have the pin checkbox:
google-chrome here is launched via
There's a pin checkbox for kate and others
.desktop
file in.local/share/applications
To compare: