I have downloaded scilab and extracted it to /home/user/apps/scilab-6.0.1/. There isn't any problem executing from command line and scilab runs perfect after I type the following command:
~/user/apps/scilab-6.0.1/bin/scilab
To link scilab to the gnome application menu and favorite apps, I've created the following scilab.desktop file in the path /usr/share/applications/:
[Desktop Entry]
Comment=Scientific software package for numerical computations
Exec=/home/user/apps/scilab-6.0.1/bin/scilab %f
GenericName=Scientific Software Package
Icon=/home/user/apps/scilab-6.0.1/share/icons/hicolor/256x256/apps/scilab.png
Name=Scilab
StartupNotify=false
Terminal=false
Type=Application
Categories=Science;Math;
The scilab icon appeared in the menu as a result, but when I click on it, it opens and closes immediately. What should I do to solve this problem?