3

When installing an app, like Eclipse IDE it is launched in the desktop, as a runnable application. If for example, I wanted to have it in the start menu. I should be able to go to the start menu and, if I click on the application it will launch exactly the same way as launching it from the desktop/folder

  • Seconding what @pomsky said. And in case you are at all confused, the launchers in Ubuntu are just a special kind of executable text file that have .desktop at the end and are structured in a certain way. Opening them executes a command that launches the application. The folder he referenced is where all the "dock" or "start menu" launchers live. – Hee Jin Apr 27 '18 at 19:06
  • I know that, but what I didn't know was where the folder was, I didn't ask just for the location because maybe there is an easier way to do it. – YoureSOStubborn Apr 27 '18 at 19:09
  • @YoureSOStubborn See my expanded answer, try alacarte for a GUI alternative. – pomsky Apr 27 '18 at 19:20
4

If you have a launcher in your desktop, then copy/move the launcher from your desktop to the ~/.local/share/applications/ directory. It should appear in the menu.

Otherwise, you may manually create a simple .desktop launcher (say eclipse.desktop) in your ~/.local/share/applications/ directory. The content of the eclipse.desktop may be as follows.

[Desktop Entry]
Name=Eclipse
Exec=/full/path/to/the/executable
Terminal=false
Type=Application
Icon=/full/path/to/the/icon-file

For a GUI alternative, try Main Menu (aka Alacarte). You can install it by

sudo apt-get install alacarte
  • It does work in a way but, I had to make a .desktop configuration for it to work – YoureSOStubborn Apr 27 '18 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.