Fix Gtk-Message: Failed to Load Module ‘overlay-scrollbar’

command linegtkxubuntu

I am using Xubuntu 14.04 (Ubuntu + xubuntu-desktop), The following Message shown many times (such as executing mousepad , zenity etc).

$ mousepad
Gtk-Message: Failed to load module "overlay-scrollbar"
pandya@pandya-desktop:~$ zenity --info
Gtk-Message: Failed to load module "overlay-scrollbar"

Why I am getting this message? How to solve?

Best Answer

After installing xubuntu-desktop, I've removed some packages that are pre-installed in Ubuntu 14.04 (and no longer required) by this command.

These packages removed successfully and all working fine but some residual config are still exist and hence I removed unity-scrollbar from synaptic residual config:

enter image description here

Which removed files like: /etc/X11/Xsession.d/81overlay-scrollbar.

After logout and login I again tried to launch by command as below:

$ mousepad
$ zenity --info

Now Gtk-Message: Failed to load module "overlay-scrollbar" is gone, and problem solved.