Tags: { , , , , } Category: Software

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

Script that actually will do all the job:

enable JavaScript to see the code

raw code

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

Add keybindings to rc.xml:

enable JavaScript to see the code

raw code

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