gtk-sni-tray-standalone command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gtk-sni-tray-standalone: command not found
or when using sudo you get the following error message
sudo: gtk-sni-tray-standalone: command not found
Solutions to gtk-sni-tray-standalone: command not found
How To Fix gtk-sni-tray-standalone: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gtk-sni-tray-standalone is provided by haskell-gtk-sni-tray-utils package.
haskell-gtk-sni-tray-utils is:
gtk-sni-tray provides a StatusNotifierHost widget written using the gtk+3 bindings for haskell provided by gi-gtk. It also provides a simple standalone executable, gtk-sni-tray-standalone, that is configured with command line arguments. This executable will run the aforementioned widget by itself in a strut window, on each monitor for each it is requested.
To fix this problem, we can install more using the command below.
sudo apt-get -y install haskell-gtk-sni-tray-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install haskell-gtk-sni-tray-utils.
sudo apt -y install haskell-gtk-sni-tray-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install haskell-gtk-sni-tray-utils
Summary
In this tutorial we learn how to fix gtk-sni-tray-standalone command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.