Gtk-Message: Failed to load module "overlay-scrollbar"
Solution 1
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:
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.
Solution 2
$ sudo apt install --reinstall overlay-scrollbar-gtk2
Fixed this for me.
It reinstalls
/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/liboverlay-scrollbar.so
which was missing before.
Related videos on Youtube
![Pandya](https://i.stack.imgur.com/XpD4D.jpg?s=256&g=1)
Pandya
Started using Linux and StackExchange since Ubuntu 12.04 LTS. Then Upgraded to 14.04 LTS. Now I am using Debian GNU/Linux on my Laptop and PureOS on old Desktop computer. I recommend visiting the Philosophy of GNU Project As I've replaced Ubuntu with Debian GNU/Linux, Now my question(s) are became off-topic on AskUbuntu. So, I continue to Unix & Linux. The second reason for my shifting to U & L is I found U & L more interesting than AU since AU is only Ubuntu specific whereas U & L is a broad concept and in my opinion U & L deserves generic questions. (I know why SE has AU & U & L both).
Updated on September 18, 2022Comments
-
Pandya almost 2 years
I am using Xubuntu 14.04 (Ubuntu +
xubuntu-desktop
), The following Message shown many times (such as executingmousepad
,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?
-
Pandya over 9 yearsFor clearing all residual config, Visit : askubuntu.com/a/540173/256099
-
Halsafar about 7 yearsI just manually removed /etc/X11/Xsession.d/81overlay-scrollbar and relogged. The warning went away. Thanks.
-
Alexander Pozdneev almost 7 yearsThis is an another correct way to clean-up the residual configuration:
sudo dpkg --purge overlay-scrollbar overlay-scrollbar-gtk2:amd64 overlay-scrollbar-gtk3:amd64
-
Alexander Pozdneev almost 7 yearsBTW, technically, the message is related to the
GTK_MODULES=overlay-scrollbar
environment variable that is set in the/etc/X11/Xsession.d/81overlay-scrollbar
file. -
Bruno Ranschaert over 6 yearsBut how did you associate the error message with the residual package? That is a mystery to me!