Zhixian's Tech Blog


How to fix “topmenu-gtk-module” error in Ubuntu 18.04 LTS

Filed under: computing, ubuntu — Tags: , , , — Zhixian @ 10:09:06 am


This blog post is a quick note to myself explaining how I fix the ‘Failed to load module “topmenu-gtk-module’ error message from displaying.


Sometimes when launching an application in Linux you may come across an error message that reads:

Gtk-Message: 09:24:00.567: Failed to load module “topmenu-gtk-module”


You are most likely to see this error when you try to launch a desktop application from the command-line.

This error message appears because your operating system is probably missing required packages, specifically “topmenu-gtk3” or “topmenu-gtk2”.

However if you are on Ubuntu 18.04 LTS, you will find that you could not install these packages using “apt-get” command-line tool, simply because they are not available. The latest of these packages are only available on Xenial or Artful. šŸ˜¦


During the upgrade from Xenial to Bionic, the installation process disables all other PPAs.
Here are a few examples:


While its possible to fix this issue by downloading and compiling the source files for these packages, being of a lazy nature I decide against to do that. Instead what I chose to do is intentionally add the Xenial package repository back into my list of “Software & Updates”.

deb http://sg.archive.ubuntu.com/ubuntu/ubuntu xenial main universe


After I added that back in, it should prompt you to update your list of packages.
If it did not, run:

sudo apt-get update

After the command-line have finish running, you can install “topmenu-gtk2” and/or “topmenu-gtk3”.

sudo apt-get install topmenu-gtk3

sudo apt-get install topmenu-gtk2

I tried install “topmenu-gtk3” first. But that did not get rid of the message. So I went on to install “topmenu-gtk2”.

After the packages finished installing, you should not see the error message when you run your desktop application from the command-line.


How to install Mate 1.8.1 onto Ubuntu (Trusty Tahr)

Filed under: computing — Tags: , , , , , , , — Zhixian @ 20:50:11 pm

This blog post is about my installation of Mate 1.8.1Ā onto Trusty Tahr.


Adding needed repositories

sudo apt-add-repository ppa:ubuntu-mate-dev/ppa

sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate

Update apt-get

sudo apt-get update

sudo apt-get upgrade


sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop

Screen dumps

Installation involves entering the following commands in a terminal session:

1. Adding neededĀ repositories

At the command-line:

  1. sudo apt-add-repository ppa:ubuntu-mate-dev/ppa

    zhixian@SARA: ~_001

  2. sudo apt-add-repository ppa:ubuntu-mate-dev/trusty-mate

    zhixian@SARA: ~_002

    zhixian@SARA: ~_004

2. Update apt-get

This is done by running the following commands:

  1. sudo apt-get update

    zhixian@SARA: ~_005

    zhixian@SARA: ~_006

  2. sudo apt-get upgrade

    zhixian@SARA: ~_007

    zhixian@SARA: ~_008

3. Install packages

This is done by running the following commands.
This step will take some time as it will need to download around 125MB worth of content toĀ install.

  1. sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop

    zhixian@SARA: ~_009

    zhixian@SARA: ~_010

Create a free website or blog at WordPress.com.