应用程序启动后图标错误

应用程序启动后图标错误

我有两个 Eclipse 安装,每个安装都有一个桌面文件,如下所示。

对于图标,我eclipse在两种情况下都使用激活的 Numix 图标主题。

如果我通过活动搜索并启动应用程序,则图标是正确的。

在此处输入图片描述

但启动后左侧任务栏里没有

在此处输入图片描述

我该如何改变这种行为,我也希望左侧有 Numix 图标。


更多细节

find /usr/share/icons/Numix-Circle -iname "*eclipse*"

/usr/share/icons/Numix-Circle/48x48/apps/redeclipse.svg
/usr/share/icons/Numix-Circle/48x48/apps/eclipse.svg

cat ~/.local/share/applications/opt_eclipse_cpp.desktop

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Eclipse C++
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=/opt/eclipse-cpp/eclipse/eclipse
StartupNotify=true
StartupWMClass=Eclipse-CPP

cat ~/.local/share/applications/opt_eclipse.desktop

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=Eclipse JEE
Comment=Eclipse Integrated Development Environment
Icon=eclipse
Exec=/opt/eclipse-jee/eclipse/eclipse
StartupNotify=true
StartupWMClass=Eclipse-Java

相关内容