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.
sudoto create the.desktopand make it executable. To make .desktop executable by everyone I think the right command ischmod a+x ~/.local/share/applications/.desktop. – dariober Feb 23 '19 at 11:11program_name.desktopso if there is another program that you want to add to favorites, you can create another.desktopfile ex:second_program.desktop– hossein hayati Jan 06 '20 at 07:16