New answers tagged icons
What I do is click and drag the correct icon from the /usr/share/applications directory right into the dock. This eliminates duplicate icon conflicts, but if there is only one Google Chrome icon in this directory, and its .desktop file is titled google-chrome.desktop (like it was for me on a recent Chrome install), then you will need to save the .desktop ...
Just run: sudo sed -i '/Group\]\|Desktop Entry/a StartupWMClass=Google-chrome-stable' /usr/share/applications/google-chrome.desktop \ && rm ~/.cache/docky/docky.desktop.*.cache then restart docky and enjoy (reference article).
Solution was to use the environment option env -u _JAVA_OPTIONS /home/steven/MATLAB/bin/matlab -desktop -nosplash
Top 50 recent answers are included