I managed to solve the problem in a much cleaner way.
I tried to create a custom xorg.conf file with the following content but
my system didn't boot.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight" # use your backlight
** Changed in: linux (Ubuntu)
Importance: Medium => Low
** Changed in: linux (Ubuntu)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1069144
Title:
[Toshiba Sa
** Attachment added: "Script to reduce brightness"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1069144/+attachment/3896676/+files/dec_br.sh
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/10
For the time being I am using the following workaround:
1. Created two scripts to increase and decrease the brightness (see
attachments).
2. I put them in a folder under home and made them executable.
3. Added the following line before the exit line in /etc/rc.local
chmod 646 /sys/class/backligh