首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行Geany时的GTK警告

运行Geany时的GTK警告
EN

Ask Ubuntu用户
提问于 2018-07-10 21:55:06
回答 3查看 4.9K关注 0票数 6

这是Ubuntu18.04的一个新安装。Geany编辑器是由apt安装的,但在运行期间,我收到了许多控制台消息,如下所示:

代码语言:javascript
复制
(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

怎么解决这个问题?

EN

回答 3

Ask Ubuntu用户

回答已采纳

发布于 2020-06-18 21:00:28

我在20.04 (WSL)遇到了这个问题。通过安装yaru-theme-icon解决了:

sudo apt install yaru-theme-icon

geany包应该依赖于yaru-theme-icon,但它不是,它是包管理错误。

票数 7
EN

Ask Ubuntu用户

发布于 2022-06-30 14:27:30

同样的问题,在一个无头18.04设置,但主题找不到的是门塔。安装包mate-themes解决了我的情况下的问题,所以我想问题中的案例的正确解决方案也是安装缺少的主题。包xubuntu-icon-theme在我看来是最好的选择,因为它在/usr/share/icons/elementary-xfce-darker/*中提供文件。

代码语言:javascript
复制
sudo apt install xubuntu-icon-theme
票数 1
EN

Ask Ubuntu用户

发布于 2023-02-10 18:23:59

在Ubuntu18.04.6LTS,无头服务器上也有同样的问题。在我的例子中,我仍然收到警告说Yaru主题丢失了。下面的软件包为我修复了它:

代码语言:javascript
复制
sudo apt install adwaita-icon-theme-full
票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1054001

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档