I have been engaged on .desktop information this weeks since I bought a brand new laptop computer and I needed to prepare my functions dock. I have been additionally studying on this discussion board concerning the subject
'StartupWMClass', which I discovered to be the answer to my issues, since I could not make a desktop app file that opens itself and solely itself, not different home windows at dock.
The issue got here once I completed some desktop information and I shutdown the laptop computer. The subsequent time I powered on I attempted to launch MATLAB by one of many apps I made, however one other window opened like nothing I did. I went to
/usr/share/functions/matlab.desktop and I checked every part was nice:
[Desktop Entry] <- String returned by xprop
StartupWMClass=MATLAB R2020a - educational use
However every part nonetheless went more bizarre once I opened the desktop file with gedit, and I wrote a dot within the file, saved the file, eliminated it, and saved once more. I clicked once more within the MATLAB desktop app, refreshed, and it behaved appropriately once more!
How can it’s attainable to misbehave with the identical file, simply after rebooting every file? Am I saving the information on the right listing?