这是 Ubuntu 18.04 的全新安装。Geany 编辑器是由 安装的apt
,但是在运行它的过程中我收到了很多控制台消息,如下所示:
(geany:4024): Gtk-WARNING **: 17:48:22.265: Error loading theme icon 'document-new' for stock: Icon 'document-new' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.422: Error loading theme icon 'document-open' for stock: Icon 'document-open' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.424: Error loading theme icon 'document-save' for stock: Icon 'document-save' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.424: Error loading theme icon 'document-revert' for stock:
(geany:4024): Gtk-WARNING **: 17:48:22.425: Error loading theme icon 'window-close' for stock: Icon 'window-close' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.425: Error loading theme icon 'go-previous' for stock:
(geany:4024): Gtk-WARNING **: 17:48:22.425: Error loading theme icon 'go-next' for stock:
(geany:4024): Gtk-WARNING **: 17:48:22.427: Error loading theme icon 'system-run' for stock: Icon 'system-run' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.428: Error loading theme icon 'edit-clear' for stock:
(geany:4024): Gtk-WARNING **: 17:48:22.429: Error loading theme icon 'edit-clear' for stock:
(geany:4024): Gtk-WARNING **: 17:48:22.429: Error loading theme icon 'application-exit' for stock: Icon 'application-exit' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:22.435: Error loading theme icon 'window-close' for stock: Icon 'window-close' not present in theme elementary-xfce-darker
(geany:4024): Gtk-WARNING **: 17:48:25.021: Error loading theme icon 'window-close' for stock: Icon 'window-close' not present in theme elementary-xfce-darker
如何解决?
我在 20.04 (WSL) 遇到了这个问题。通过安装解决
yaru-theme-icon
:sudo apt install yaru-theme-icon
包
geany
应该依赖于yaru-theme-icon
,但它不依赖。这是一个包管理错误。在无头 18.04 设置上存在同样的问题,但找不到主题是 menta。安装包
mate-themes
解决了我的问题,所以我想问题中的正确解决方案也是安装缺少的主题。这个包xubuntu-icon-theme
对我来说似乎是最好的选择,因为它提供了/usr/share/icons/elementary-xfce-darker/*
.