linusg / rpi-backlight

🔆 A Python module for controlling power and brightness of the official Raspberry Pi 7" touch display
https://rpi-backlight.readthedocs.io
MIT License
276 stars 32 forks source link

-bash: rpi-backlight: command not found #37

Closed Marco-exports closed 3 years ago

Marco-exports commented 3 years ago

When typing this:

pi@DALI:~ $ rpi-backlight --get-power

I get this error:

-bash: rpi-backlight: command not found

How can I run this from any directory ?

linusg commented 3 years ago

Add the install directory, presumably ~/.local/bin, to the shell's $PATH.

Marco-exports commented 3 years ago

Your short answers leave me completely confused !!!

I followed your instruction manuals, but have no idea where these errors are coming from. I wish you would do a better set of instructions, as I cannot figure out anything you are saying now.