The adjustment of the screen brightness with the keys F11 and F12 doesn’t work on my pi-top [1] with raspberry pi 4.
Is there a way to do this with the command line?
Any help appreciated!
The adjustment of the screen brightness with the keys F11 and F12 doesn’t work on my pi-top [1] with raspberry pi 4.
Is there a way to do this with the command line?
Any help appreciated!
With raspbian buster and the pi-top sdk installed, I’m able to control the display brightness with the pitop cli:
> pi-top display brightness 7
But keys don’t work either.
got keys working (raspbian buster) by editing
sudo nano /etc/xdg/openbox/lxde-pi-rc.xml
<!-- Keybindings for pitop -->
<keybind key="0xC6">
<action name="Execute">
<command>sh -c "if test -e /usr/bin/pi-top; then /usr/bin/pi-top display brightness -d; fi"</command>
</action>
</keybind>
<keybind key="0xC7">
<action name="Execute">
<command>sh -c "if test -e /usr/bin/pi-top; then /usr/bin/pi-top display brightness -i; fi"</command>
</action>
</keybind>