metacity-theme-viewer command not found

In this troubleshooting guide we learn how to fix metacity-theme-viewer command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

metacity-theme-viewer: command not found

or when using sudo you get the following error message

sudo: metacity-theme-viewer: command not found

Solutions to metacity-theme-viewer: command not found

How To Fix metacity-theme-viewer: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu metacity-theme-viewer is provided by metacity package.

metacity is:

Metacity is a small window manager, using GTK to do everything.

As the author says, metacity is a “Boring window manager for the adult in you. Many window managers are like Marshmallow Froot Loops; Metacity is like Cheerios.”

This package contains the core binaries.

To fix this problem, we can install more using the command below.

sudo apt-get -y install metacity

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install metacity.

sudo apt -y install metacity

Or if you have aptitude installed you can use the following command.

sudo aptitude install metacity

Summary

In this tutorial we learn how to fix metacity-theme-viewer command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.