pasystray command not found

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

Introduction

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

pasystray: command not found

or when using sudo you get the following error message

sudo: pasystray: command not found

Solutions to pasystray: command not found

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

In Ubuntu pasystray is provided by pasystray package.

pasystray is:

Pasystray enables control of various PulseAudio server settings from the X11 system tray. It can: * adjust the volume of streams and sinks/sources * transfer streams between sinks/sources * switch the default sink/source * set the default server (PULSE_SERVER) * detect network PulseAudio services * rename devices

The commands associated with the suggested dependencies (paman, paprefs, pavucontrol, and pavumeter) may be launched from the menu provided by pasystray. If a command is not available, that particular menu item is disabled. pulseaudio-module-zeroconf enables detection and management of network PulseAudio services.

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

sudo apt-get -y install pasystray

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

You can also use apt command to install pasystray.

sudo apt -y install pasystray

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

sudo aptitude install pasystray

Summary

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