mate-wm command not found

In this troubleshooting guide we learn how to fix mate-wm command not found error message

Introduction

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

mate-wm: command not found

or when using sudo you get the following error message

sudo: mate-wm: command not found

Solutions to mate-wm: command not found

How To Fix mate-wm: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mate-wm is provided by mate-session-manager package.

mate-session-manager is:

This package contains a session that can be started from a display manager such as MDM. It will load all necessary applications for a full-featured user session.

The session manager also features the ability to save a running session and restore it later.

This version is configured to start the MATE desktop, based on the MATE panel.

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

sudo apt-get -y install mate-session-manager

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

You can also use apt command to install mate-session-manager.

sudo apt -y install mate-session-manager

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

sudo aptitude install mate-session-manager

Summary

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