Use -desktop to launch matlab from desktop

This commit is contained in:
Doron Behar 2021-05-15 14:52:18 +03:00
parent 1ad677b048
commit 4440730bf3

View file

@ -32,7 +32,9 @@
desktopName = "Matlab"; desktopName = "Matlab";
name = "matlab"; name = "matlab";
# We use substituteInPlace after we run `install` # We use substituteInPlace after we run `install`
exec = "@out@/bin/matlab %F"; # -desktop is needed, see:
# https://www.mathworks.com/matlabcentral/answers/20-how-do-i-make-a-desktop-launcher-for-matlab-in-linux#answer_25
exec = "@out@/bin/matlab -desktop %F";
icon = "matlab"; icon = "matlab";
# Most of the following are copied from octave's desktop launcher # Most of the following are copied from octave's desktop launcher
categories = "Utility;TextEditor;Development;IDE;"; categories = "Utility;TextEditor;Development;IDE;";