9

It's a new installation of Ubuntu 18.04. The Geany editor was installed by apt, but I'm getting a lot of console messages like below during running it:

(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

How to fix that?

HEKTO
  • 585

3 Answers3

10

I had this problem on 20.04 (WSL). Solved by installing yaru-theme-icon:

sudo apt install yaru-theme-icon

The geany package should depend on yaru-theme-icon, but it doesn't. It's a package management bug.

cdjc
  • 216
2

Same problem on a headless 18.04 setup but the theme not being found was menta. Installing the package mate-themes solve the issue in my case so I guess the proper solution for the case in the question would be also to install the missing theme. The package xubuntu-icon-theme seems the best candidate to me as it provides files in /usr/share/icons/elementary-xfce-darker/*.

sudo apt install xubuntu-icon-theme
a1an
  • 213
  • 4
  • 8
2

Same problem on Ubuntu 18.04.6 LTS, headless server. In my case, I was still receiving warnings that the Yaru theme was missing. The following package fixed it for me:

sudo apt install adwaita-icon-theme-full
dgreene
  • 401