Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Unable to use "run in terminal" for MatLab and Gno

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Lemma
Guru
Guru
User avatar
Posts: 416
Joined: Fri Apr 19, 2002 7:02 pm
Location: Uppsala, Sweden

Unable to use "run in terminal" for MatLab and Gno

  • Quote

Post by Lemma » Mon Dec 06, 2004 10:18 am

I'd like to setup an icon with MatLab (R14) instead of having to start a terminal and type "matlab". I used to be able to do that by choosing "run in terminal" but as of gnome 2.6 (I think, I did a compleate reinstall also, for other reasons...) the terminal window does show up, as do the matlab startscreen but then it just quits... I can start it if I manually open matlab from an xterm-window but not if I use an icon, neather with the "run in terminal" nor with "xterm -hold -e matlab". I am at loss here, any of you know how to proceed?

I am using a matlab site-license so it may have something to do with it not being able to reach the licance-server, but as it does when I run the commans manually it does seem a bit far fetched to me...
Always make it as simple as possible, but no simpler
/Einstein
Top
Lemma
Guru
Guru
User avatar
Posts: 416
Joined: Fri Apr 19, 2002 7:02 pm
Location: Uppsala, Sweden

  • Quote

Post by Lemma » Wed Dec 08, 2004 4:24 pm

Am I really the only one with this problem? 8O
Always make it as simple as possible, but no simpler
/Einstein
Top
tallest
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Tue Mar 09, 2004 5:46 am
Location: Socorro, NM, USA

  • Quote

Post by tallest » Mon Apr 11, 2005 3:24 pm

No, you are not, but I haven't been able to find a solution either. I'm using fluxbox and I am trying to get matlab into the menu, but I have the same result. I found what claims to be a solution to the problem here but this didn't help me (I just end up with a file that has matlab's initial "To Get Started" message and the first matlab prompt in it). Tell me if the method mentioned in that link helps you.

Aaron
Those who can make you believe in absurdities can make you commit atrocities. --Voltaire
Top
BlackEdder
Advocate
Advocate
User avatar
Posts: 2588
Joined: Mon Apr 26, 2004 8:47 am
Location: Dutch enclave in Egham, UK
Contact:
Contact BlackEdder
Website

  • Quote

Post by BlackEdder » Mon Apr 11, 2005 3:26 pm

What happens if you use the nosplash option

Code: Select all

matlab -nosplash
Top
Lemma
Guru
Guru
User avatar
Posts: 416
Joined: Fri Apr 19, 2002 7:02 pm
Location: Uppsala, Sweden

  • Quote

Post by Lemma » Mon Apr 11, 2005 4:10 pm

tallest wrote:No, you are not, but I haven't been able to find a solution either. I'm using fluxbox and I am trying to get matlab into the menu, but I have the same result. I found what claims to be a solution to the problem here but this didn't help me (I just end up with a file that has matlab's initial "To Get Started" message and the first matlab prompt in it). Tell me if the method mentioned in that link helps you.

Aaron
I have reinstalled the whole system (due to other reasons, the computer may have been compromised) and it has worked just fine after that ?!? I run matlab as "matlab" and have the "run in terminal" checked - no more than that...
Always make it as simple as possible, but no simpler
/Einstein
Top
beerisgoodmate
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Fri May 20, 2005 5:49 am

  • Quote

Post by beerisgoodmate » Tue Aug 30, 2005 5:04 am

Matlab doesn't like to be run from menu's for some reason...

The work around is to run matlab with:
xterm -e matlab
which starts matlab from a terminal..
or xterm -e nohup matlab &
which starts matlab from a terminal and closes the terminal when matlab has started.
Top
Lemma
Guru
Guru
User avatar
Posts: 416
Joined: Fri Apr 19, 2002 7:02 pm
Location: Uppsala, Sweden

  • Quote

Post by Lemma » Tue Oct 04, 2005 5:38 am

Solved a long time ago but I should have posted what I did (I did as you suggested ;-)). Thx for your reply, now the solution is out there (but not thanks to me :oops: ).
Always make it as simple as possible, but no simpler
/Einstein
Top
beerisgoodmate
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Fri May 20, 2005 5:49 am

  • Quote

Post by beerisgoodmate » Mon Oct 10, 2005 4:28 am

for completeness, mathworks have there own solution for this problem:

http://www.mathworks.com/support/soluti ... on=1-1B5ZV


Basically when you create a menu or icon replace "/usr/local/matlab7/matlab" with "setsid /usr/local/matlab7/matlab -desktop"
Top
Post Reply

8 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic