linux 下配置eclipse的启动图标

ctrl+alt+t打开终端
sudo gedit /usr/share/applications/eclipse.desktop
会打开一个文件:
输入如下内容:
这里写图片描述
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=/home/song/eclipse/adt-bundle-linux-x86_64-20140702/eclipse/eclipse
Icon=/home/song/eclipse/adt-bundle-linux-x86_64-20140702/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
其中
/home/song/eclipse/adt-bundle-linux-x86_64-20140702/eclipse/ 是eclipse的安装路径
icon.xpm是eclipse的图标
点击保存配置成功

猜你喜欢

转载自blog.csdn.net/songmingzhan/article/details/53126129
今日推荐