ubuntu14.04安装eclipse后启动栏图标为灰色问号

xiaoxiao2021-02-28  70

ubuntu创建eclipse快捷方式图标。 cd /usr/share/applications sudo touch eclipse.desktop sudo gedit eclipse.desktop输入以下内容:[Desktop Entry] Encoding=UTF-8 Name=Eclipse Platfrom Comment=Eclipse IDE Exec=/opt/eclipse/eclipse //这个是你的Eclipse文件夹下eclipse.exe的路径 Icon=/opt/eclipse/icon.xpm //Eclipse文件夹下图标icon.xpm的路径 Terminal=false StartupNotify=true Type=Application Categories=Application;Development;保存。执行:sudo chmod u+x eclipse.desktop //将其变为可执行文件.打开/usr/share/applications/,就会发现出现了一个eclipse图标。
转载请注明原文地址: https://www.6miu.com/read-80902.html

最新回复(0)