Comment 27 for bug 1270579

Revision history for this message
Jorge Juan (jjchico) wrote : Re: On laptops, screen brightness isn't memorized between sessions

I wrote a couple of upstart scripts to save and retore brightness between bootups. I hope the scripts are smart enough to run unmodified in any system with /sys/class/backlight.

You can find them at bitbucket with install instructions:

https://bitbucket.org/jjchico/upstart-brightness

Quick manual:

cd /etc/init
sudo wget https://bitbucket.org/jjchico/upstart-brightness/raw/d9a5d9484475eb1256d56c64b28e680a7aeae72c/brightness-store.conf
sudo wget https://bitbucket.org/jjchico/upstart-brightness/raw/d9a5d9484475eb1256d56c64b28e680a7aeae72c/brightness-restore.conf

Test reports and patches are wellcome (these are my first upstart scripts).

Enjoy!