升级到 Ubuntu 17.10 后,我的一些应用程序的 Ubuntu Dock 图标没有出现。它们在仪表板中正确显示。我验证了*.desktop文件中的应用程序/usr/share/applications和~/.local/share/applications。
例如,“终结者”没有显示停靠栏图标。查看附加的图像。
这是同一应用程序的图标在破折号搜索中的显示方式:
内容/usr/share/applications/terminator.desktop:
[Desktop Entry]
Name=Terminator
Comment=Multiple terminals in one window
TryExec=terminator
Exec=terminator
Icon=terminator
Type=Application
Categories=GNOME;GTK;Utility;TerminalEmulator;System;
StartupNotify=true
X-Ubuntu-Gettext-Domain=terminator
X-Ayatana-Desktop-Shortcuts=NewWindow;
Keywords=terminal;shell;prompt;command;commandline;
[NewWindow Shortcut Group]
Name=Open a New Window
Exec=terminator
TargetEnvironment=Unity
Run Code Online (Sandbox Code Playgroud)
任何调试此问题的指针都会有所帮助。