bluemon-query command not found

In this troubleshooting guide we learn how to fix bluemon-query command not found error message

Introduction

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

bluemon-query: command not found

or when using sudo you get the following error message

sudo: bluemon-query: command not found

Solutions to bluemon-query: command not found

How To Fix bluemon-query: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bluemon-query is provided by bluemon package.

bluemon is:

BlueMon monitors the quality of the link to a Bluetooth device and can start or stop programs when the threshold drops below a certain value. This can be used to perform actions like locking the terminal when you walk away from it.

Bluemon uses the DBus system bus to alert other applications to the presence of Bluetooth devices. A user binary can then start or stop programs when such signals are received.

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

sudo apt-get -y install bluemon

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

You can also use apt command to install bluemon.

sudo apt -y install bluemon

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

sudo aptitude install bluemon

Summary

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