Issues: See multiple icons when launching from favorites of icon created by menu-libre
The issue you're experiencing happens when an application is launched with a different WM_CLASS or StartupWMClass than what's specified in the .desktop entry, leading to a new icon being created instead of reusing the one in the favorites bar.
You can resolve this by adding the StartupWMClass entry to your .desktop file. Here's how you can do it:
Find the WM_CLASS of the Running Application:
Launch the Orca Slicer app.
Open a terminal and run:
xprop | grep WM_CLASS
Then, click on the Orca Slicer window. The output will show something like this:
WM_CLASS(STRING) = "orca-slicer", "OrcaSlicer"
The first string (e.g., "orca-slicer") is the one you need.
Edit the .desktop File:
gedit /home/mruckman/.local/share/applications/menulibre-orcaslicr.desktop
Put this at the end of the file, for example
StartupWMClass=orca-slicer
