0

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?

Zanna
  • 72,312

1 Answers1

0

I found a bug report for the exact same problem.

Looks like it's a bug of scilab more than a problem with Gnome/Ubuntu.

As a workaround, change your Exec command as described:

Exec=env LC_ALL="en_US.UTF-8" xterm -e /home/user/apps/scilab-6.0.1/bin/scilab

EDIT based on comments

Looks like configuring Terminal=true has the same effect and is enough to keep scilab open.