[SOLVED] Gtk-Message: Failed to load module “gnomenu-panel”

[ad#ad-1]I am using globalmenu 0.7.9 (Mac OS X like Global menu for Gnome) from the globalmenu-team PPA (Karmic as Lucid is not available now) in my Ubuntu 10.04 Lucid Lynx. I get the following error on terminal when I try to launch any gtk applications from the terminal:

Gtk-Message: Failed to load module "gnomenu-panel": libgnomenu-panel.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "globalmenu-gnome": libglobalmenu-gnome.so: cannot open shared object file: No such file or directory

However, the gnomemenu-panel works fine, I wanted these messages to not appear.
I opened up /usr/lib/gtk-2.0/modules and found that the plugin had different files than listed in the error message. To fix the problem, I just created symbolic links to the existing files. This is how I did it from the terminal:

cd /usr/lib/gtk-2.0/modules
sudo ln -s libglobalmenu-gnome-panel.so libglobalmenu-gnome.so
sudo ln -s libglobalmenu-gnome-panel.so libgnomenu-panel.so

and the messages are gone.

Hope this helps.

  • rez

    Thanks a lot! I wanted to install Lucid but I feared Globalmenu wouldn’t work as a version for 10.04 wasn’t in the PPA. Now I know what to do. Again, thanks.

  • Thanks, exactly what I was looking for!
    OT: I also had Murrine warnings similar to those from your last post, and was able to solve it now.
    In my case, it would *repeatedly* print
    /usr/share/themes/Bluman-Murrine/gtk-2.0/gtkrc:82: Murrine configuration option “hilight_ratio” will be deprecated in future releases. Please use “highlight_shade” instead.
    Replaced hilight_ratio with highlight_shade, simple enough.

    I subscribed to your feed, keep posting! 🙂

  • juan

    just what i needed to finish tuning my ubuntu lucid !
    nice blog ! thanks !

  • chihiro

    Watch out for 32/64-bit version of the system!
    Anyway, thanks for this solution!