xscreensaver-text command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xscreensaver-text: command not found
or when using sudo you get the following error message
sudo: xscreensaver-text: command not found
Solutions to xscreensaver-text: command not found
How To Fix xscreensaver-text: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xscreensaver-text is provided by xscreensaver-data package.
xscreensaver-data is:
XScreenSaver is a modular screen saver and locker for X11, containing more than 200 screen savers.
This package contains a small selection of graphical screen saver modules (listed below) from the xscreensaver collection. This package can be used by xscreensaver and also some other screensaver engines.
This is the selected set of non-GL screensavers shipped by default: abstractile, binaryring, cwaves, deco, distort, fiberlamp, fuzzyflakes, galaxy, hexadrop, m6502, metaballs, penrose, ripples, scooter, shadebobs, slidescreen, swirl, tessellimage, xlyap.
More display modes can be found in xscreensaver-data-extra, xscreensaver-gl and xscreensaver-gl-extra packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xscreensaver-data
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xscreensaver-data.
sudo apt -y install xscreensaver-data
Or if you have aptitude installed you can use the following command.
sudo aptitude install xscreensaver-data
Summary
In this tutorial we learn how to fix xscreensaver-text command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.