xwallpaper command not found

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

Introduction

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

xwallpaper: command not found

or when using sudo you get the following error message

sudo: xwallpaper: command not found

Solutions to xwallpaper: command not found

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

In Ubuntu xwallpaper is provided by xwallpaper package.

xwallpaper is:

The xwallpaper utility allows you to set image files as your X wallpaper. JPEG, PNG, and XPM file formats are supported, all of them being configurable and therefore no fixed dependencies.

The wallpaper is also advertised to programs which support semi-transparent backgrounds.

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

sudo apt-get -y install xwallpaper

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

You can also use apt command to install xwallpaper.

sudo apt -y install xwallpaper

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

sudo aptitude install xwallpaper

Summary

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