Ubuntu Adding Eclipse to Launcher

Link: http://donovanbrown.com/post/Adding-Eclipse-to-Launcher-on-Ubuntu-1604

  1. Open a text editor
  2. Copy and paste the following text into the editor:
[Desktop Entry]
Version = 1.0
Name=Eclipse
Comment=Used to run C++
Terminal=false
Type=Application
Categories=Application
Exec=/home/{username}/eclipse/cpp-2019-03/eclipse/eclipse
Icon=/home/{username}/eclipse/cpp-2019-03/eclipse/icon.xpm
  1. Update any paths if you extracted Eclipse to a different location
  2. Save the file as eclipse.desktop in /home/{username}/.local/share/applications/
  3. Reboot your machine
  4. Search for Eclipse
  5. Drag and drop the Eclipse icon to the launcher

1


  目錄