1

Another noob question trying to install Eclipse as per How to install Eclipse? that is following right up after this question: Eclipse installation process - initial "sudo mv eclipse /opt" Not working

I perform the gedit eclipse.desktop command, which opens the .desktop file. I then copy and paste the following into the file as instructed:

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=env UBUNTU_MENUPROXY=0 eclipse44
Terminal=false
Icon=eclipse
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse

I then try to execute sudo desktop-file-install eclipse.desktop, but nothing happens because the file is still open. So, I close it and it throws the error sudo: desktop-file-install: command not found.

What am I doing wrong?

  • sudo apt-get install desktop-file-utils – A.B. Jan 22 '16 at 21:58
  • thanks! I was trying sudo apt-get install desktop-file-install, to no avail, of course. It's weird that I did not find reference to the utils package easier. – Christopher Williams Jan 22 '16 at 23:33
  • I have uninstalled eclipse, but somehow the eclipse.desktop file still exists, and so does the eclipse on my application list (I have Kubuntu installed, and hence on the Krunner, I can find this) How do I remove it? – kalpaj agrawalla Jul 28 '20 at 06:57

0 Answers0