- install libgtk2.0-dev:
$ sudo apt install libgtk2.0-dev
- clone this repo:
$ git clone https://github.com/kyumdbot/rpd-brightness.git
- compile:
$ cd rpd-brightness
$ gcc `pkg-config --cflags --libs gtk+-2.0` rpd-brightness.c -o rpd-brightness
- run:
$ sudo ./rpd-brightness