alltray command not found

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

Introduction

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

alltray: command not found

or when using sudo you get the following error message

sudo: alltray: command not found

Solutions to alltray: command not found

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

In Ubuntu alltray is provided by alltray package.

alltray is:

With AllTray you can dock any application with no native tray icon (like Evolution, Thunderbird, Terminals) into the system tray. A high-light feature is that a click on the “close” button will minimize back to system tray. It works well with GNOME, KDE, Xfce 4*, Fluxbox* and WindowMaker*. (*) No drag ’n drop support. Enable with “-nm” option.

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

sudo apt-get -y install alltray

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

You can also use apt command to install alltray.

sudo apt -y install alltray

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

sudo aptitude install alltray

Summary

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