![Eclipse 下拉菜单中缺少图标](https://linux22.com/image/1094654/Eclipse%20%E4%B8%8B%E6%8B%89%E8%8F%9C%E5%8D%95%E4%B8%AD%E7%BC%BA%E5%B0%91%E5%9B%BE%E6%A0%87.png)
Eclipse 的下拉菜单中不显示图标。我知道在 Gnome 中可以通过以下方式修复此错误:菜单上的图标消失了但它在 Unity 中不起作用。有什么建议吗?
提前致谢。
答案1
我刚刚在 Ubuntu 11.10 中的 Eclipse Indigo 中遇到了同样的问题。Ubuntu Tweak 帮我解决了问题。
只需前往调整>各种各样的>菜单有图标
我还启用了按钮有图标为好措施。
前:
后:
答案2
对于 Ubuntu 12.10,安装Gnome 调整工具并启用图标主题
答案3
为了Ubuntu 14.04unity-tweak-tool
我在或中都找不到该设置gnome-tweak-tool
。虽然您可以使用 gconf-editor,但它在 eclipse 中不起作用。相反,下面的方法对我有用:
gsettings set org.gnome.desktop.interface menus-have-icons true
gsettings set org.gnome.desktop.interface buttons-have-icons true
答案4
这个命令对我有用:
$ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"