compiz-decorator command not found

In this troubleshooting guide we learn how to fix compiz-decorator command not found error message

Introduction

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

compiz-decorator: command not found

or when using sudo you get the following error message

sudo: compiz-decorator: command not found

Solutions to compiz-decorator: command not found

How To Fix compiz-decorator: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu compiz-decorator is provided by compiz-core package.

compiz-core is:

Compiz brings to life a variety of visual effects that make the Linux desktop easier to use, more powerful and intuitive, and more accessible for users with special needs.

Compiz combines together a window manager and a composite manager using OpenGL for rendering. A “window manager” allows the manipulation of the multiple applications and dialog windows that are presented on the screen. A “composite manager” allows windows and other graphics to be combined together to create composite images. Compiz achieves its stunning effects by doing both of these functions.

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

sudo apt-get -y install compiz-core

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

You can also use apt command to install compiz-core.

sudo apt -y install compiz-core

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

sudo aptitude install compiz-core

Summary

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