You are not logged in.

#1 2016-02-08 13:15:51

mikaelbrun
Member
From: Tistedal/ Norway
Registered: 2016-01-01
Posts: 43

Matlab running from terminal but not from dmenu

I have installed matlab on my computer, but can't make it run from dmenu.

I don't know how to get a log when I run it from dmenu, so I don't have anything to read from.
In terminal, there is no errors at all, and it runs just fine. I have tried to make a .desktop file, and delete it, with no difference.

I have also tried it on awesome and i3. I have used it on i3 on a previous installation.

Any ideas?

-Mikael

Offline

#2 2016-02-08 13:30:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Matlab running from terminal but not from dmenu

You can launch dmenu from the command line, then attempt to launch matlab from that dmenu instance: errors should be then reported in the terminal you launched dmenu from.

If matlab requires java (looks like it from the wiki page) then this may be due to shellrc files sourcing /etc/profile.d/ files for java/jre.  Depending on how you launch dmenu and your wm, the conents of these profile files may not be in the scope of dmenu.  Am I right in assuming dmenu is run from a key binding in your WM?  How do you start x?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-02-09 09:30:18

mikaelbrun
Member
From: Tistedal/ Norway
Registered: 2016-01-01
Posts: 43

Re: Matlab running from terminal but not from dmenu

I tried running dmenu from terminal and it stops at

MATLAB is selecting SOFTWARE OPENGL rendering.

Nothing happens after that. When I run matlab from terminal, I get the same message, but matlab starts fine.

I start X with .xinitrc --> startx from console (I haven't made it automaticly yet).
My xinitrc is:

exec awesome
# exec i3

I have also installed jre7 and jre8 as well as jdk7 and jdk8 and javafx (after I installed matlab, trying to figure it out myself).

Offline

#4 2016-02-09 11:51:30

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: Matlab running from terminal but not from dmenu

Thanks - it seems my java environment suspicion was wrong.  Sorry I don't have other ideas.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB