Ask Your Question

how to launch a program (matlab) without use terminal?

asked 2013-11-15 23:14:06 -0600

mouly gravatar image

updated 2014-04-11 16:00:22 -0600

remjg gravatar image

Hi guys. I'm new in Fedora and it's my first time asking here so sorry if i make some mistakes and about my english. I have recently installed matlab 2013, but every time i have to launch it i have to write

sh /usr/local/MATLAB/R2013a/bin/matlab

If i just use SUPER and write matlab it did not works. I havent find an matlab's icon either. And i really dont like to have to write every time that command in terminal. is there any solution to create a launcher (prefer not in the desktop) or i have to write everytime that code?

Thanks guys

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted

answered 2013-11-15 23:53:32 -0600

cjbayliss gravatar image

updated 2013-11-21 16:01:06 -0600

Open gedit cut and past this into it:

[Desktop Entry]

then save the file (with the .desktop extension) into ~/.local/share/applications/ (to do this in gedit press save then click on your home folder, then press ctrl+h then double click ".local", then "share" then "applications" then press save.)

Now pressing super and typing "matlab" then pressing enter should work. Please comment if it doesn't.

edit flag offensive delete link more


Sorry about the delay but i hadnt Internet for a while... So lets see what i have done: First i wrote in the terminal:" sudo nautilus", And i pressed ctrl +h in order to see the folder "Root", then ".local" and "share" but there is no "applications" folder. What i see is a folder called "nautilus" and another called "tracker". I see too "recently-used.xbel" and ".converted-launchers" Im using Fedora 19

mouly gravatar imagemouly ( 2013-11-21 08:15:57 -0600 )edit

Ok. So I think that is because your using nautilus as root. Have you tried just pressing super and opening files app and seeing if the ~/.local/share/applications/ folder is there? If it isn't it is fine to create the folder applications then do the instructions above. P.S. you don't need root to do any of this. I used to do this by using root and saving the "Desktop Entry" file to /usr/share/applications/ but it is preferable not to do it as root.

cjbayliss gravatar imagecjbayliss ( 2013-11-21 15:58:05 -0600 )edit

+1 for not using root! matlab is not an administrative application, and user desktop files work fine.

randomuser gravatar imagerandomuser ( 2013-11-26 21:23:02 -0600 )edit

This only works for me when I change : Terminal=true Else this will not completely open Matlab, just the splash screen and it closes soon after. Can you help?

BrownIE gravatar imageBrownIE ( 2015-10-20 09:13:56 -0600 )edit

answered 2013-11-26 13:47:25 -0600

Mosaab Alzoubi gravatar image

updated 2013-11-26 13:56:40 -0600

You can use Almohazzem to generate .desktop files at GUI. After that but into any share applications folder.

edit flag offensive delete link more

answered 2016-01-19 14:02:11 -0600

kerber gravatar image

You can go to /usr/bin and creat a symbolic link to your MATLAB launch script:

cd /usr/bin
sudo ln -s MATLAB_PATH/bin/matlab

Then, when you create your shortcut/launcher add "-desktop" to your command.

Exec=/usr/local/MATLAB/R2013a/bin/matlab -desktop

edit flag offensive delete link more

answered 2013-11-16 01:55:10 -0600

remjg gravatar image

updated 2013-11-25 02:29:01 -0600

To execute a command, you can use the keyboard shortcut alt+F2 and paste your command (I think you can remove the sh part):


Of course, @cjbayliss answer is better if you want Matlab to integrate well in you desktop. In Ubuntu, there is a package in the repositories called matlab-support that does the trick but I can't find a such package in Fedora.

edit flag offensive delete link more

Question Tools


Asked: 2013-11-15 23:14:06 -0600

Seen: 8,581 times

Last updated: Jan 19 '16