50

I recently added the the Macbuntu theme in my Ubuntu 16.04 from the site [Noobslab][1], In am learning GTK+ for Python too (PyGTK), earlier when I ran the test programs I made run quietly without showing any error in stderr stream but after I installed the theme, I am getting a warning

(radio_button.py:6696): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(radio_button.py:6696): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

For example when I ran the script of radio_button.py.

I want to fix this error, without uninstalling the theme.

David Foerster
  • 35,754
  • 55
  • 92
  • 145
Nimit Bhardwaj
  • 601
  • 1
  • 6
  • 11
  • 1
    Is the Macbuntu theme compatible with the gtk3 version in 16.04 (3.18)? Does it need an engine? Does your system have the appropriate engine? – DK Bose May 20 '16 at 01:21
  • [This SE page](https://stackoverflow.com/q/21007052/4575793) could be related/cross-site-duplicated – Cadoiz Sep 21 '22 at 09:13

2 Answers2

78

I had the same issue

sudo apt install gnome-themes-standard

Fixed the issue.

ryanpattison
  • 881
  • 5
  • 7
  • 1
    Thanks. I wasn't getting any explicit error, but some Gnome programs were looking like old X apps on my fresh Ubuntu install when using the default "Adwaita" theme, and this fixed it. – Cerin Mar 26 '18 at 18:02
  • 7
    Doesn't fix it for me. – Carlo Wood Apr 23 '20 at 15:11
5

In order to remove this warning (you can live with it, it is not causing any problem) the solution above did not worked for me. I had to, on top of installing gnome-themes-standard, do the following: $ sudo apt-get install gnome-themes-extra gnome-themes-extra:i386

In my case was the 32 bit architecture version that did the trick.

AlSavi
  • 59
  • 1
  • 2