mirror of
https://git.adityakumar.xyz/nix-matlab.git
synced 2024-11-14 02:09:45 +00:00
Use -desktop to launch matlab from desktop
This commit is contained in:
parent
1ad677b048
commit
4440730bf3
1 changed files with 3 additions and 1 deletions
|
@ -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;";
|
||||||
|
|
Loading…
Reference in a new issue