kscreen-doctor command not found

In this troubleshooting guide we learn how to fix kscreen-doctor command not found error message

Introduction

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

kscreen-doctor: command not found

or when using sudo you get the following error message

sudo: kscreen-doctor: command not found

Solutions to kscreen-doctor: command not found

How To Fix kscreen-doctor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kscreen-doctor is provided by libkf5screen-bin package.

libkf5screen-bin is:

The KDE multiple monitor support is trying be as smart as possible adapting the behavior of it to each use case making the configuration of monitors as simple as plugging them to your computer.

This package contains the library helpers and the corresponding D-Bus service.

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

sudo apt-get -y install libkf5screen-bin

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

You can also use apt command to install libkf5screen-bin.

sudo apt -y install libkf5screen-bin

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

sudo aptitude install libkf5screen-bin

Summary

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