i3lock-fancy command not found

In this troubleshooting guide we learn how to fix i3lock-fancy command not found error message

Introduction

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

i3lock-fancy: command not found

or when using sudo you get the following error message

sudo: i3lock-fancy: command not found

Solutions to i3lock-fancy: command not found

How To Fix i3lock-fancy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu i3lock-fancy is provided by i3lock-fancy package.

i3lock-fancy is:

i3lock bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text.

The current package pulls code from a branch called dualmonitors.

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

sudo apt-get -y install i3lock-fancy

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

You can also use apt command to install i3lock-fancy.

sudo apt -y install i3lock-fancy

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

sudo aptitude install i3lock-fancy

Summary

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