olpc-brightness command not found

In this troubleshooting guide we learn how to fix olpc-brightness command not found error message

Introduction

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

olpc-brightness: command not found

or when using sudo you get the following error message

sudo: olpc-brightness: command not found

Solutions to olpc-brightness: command not found

How To Fix olpc-brightness: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu olpc-brightness is provided by olpc-kbdshim package.

olpc-kbdshim is:

The olpc-kbdshim daemon is used to handle keyboard events on the somewhat unique OLPC XO hardware. It does this by monitoring the keyboard and touchpad, enabling the XO “grab” keys and touchpad rotation (to match screen rotation), and reporting user (in)activity. It can also bind the XO screen rotate, brightness, and volume keys to appropriate commands (which are provided).

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

sudo apt-get -y install olpc-kbdshim

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

You can also use apt command to install olpc-kbdshim.

sudo apt -y install olpc-kbdshim

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

sudo aptitude install olpc-kbdshim

Summary

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