Desktop link Linux stops after splash screen

조회 수: 8 (최근 30일)
Chris Coutinho
Chris Coutinho 2016년 7월 5일
댓글: Mason 2022년 9월 18일
I have been using Matlab for the better part of a year on an openSUSE system - currently I'm on 2016a.
I usually run the 'matlab &' command in a terminal to launch Matlab, but then I have this useless terminal open and I want to just open it using an icon. I have created icons in the past for other applications, but for some reason Matlab is different. Is there some reason why Matlab stops opening at the splash screen?
Matlab was installed using symbolic links, and I use the full path in the application destination.

채택된 답변

Walter Roberson
Walter Roberson 2016년 7월 5일
I do not know how similar openSUSE is to ubuntu. I recently went through something similar with ubuntu, and found resources such as http://askubuntu.com/questions/401948/how-to-create-launcher-icon
But I didn't actually use the icon files and so on. I created a shell script using hints from http://askubuntu.com/questions/299052/how-to-execute-sh-script-from-a-desktop-shortcut and others. There were two important parts: 1) convince the launcher to Run executables instead of edit them; and 2) on the end of the matlab command line add the -desktop option
I would have to fire up my virtual ubuntu machine to find the exact script I used, but I am running a job at the moment and so I am short on memory.
  댓글 수: 3
Aljoscha Peter Lepping
Aljoscha Peter Lepping 2021년 4월 26일
편집: Aljoscha Peter Lepping 2021년 4월 26일
Just stumbled over the same problem. In my case, '-desktop' also did the trick. Thank you!
Mason
Mason 2022년 9월 18일
6 years later and that still worked. what does that flag even do?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by