"Failed to load module "unity-gtk-module" [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
cecilieaux
Level 5
Level 5
Posts: 552
Joined: Mon Dec 09, 2013 9:43 am
Location: Washington, D.C.

"Failed to load module "unity-gtk-module" [SOLVED]

Post by cecilieaux » Wed Jul 11, 2018 7:05 pm

I watch the various unpacking, triggering and other messages when I use Update Manager and I have noticed that I frequently get something like this

Code: Select all

Gtk-Message **: Failed to load module "unity-gtk-module" at /usr/lib/x86_64-linux-gnu/perl5/5.22/Gtk2.pm line 126
I know that Unity is the Ubuntu desktop gadget that drove me to Linux Mint, but that now has been abandoned. Why would this be a problem in Mint?
Last edited by cecilieaux on Fri Jul 20, 2018 12:48 pm, edited 1 time in total.
Every time I think I'm past newbiedom something like this happens.
Linux Mint 19.2 Tina 64-bit

smokinmoe
Level 1
Level 1
Posts: 19
Joined: Thu Oct 05, 2017 4:15 am
Location: Perth, Western Australia

Re: "Failed to load module "unity-gtk-module"

Post by smokinmoe » Wed Jul 18, 2018 1:22 am

Have you checked that your Software Sources and that they're ok and correct for your version of Mint?
You'll need to provide more information to get help => READ: How To Get Help!

darsh
Level 1
Level 1
Posts: 22
Joined: Fri Dec 08, 2017 7:47 pm
Location: U.S.A.

Re: "Failed to load module "unity-gtk-module"

Post by darsh » Wed Jul 18, 2018 2:28 am

Linux Mint is based on Ubuntu Linux, but you may not have to worry as Mint may only use some unity components for some things, to a lesser degree or in a different manner than Ubuntu.

I also watch the Update Manager's details and have noticed a multitude of llll-ubuntu-####'s.

Unless the problem is with your computer itself, that would explain why you have the issue both places.

That component is used by something(s) to do something(s), it may or may not affect you significantly/notably, depending on your preferences.

If you want to fix it, I would try a simple

sudo apt-get install unity-gtk-module

which is an approach that can work sometimes. Or

sudo apt-get install --reinstall unity-gtk-module

if after attempting to install it the terminal informs you that it is installed already.

Sometimes you have to manually move files to where they want it also.

Good luck.
Last edited by darsh on Wed Jul 18, 2018 1:30 pm, edited 1 time in total.
Linux Mint 19 Cinnamon 64-bit user

cecilieaux
Level 5
Level 5
Posts: 552
Joined: Mon Dec 09, 2013 9:43 am
Location: Washington, D.C.

Re: "Failed to load module "unity-gtk-module"

Post by cecilieaux » Wed Jul 18, 2018 10:29 am

Here's what happened:

Code: Select all

~ $ sudo apt-get install unity-gtk-module
[sudo] password for user: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package unity-gtk-module
~ $ 
So I'm guessing I don't have the right software sources. (I have never been happy with 18; I am preparing for 19.)
Every time I think I'm past newbiedom something like this happens.
Linux Mint 19.2 Tina 64-bit

darsh
Level 1
Level 1
Posts: 22
Joined: Fri Dec 08, 2017 7:47 pm
Location: U.S.A.

Re: "Failed to load module "unity-gtk-module"

Post by darsh » Wed Jul 18, 2018 1:44 pm

I wonder if this would work: https://community.linuxmint.com/softwar ... ule-common

The 'install' button for 'unity-gtk-module-common.' (Or perhaps apt-get install would've worked but the package name we want (unity-gtk-module-common) didn't match the component name we entered (unity-gtk-module).)

It may still require you put the file in the directory it looked for it at, ideally not though.

If you don't need it for anything you can think of, I would ignore it. Most systems have something that doesn't work, on any OS or version of it. And we don't always notice.

But I do recommend 19, even if they are still hashing out a few things it's a big step up from 18.3 in terms of graphics, a few neat features added, and I got some added compatibility out of it, so you may also. (Sometimes it's a new computer that suddenly makes everything works.)

I like your signature by the way, the 'just when I think I'm out of newbiedom, this happiness.' I develop web and computer applications and switched my main OS to Linux Mint a year or two ago and do a lot of technical things and have learned so much from a lot of things I wanted or had to do, the benefit to these problems is we learn more fixing them, and yet I still occasionally encounter a confusing problem or messing something up. I fix so many computers, and then break mine. Lol.

Most of what I'm sharing as advice is stuff that makes sense in principle and has worked on occasion for me, I get things right, or close to it, a little over half the time, but I apologies if the end conclusion of my assistance, an attempt to learn with you, doesn't yield the desired results. Sometimes just messing around with things bouncing ideas off others you end up figuring something out yourself, too. But if not, ideally someone more aware would ride in at some point as a night in shining armor.
Linux Mint 19 Cinnamon 64-bit user

gm10
Level 18
Level 18
Posts: 8726
Joined: Thu Jun 21, 2018 5:11 pm

Re: "Failed to load module "unity-gtk-module"

Post by gm10 » Wed Jul 18, 2018 2:10 pm

cecilieaux wrote:
Wed Jul 18, 2018 10:29 am
So I'm guessing I don't have the right software sources. (I have never been happy with 18; I am preparing for 19.)
unity-gtk-module does not exist by default on Mint nor is it needed. The error message is coming from a perl5 module, which is also not installed by default. Basically you installed some software that's causing the problems. If you want to install the unity module regardless, the package to install would be unity-gtk2-module or unity-gtk3-module.

If you go for Mint 19, please make it a clean install, otherwise you are likely to retain the problems of your existing install.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

cecilieaux
Level 5
Level 5
Posts: 552
Joined: Mon Dec 09, 2013 9:43 am
Location: Washington, D.C.

Re: "Failed to load module "unity-gtk-module"

Post by cecilieaux » Fri Jul 20, 2018 12:48 pm

There was a much simpler solution. I was missing

Code: Select all

-common
I'd typed:

Code: Select all

sudo apt-get install unity-gtk-module
instead of

Code: Select all

sudo apt-get install unity-gtk-module-common
In my defense, the

Code: Select all

-common
was missing from the original suggestion. Happens in the best families.

With the complete name, it worked! Thank you all!!!!
Every time I think I'm past newbiedom something like this happens.
Linux Mint 19.2 Tina 64-bit

Post Reply

Return to “Newbie Questions”