When I run Matlab from its launcher, a second icon will show up. Funny thing is that if I put the mouse on the new icon, the text that appears on it is not the one I have in my .desktop file. So my guess is that the launcher is launching the script but it is not capable of associating it with its icon, so it launches a secondary one.
So far it only happened with Matlab.
I don't know what happened, it was working fine and now it doesn't. I don't feel I have changed anything.
I have the .desktop file in .local/share/launchers. Its code is:
[Desktop Entry]
Type=Application
Name=Matlab
Comment=Matlab
Exec=/usr/local/MATLAB/R2012a/bin/matlab -desktop
Icon=/home/kais3r/.local/share/launchers/Matlab.png
Terminal=false
Categories=Math;IDE;
StartupNotify=true
But I don't think the problem is related to this. Maybe some of the last updates? I don't know.