mate-screensaver-command command not found

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

Introduction

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

mate-screensaver-command: command not found

or when using sudo you get the following error message

sudo: mate-screensaver-command: command not found

Solutions to mate-screensaver-command: command not found

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

In Ubuntu mate-screensaver-command is provided by mate-screensaver package.

mate-screensaver is:

mate-screensaver is a screen saver and locker that aims to have simple, sane and secure defaults, and be well integrated with the MATE desktop.

It is designed to support, among other things:

  • the ability to lock down configuration settings
  • translation into other languages
  • user switching

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

sudo apt-get -y install mate-screensaver

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

You can also use apt command to install mate-screensaver.

sudo apt -y install mate-screensaver

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

sudo aptitude install mate-screensaver

Summary

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