I've installed Matlab inside /home/user/Desktop/matlabFolder/bin/ .
I can run Matlab running /home/user/Desktop/matlabFolder/bin/matlab inside a terminal, and it works.
I created a .desktop file here: /home/user/.local/share/applications/matlab.desktop and this is the content:
[Desktop Entry]
Name=MATLAB
Exec=/home/user/Desktop/matlabFolder/bin/matlab
Icon=/home/user/Pictures/Matlab_Logo.png
Terminal=false
Type=Application
Categories=Development;Math;Science;Education;
If I search for MATLAB in application launcher, I find the icon and I can start it... I can see the Matlab logo that shows that it's starting but after some seconds the logo disappears and nothing happens..... Why? How can I try to fix? Can it be something related to ambient variables and stuff like that?
/usr/bin/
directory and see for yourself. Application executable files usually lack any file type extension./home/<YourUserNameHere>/Desktop/matlabFolder/bin/[...]
path suggests that your entire application is hosted out of your~/Desktop/
folder. That should not be the case. The~/Desktop/
folder should contain only symlinks, and other lightweight stuff, I believe. You could put yourmatlabFolder/
anywhere within your user's home:~
(and then refer to that correctly in theExec
line of the .desktop file.