Tags: { , , , , } Category: Software

We will be using KDE’s Powerdevil so the first thing we want to do is adding it to autostart.sh: qdbus org.kde.kded5 /kded org.kde.kded5.loadModule powerdevil &

Script that actually will do the job:

raw code

Save it as /opt/bin/backlight. Don’t forget to make it executable.

Add keybindings to rc.xml:

raw code

That’s it. Restart your Openbox and ensure that everything works just fine.