国产操作系统deepin uos都是gnome为基础的,默认菜单里面不显示图标。这是因为他们基础gnome,而GNOME 从2.28之后,按钮和菜单中的图标默认不再显示。
如果要显示,可以使用下面方法进行修改gconf(以普通用戶的身份执行)进行显示:
一、使用命令
gconftool-2 --type boolean --set /desktop/gnome/interface/buttons_have_icons true
gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true
二、使用可视化编辑器
安装gconf-editor,打开配置编辑器,对配置进行可视化编辑。
sudo apt-get install gconf-editor
打开gconf-editor配置编辑器后,展开找到 /desktop/gnome/interface/节点。
- menus_have_icons, 是否允许菜单显示图标。
- buttons_have_icons, 是否允许按钮显示图标。
当然也可以更改其他设置,比如字体,工具栏样式等。
最后 重启对应软件或者直接重启系统,就可以生效了。