Desktop link Linux stops after splash screen

9 vues (au cours des 30 derniers jours)
Chris Coutinho
Chris Coutinho le 5 Juil 2016
Commenté : Mason le 18 Sep 2022
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.

Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juil 2016
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 commentaires
Aljoscha Peter Lepping
Aljoscha Peter Lepping le 26 Avr 2021
Modifié(e) : Aljoscha Peter Lepping le 26 Avr 2021
Just stumbled over the same problem. In my case, '-desktop' also did the trick. Thank you!
Mason
Mason le 18 Sep 2022
6 years later and that still worked. what does that flag even do?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by