I'm fighting with a rather odd problem with Matlab.
The startup script is located in /opt/matlab_2013b/bin
and is called matlab
.
- When I run it in terminal, it works fine.
But I want to make a launcher for it in the Xfce panel.
- With just this, it crashes right away:
/opt/matlab_2013b/bin/matlab
- When I use
xterm -e "cd /opt/matlab_2013b/bin; ./matlab"
, it works, but I have a useless xterm floating around. (Same result if I use the above and select "start in terminal" - then I have alxterminal
, not a big improvement) sh -c "cd /opt/matlab_2013b/bin; ./matlab"
does not work (I thought maybe it'd fool matlab into thinking it's in a terminal, but no
I think the startup scripts must somehow depend on being invoked from a interactive terminal.
Is there some way to run xterm or other terminal without the window? So that the process that runs in it thinks it's in real terminal, but there's no window showing?
/opt/matlab_2013b/bin/matlab
– SailorCire Mar 2 '15 at 12:54