记录下在Luna下向Launch中添加图标的步骤,以供以后参考,这里我以加入eclipse图标为例:
$ scratch-text-editor eclipse.desktop
[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
desktop-file-install eclipse.desktop
/usr/local/bin
目录下生成一个系统链接cd /usr/local/bin ln -s /opt/eclipse/eclipse
最后,往启动器里添加eclipse图标
cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm