1. Ctrl + Alt + T 调出Terminal
2. cd /usr/share/applications/
3. sudo gedit eclipse:
[DesktopEntry]
Encoding=UTF-8
Name=eclipse
Comment=Eclipse IDE
Exec=/usr/local/eclipse/eclipse_SDK/eclipse
Icon=/usr/local/eclipse/eclipse_SDK/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
4. sudo chmod u+x eclipse.desktop
ok!
locked to launcher