I have a laptop running Xubuntu 12.10 that doesn't save the brightness setting on reboot. There are some explanations on Ask Ubuntu about how to have a specific brightness be set on reboot, but not how to save the brightness from last time. How can this be done?
Create a Bash script to save the brightness:
It should contain this:
Make it executable:
Switch to the
Do this again in the
On a separate line just before the last line that's already there (