nm-tray command not found

In this troubleshooting guide we learn how to fix nm-tray command not found error message

Introduction

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

nm-tray: command not found

or when using sudo you get the following error message

sudo: nm-tray: command not found

Solutions to nm-tray: command not found

How To Fix nm-tray: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nm-tray is provided by nm-tray package.

nm-tray is:

nm-tray is a simple NetworkManager front end with information icon residing in system tray (like e.g. nm-applet). It’s a pure Qt application. For interaction with NetworkManager it uses API provided by KF5::NetworkManagerQt -> plain DBus communication.

This package contain the application files.

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

sudo apt-get -y install nm-tray

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

You can also use apt command to install nm-tray.

sudo apt -y install nm-tray

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

sudo aptitude install nm-tray

Summary

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