xfdesktop command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xfdesktop: command not found
or when using sudo you get the following error message
sudo: xfdesktop: command not found
Solutions to xfdesktop: command not found
How To Fix xfdesktop: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xfdesktop is provided by xfdesktop4 package.
xfdesktop4 is:
xfdesktop4 sets the background image, provides a right-click menu to launch applications and can optionally show files (including application launchers) or iconified windows. It includes gradient support for background color, saturation support for background image, real multiscreen and xinerama support.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xfdesktop4
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xfdesktop4.
sudo apt -y install xfdesktop4
Or if you have aptitude installed you can use the following command.
sudo aptitude install xfdesktop4
Summary
In this tutorial we learn how to fix xfdesktop command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.