配置eclipse的desktop

root@Ubuntu64:/home/zhangbin# cd /usr/share/applications
root@Ubuntu64:/usr/share/applications# vim eclipseX64.desktop

root@Ubuntu64:/usr/share/applications# 



[Desktop Entry]
Version=1.0
Name=eclipseX64JUNO
Exec=/opt/eclipseX64/eclipse_juno/eclipse
Terminal=false
Icon=/opt/eclipseX64/eclipse_juno/icon.xpm
Type=Application
Categories=Development
~                                                                               
~                                                                               
~                         

还改了改权限。

root@Ubuntu32:/opt# chmod 777 eclipse-cpp-kepler-R-linux-gtk/
root@Ubuntu32:/opt# chown zhangbin -R  eclipse-cpp-kepler-R-linux-gtk/
root@Ubuntu32:/opt# 

你可能感兴趣的:(配置eclipse的desktop)