How do I add MATLAB to the dock?Blender has weird fuzzy misbehaving icon in launcherHow do I make a Matlab launcher for Unity?Launcher doesn't respond and acts oddlyHow to install Aptana Studio 3 in Ubuntu 14.04? with Launcher shortcuts and Dash search?How can I remove google chrome from launcher?Two Matlab icons in DashUnity 17.04 Desktop Launcher problem for TerminalGnome / Ubuntu 17.10 - How do I know which monitor a program is on in?Tor starts as FirefoxSoftware corrupted during upgrade to 19.04
How to politely tell someone they did not hit reply all in email?
Would Buddhists help non-Buddhists continuing their attachments?
Why did other houses not demand this?
Why do Russians almost not use verbs of possession akin to "have"?
“For nothing” = “pour rien”?
A burglar's sunglasses, a lady's odyssey
First Program Tic-Tac-Toe
Using too much dialogue?
How to determine if a hyphen (-) exists inside a column
How did NASA Langley end up with the first 737?
Time complexity of an algorithm: Is it important to state the base of the logarithm?
Why did Jon Snow admit his fault in S08E06?
Are there any German nonsense poems (Jabberwocky)?
Why is this integration method not valid?
USPS Back Room - Trespassing?
Burned out due to current job, Can I take a week of vacation between jobs?
Expected maximum number of unpaired socks
Security vulnerabilities of POST over SSL
Heat lost in ideal capacitor charging
How does the Earth's center produce heat?
Best shape for a necromancer's undead minions for battle?
What tokens are in the end of line?
Why is unzipped directory exactly 4.0k (much smaller than zipped file)?
Why does the hash of infinity have the digits of π?
How do I add MATLAB to the dock?
Blender has weird fuzzy misbehaving icon in launcherHow do I make a Matlab launcher for Unity?Launcher doesn't respond and acts oddlyHow to install Aptana Studio 3 in Ubuntu 14.04? with Launcher shortcuts and Dash search?How can I remove google chrome from launcher?Two Matlab icons in DashUnity 17.04 Desktop Launcher problem for TerminalGnome / Ubuntu 17.10 - How do I know which monitor a program is on in?Tor starts as FirefoxSoftware corrupted during upgrade to 19.04
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I open MATLAB:
$ matlab &
[1] 3099
I right-click its new icon on the dock and click 'Lock to Launcher'.
The next time I try to use MATLAB, I click the new dock icon. MATLAB acts like it's succesfully opening (shows the startup graphic briefly, taskbar icon flashes like it's in-progress), but then it stops, apparently automatically terminating.
What's wrong? How do I add MATLAB to dock (so I can merely click an icon instead of opening it from Terminal)?
I suspect what's wrong is that unlike other software with a 'permanent' something (process ID?), MATLAB's something changes each time, and so 'Lock to Launcher' doesn't work to open it each time ...
unity launcher icons matlab dock
|
show 2 more comments
I open MATLAB:
$ matlab &
[1] 3099
I right-click its new icon on the dock and click 'Lock to Launcher'.
The next time I try to use MATLAB, I click the new dock icon. MATLAB acts like it's succesfully opening (shows the startup graphic briefly, taskbar icon flashes like it's in-progress), but then it stops, apparently automatically terminating.
What's wrong? How do I add MATLAB to dock (so I can merely click an icon instead of opening it from Terminal)?
I suspect what's wrong is that unlike other software with a 'permanent' something (process ID?), MATLAB's something changes each time, and so 'Lock to Launcher' doesn't work to open it each time ...
unity launcher icons matlab dock
Have you tried creating a.desktop
for MATLAB?
– M. Becerra
Jan 23 '18 at 8:27
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
You can figure that out withtype -a matlab
– M. Becerra
Jan 23 '18 at 10:35
1
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
1
No, you should typetype -a matlab
. The command is called "type"
– gustavwiz
Jan 24 '18 at 9:01
|
show 2 more comments
I open MATLAB:
$ matlab &
[1] 3099
I right-click its new icon on the dock and click 'Lock to Launcher'.
The next time I try to use MATLAB, I click the new dock icon. MATLAB acts like it's succesfully opening (shows the startup graphic briefly, taskbar icon flashes like it's in-progress), but then it stops, apparently automatically terminating.
What's wrong? How do I add MATLAB to dock (so I can merely click an icon instead of opening it from Terminal)?
I suspect what's wrong is that unlike other software with a 'permanent' something (process ID?), MATLAB's something changes each time, and so 'Lock to Launcher' doesn't work to open it each time ...
unity launcher icons matlab dock
I open MATLAB:
$ matlab &
[1] 3099
I right-click its new icon on the dock and click 'Lock to Launcher'.
The next time I try to use MATLAB, I click the new dock icon. MATLAB acts like it's succesfully opening (shows the startup graphic briefly, taskbar icon flashes like it's in-progress), but then it stops, apparently automatically terminating.
What's wrong? How do I add MATLAB to dock (so I can merely click an icon instead of opening it from Terminal)?
I suspect what's wrong is that unlike other software with a 'permanent' something (process ID?), MATLAB's something changes each time, and so 'Lock to Launcher' doesn't work to open it each time ...
unity launcher icons matlab dock
unity launcher icons matlab dock
asked Jan 23 '18 at 8:22
DBinJPDBinJP
4311321
4311321
Have you tried creating a.desktop
for MATLAB?
– M. Becerra
Jan 23 '18 at 8:27
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
You can figure that out withtype -a matlab
– M. Becerra
Jan 23 '18 at 10:35
1
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
1
No, you should typetype -a matlab
. The command is called "type"
– gustavwiz
Jan 24 '18 at 9:01
|
show 2 more comments
Have you tried creating a.desktop
for MATLAB?
– M. Becerra
Jan 23 '18 at 8:27
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
You can figure that out withtype -a matlab
– M. Becerra
Jan 23 '18 at 10:35
1
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
1
No, you should typetype -a matlab
. The command is called "type"
– gustavwiz
Jan 24 '18 at 9:01
Have you tried creating a
.desktop
for MATLAB?– M. Becerra
Jan 23 '18 at 8:27
Have you tried creating a
.desktop
for MATLAB?– M. Becerra
Jan 23 '18 at 8:27
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
You can figure that out with
type -a matlab
– M. Becerra
Jan 23 '18 at 10:35
You can figure that out with
type -a matlab
– M. Becerra
Jan 23 '18 at 10:35
1
1
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
1
1
No, you should type
type -a matlab
. The command is called "type"– gustavwiz
Jan 24 '18 at 9:01
No, you should type
type -a matlab
. The command is called "type"– gustavwiz
Jan 24 '18 at 9:01
|
show 2 more comments
1 Answer
1
active
oldest
votes
Create a matlab.desktop file in ~/.local/share/applications
[Desktop Entry]
Name=Matlab
Type=Application
Exec=*location to matlab*
Icon=*location to icon (optional)*
Terminal=true
You can use whereis matlab
to find the location to matlab.
The last line is optional, either you have to find a suitable icon for matlab on your computer, or download one and store it where appropriate.
Finally, make it executable with sudo chmod +x matlab.desktop
, or by right clicking on the file in the file manager, and make it executable under permissions.
In that folder there already is a filematlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?
– DBinJP
Jan 24 '18 at 8:01
It turns out you have to addTerminal=true
to the desktop file to make sure it doesn't self terminate.
– gustavwiz
Apr 13 at 15:00
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f998929%2fhow-do-i-add-matlab-to-the-dock%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Create a matlab.desktop file in ~/.local/share/applications
[Desktop Entry]
Name=Matlab
Type=Application
Exec=*location to matlab*
Icon=*location to icon (optional)*
Terminal=true
You can use whereis matlab
to find the location to matlab.
The last line is optional, either you have to find a suitable icon for matlab on your computer, or download one and store it where appropriate.
Finally, make it executable with sudo chmod +x matlab.desktop
, or by right clicking on the file in the file manager, and make it executable under permissions.
In that folder there already is a filematlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?
– DBinJP
Jan 24 '18 at 8:01
It turns out you have to addTerminal=true
to the desktop file to make sure it doesn't self terminate.
– gustavwiz
Apr 13 at 15:00
add a comment |
Create a matlab.desktop file in ~/.local/share/applications
[Desktop Entry]
Name=Matlab
Type=Application
Exec=*location to matlab*
Icon=*location to icon (optional)*
Terminal=true
You can use whereis matlab
to find the location to matlab.
The last line is optional, either you have to find a suitable icon for matlab on your computer, or download one and store it where appropriate.
Finally, make it executable with sudo chmod +x matlab.desktop
, or by right clicking on the file in the file manager, and make it executable under permissions.
In that folder there already is a filematlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?
– DBinJP
Jan 24 '18 at 8:01
It turns out you have to addTerminal=true
to the desktop file to make sure it doesn't self terminate.
– gustavwiz
Apr 13 at 15:00
add a comment |
Create a matlab.desktop file in ~/.local/share/applications
[Desktop Entry]
Name=Matlab
Type=Application
Exec=*location to matlab*
Icon=*location to icon (optional)*
Terminal=true
You can use whereis matlab
to find the location to matlab.
The last line is optional, either you have to find a suitable icon for matlab on your computer, or download one and store it where appropriate.
Finally, make it executable with sudo chmod +x matlab.desktop
, or by right clicking on the file in the file manager, and make it executable under permissions.
Create a matlab.desktop file in ~/.local/share/applications
[Desktop Entry]
Name=Matlab
Type=Application
Exec=*location to matlab*
Icon=*location to icon (optional)*
Terminal=true
You can use whereis matlab
to find the location to matlab.
The last line is optional, either you have to find a suitable icon for matlab on your computer, or download one and store it where appropriate.
Finally, make it executable with sudo chmod +x matlab.desktop
, or by right clicking on the file in the file manager, and make it executable under permissions.
edited Apr 13 at 15:00
answered Jan 23 '18 at 12:43
gustavwizgustavwiz
437212
437212
In that folder there already is a filematlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?
– DBinJP
Jan 24 '18 at 8:01
It turns out you have to addTerminal=true
to the desktop file to make sure it doesn't self terminate.
– gustavwiz
Apr 13 at 15:00
add a comment |
In that folder there already is a filematlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command/usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?
– DBinJP
Jan 24 '18 at 8:01
It turns out you have to addTerminal=true
to the desktop file to make sure it doesn't self terminate.
– gustavwiz
Apr 13 at 15:00
In that folder there already is a file
matlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command /usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?– DBinJP
Jan 24 '18 at 8:01
In that folder there already is a file
matlab_r2017b_-_student_use.desktop
, however Right-Click -> Open returns the error message that it's untrusted due to installation from an unknown source. (Apparently doing something with it can execute the command /usr/local/MATLAB/R2017b/bin/glnxa64/MATLAB
...) I see the Execute checkbox to mark in Properties > Permissions, and that turned the default Aa icon into the MATLAB logo icon! Then I was able to drag and drop it onto the dock! ... However, the behavior is the same as the OP: It appears to self-terminate. What should I do with this .desktop?– DBinJP
Jan 24 '18 at 8:01
It turns out you have to add
Terminal=true
to the desktop file to make sure it doesn't self terminate.– gustavwiz
Apr 13 at 15:00
It turns out you have to add
Terminal=true
to the desktop file to make sure it doesn't self terminate.– gustavwiz
Apr 13 at 15:00
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f998929%2fhow-do-i-add-matlab-to-the-dock%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Have you tried creating a
.desktop
for MATLAB?– M. Becerra
Jan 23 '18 at 8:27
No. I don't know what a .desktop is nor how to create one, and I suspect the 'matlab' command is a symbolic link (whatever that is) rather than an executable. (How did you format that text, by the way?)
– DBinJP
Jan 23 '18 at 10:33
You can figure that out with
type -a matlab
– M. Becerra
Jan 23 '18 at 10:35
1
Btw, to format code or similar, surround it with `
– M. Becerra
Jan 23 '18 at 10:42
1
No, you should type
type -a matlab
. The command is called "type"– gustavwiz
Jan 24 '18 at 9:01