How to add Eclipse to Favorites?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I installed the latest version of Eclipse onto Ubuntu 18.04 with the official installer from the Eclipse website, however I can't get it to appear on my favorites bar/dock.
I have tried dragging the executable file to the dock, but it doesn't work.
I can't find it with the "show applications" button. I can only run it by clicking on its executable file.
How can I get Eclipse to appear on the favorites bar/dock?
The .desktop file:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=eclipse --profile-directory=/home/myName/eclipse/java-2018-09/eclipse
Type=Application
Icon=eclipse
This isn't a duplicate of this question because the same process doesn't work. Changing the text file to an executable doesn't work.
18.04 java eclipse ubuntu-dock dock
add a comment |
I installed the latest version of Eclipse onto Ubuntu 18.04 with the official installer from the Eclipse website, however I can't get it to appear on my favorites bar/dock.
I have tried dragging the executable file to the dock, but it doesn't work.
I can't find it with the "show applications" button. I can only run it by clicking on its executable file.
How can I get Eclipse to appear on the favorites bar/dock?
The .desktop file:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=eclipse --profile-directory=/home/myName/eclipse/java-2018-09/eclipse
Type=Application
Icon=eclipse
This isn't a duplicate of this question because the same process doesn't work. Changing the text file to an executable doesn't work.
18.04 java eclipse ubuntu-dock dock
add a comment |
I installed the latest version of Eclipse onto Ubuntu 18.04 with the official installer from the Eclipse website, however I can't get it to appear on my favorites bar/dock.
I have tried dragging the executable file to the dock, but it doesn't work.
I can't find it with the "show applications" button. I can only run it by clicking on its executable file.
How can I get Eclipse to appear on the favorites bar/dock?
The .desktop file:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=eclipse --profile-directory=/home/myName/eclipse/java-2018-09/eclipse
Type=Application
Icon=eclipse
This isn't a duplicate of this question because the same process doesn't work. Changing the text file to an executable doesn't work.
18.04 java eclipse ubuntu-dock dock
I installed the latest version of Eclipse onto Ubuntu 18.04 with the official installer from the Eclipse website, however I can't get it to appear on my favorites bar/dock.
I have tried dragging the executable file to the dock, but it doesn't work.
I can't find it with the "show applications" button. I can only run it by clicking on its executable file.
How can I get Eclipse to appear on the favorites bar/dock?
The .desktop file:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=eclipse --profile-directory=/home/myName/eclipse/java-2018-09/eclipse
Type=Application
Icon=eclipse
This isn't a duplicate of this question because the same process doesn't work. Changing the text file to an executable doesn't work.
18.04 java eclipse ubuntu-dock dock
18.04 java eclipse ubuntu-dock dock
edited Oct 9 '18 at 17:02
LuminousNutria
asked Oct 9 '18 at 15:46
LuminousNutriaLuminousNutria
195114
195114
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I merged this answer, OP's answer and my own experience for this complete and very simple guide for anyone who came to this question without any prior knowledge about .desktop files etc (like me):
Create a file called
.desktop
in~/.local/share/applications
(e.g. with the commandnano ~/.local/share/applications/.desktop
)
Add these lines:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/path/to/your/version/eclipse/eclipse
Type=Application
Icon=/path/to/your/version/eclipse/icon.xpm
Note that 'Exec' should point to your eclipse executable, not the containing folder which is also named 'eclipse' usually. Check if the icon file is present and if necessary adapt its path. Save the file.
Make the
.desktop
file executable by runningchmod a+x ~/.local/share/applications/.desktop
.Click on 'Show Applications' (the dot logo on the bottom left of the screen) and in the search bar enter 'Eclipse'. It should appear.
Right click on the Icon and choose 'Add to favorites'.
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)sudo
to create the.desktop
and make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop
.
– dariober
Feb 23 at 11:11
add a comment |
First the problem with the .desktop
launcher was fixed by changing the Exec
line to
Exec=/home/myName/eclipse/java-2018-09/eclipse/eclipse
Then "added to favorites" following this.
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%2f1082340%2fhow-to-add-eclipse-to-favorites%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I merged this answer, OP's answer and my own experience for this complete and very simple guide for anyone who came to this question without any prior knowledge about .desktop files etc (like me):
Create a file called
.desktop
in~/.local/share/applications
(e.g. with the commandnano ~/.local/share/applications/.desktop
)
Add these lines:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/path/to/your/version/eclipse/eclipse
Type=Application
Icon=/path/to/your/version/eclipse/icon.xpm
Note that 'Exec' should point to your eclipse executable, not the containing folder which is also named 'eclipse' usually. Check if the icon file is present and if necessary adapt its path. Save the file.
Make the
.desktop
file executable by runningchmod a+x ~/.local/share/applications/.desktop
.Click on 'Show Applications' (the dot logo on the bottom left of the screen) and in the search bar enter 'Eclipse'. It should appear.
Right click on the Icon and choose 'Add to favorites'.
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)sudo
to create the.desktop
and make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop
.
– dariober
Feb 23 at 11:11
add a comment |
I merged this answer, OP's answer and my own experience for this complete and very simple guide for anyone who came to this question without any prior knowledge about .desktop files etc (like me):
Create a file called
.desktop
in~/.local/share/applications
(e.g. with the commandnano ~/.local/share/applications/.desktop
)
Add these lines:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/path/to/your/version/eclipse/eclipse
Type=Application
Icon=/path/to/your/version/eclipse/icon.xpm
Note that 'Exec' should point to your eclipse executable, not the containing folder which is also named 'eclipse' usually. Check if the icon file is present and if necessary adapt its path. Save the file.
Make the
.desktop
file executable by runningchmod a+x ~/.local/share/applications/.desktop
.Click on 'Show Applications' (the dot logo on the bottom left of the screen) and in the search bar enter 'Eclipse'. It should appear.
Right click on the Icon and choose 'Add to favorites'.
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)sudo
to create the.desktop
and make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop
.
– dariober
Feb 23 at 11:11
add a comment |
I merged this answer, OP's answer and my own experience for this complete and very simple guide for anyone who came to this question without any prior knowledge about .desktop files etc (like me):
Create a file called
.desktop
in~/.local/share/applications
(e.g. with the commandnano ~/.local/share/applications/.desktop
)
Add these lines:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/path/to/your/version/eclipse/eclipse
Type=Application
Icon=/path/to/your/version/eclipse/icon.xpm
Note that 'Exec' should point to your eclipse executable, not the containing folder which is also named 'eclipse' usually. Check if the icon file is present and if necessary adapt its path. Save the file.
Make the
.desktop
file executable by runningchmod a+x ~/.local/share/applications/.desktop
.Click on 'Show Applications' (the dot logo on the bottom left of the screen) and in the search bar enter 'Eclipse'. It should appear.
Right click on the Icon and choose 'Add to favorites'.
I merged this answer, OP's answer and my own experience for this complete and very simple guide for anyone who came to this question without any prior knowledge about .desktop files etc (like me):
Create a file called
.desktop
in~/.local/share/applications
(e.g. with the commandnano ~/.local/share/applications/.desktop
)
Add these lines:
[Desktop Entry]
Comment=Eclipse
Terminal=false
Name=Eclipse
Exec=/path/to/your/version/eclipse/eclipse
Type=Application
Icon=/path/to/your/version/eclipse/icon.xpm
Note that 'Exec' should point to your eclipse executable, not the containing folder which is also named 'eclipse' usually. Check if the icon file is present and if necessary adapt its path. Save the file.
Make the
.desktop
file executable by runningchmod a+x ~/.local/share/applications/.desktop
.Click on 'Show Applications' (the dot logo on the bottom left of the screen) and in the search bar enter 'Eclipse'. It should appear.
Right click on the Icon and choose 'Add to favorites'.
edited Feb 25 at 9:17
answered Feb 22 at 9:42
smcssmcs
19218
19218
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)sudo
to create the.desktop
and make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop
.
– dariober
Feb 23 at 11:11
add a comment |
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)sudo
to create the.desktop
and make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop
.
– dariober
Feb 23 at 11:11
3
3
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)
sudo
to create the .desktop
and make it executable. To make .desktop executable by everyone I think the right command is chmod a+x ~/.local/share/applications/.desktop
.– dariober
Feb 23 at 11:11
Thanks- this helped me as well but a couple of things. You don't need (and you shouldn't use)
sudo
to create the .desktop
and make it executable. To make .desktop executable by everyone I think the right command is chmod a+x ~/.local/share/applications/.desktop
.– dariober
Feb 23 at 11:11
add a comment |
First the problem with the .desktop
launcher was fixed by changing the Exec
line to
Exec=/home/myName/eclipse/java-2018-09/eclipse/eclipse
Then "added to favorites" following this.
add a comment |
First the problem with the .desktop
launcher was fixed by changing the Exec
line to
Exec=/home/myName/eclipse/java-2018-09/eclipse/eclipse
Then "added to favorites" following this.
add a comment |
First the problem with the .desktop
launcher was fixed by changing the Exec
line to
Exec=/home/myName/eclipse/java-2018-09/eclipse/eclipse
Then "added to favorites" following this.
First the problem with the .desktop
launcher was fixed by changing the Exec
line to
Exec=/home/myName/eclipse/java-2018-09/eclipse/eclipse
Then "added to favorites" following this.
edited Oct 9 '18 at 17:46
pomsky
33.8k11105138
33.8k11105138
answered Oct 9 '18 at 17:29
LuminousNutriaLuminousNutria
195114
195114
add a comment |
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%2f1082340%2fhow-to-add-eclipse-to-favorites%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