kwin command not found

In this troubleshooting guide we learn how to fix kwin command not found error message

Introduction

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

kwin: command not found

or when using sudo you get the following error message

sudo: kwin: command not found

Solutions to kwin: command not found

How To Fix kwin: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kwin is provided by kwin-x11 package.

kwin-x11 is:

KWin (pronounced as one syllable “kwin”) is the window manager for the KDE Plasma Desktop. It gives you complete control over your windows, making sure they’re not in the way but aid you in your task. It paints the window decoration, the bar on top of every window with (configurable) buttons like close, maximize and minimize. It also handles placing of windows and switching between them.

This package is part of the KDE base workspace module.

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

sudo apt-get -y install kwin-x11

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

You can also use apt command to install kwin-x11.

sudo apt -y install kwin-x11

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

sudo aptitude install kwin-x11

Summary

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