如何获取 google-earth 的正确启动器图标?

如何获取 google-earth 的正确启动器图标?

如何在启动器中获取 Google Earth 的正确图标?

首先我google-earth-stable_current_amd64.debhttps://www.google.com/earth/download/ge/agree.html

然后我跑了:

sudo dpkg -i google-earth-stable_current_amd64.deb

当我从终端启动 Google Earth 时:

google-earth &

我在启动器中看到了这个错误的图标:

在此处输入图片描述

我检查了桌面文件 /usr/share/applications/google-earth.desktop

[Desktop Entry]
Version=1.0
Name=Google Earth
GenericName=3D planet viewer
Comment=Explore, search and discover the planet
Exec=/opt/google/earth/free/google-earth %f
Terminal=false
MultipleArgs=false
Icon=google-earth
Type=Application
Categories=Application;Network
MimeType=application/vnd.google-earth.kml+xml;application/vnd.google-earth.kmz;application/earthviewer;application/keyhole

看起来没问题。请注意,Exec桌面文件中的值/opt/google/earth/free/google-earth是指向该命令的正确符号链接google-earth

此外,/usr/share/icons/hicolor/64x64/apps/google-earth.png

在此处输入图片描述

看起来不错。如何在启动器中显示此图标?

答案1

将您的文件更新为:

Icon=/usr/share/icons/hicolor/64x64/apps/google-earth.png

相关内容