Desktop link Linux stops after splash screen

8 次查看(过去 30 天)
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
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