xfwm4-settings command not found

In this troubleshooting guide we learn how to fix xfwm4-settings command not found error message

Introduction

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

xfwm4-settings: command not found

or when using sudo you get the following error message

sudo: xfwm4-settings: command not found

Solutions to xfwm4-settings: command not found

How To Fix xfwm4-settings: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xfwm4-settings is provided by xfwm4 package.

xfwm4 is:

This package contains xfwm4 which is the window manager for Xfce4. It is designed to run with the rest of Xfce4 but makes a capable window manager for GNOME or KDE.

Install xfwm4 if you want a small, resource saving window manager which complies to the standards defined at http://www.freedesktop.org/. Without xfce4 installed this only gives you a window manager not the full environment.

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

sudo apt-get -y install xfwm4

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

You can also use apt command to install xfwm4.

sudo apt -y install xfwm4

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

sudo aptitude install xfwm4

Summary

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