As you can remember I tried to fix the problem by myself - I created first version of an init script for saving and restoring backlight level (on 10 Dec 2012 - two years ago).
It had one disadvantage - it operates only when laptop has one graphical adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
So today I present new version of a script - it can save and restore backlight levels of all graphical, adaptors, which are found in `/sys/class/backlight/*`.
The init script with symlink are packed to archive (see attachment).
If you have installed its previous version (see comment #15) - you can remove its files with commands:
sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
then extract new version with commands:
sudo tar -zxvf upstart_brightness.tar.gz -C /
I hope my script will help somebody.
Thanks for testing!
Dear all!
According to the list of duplicates and bug heat this bug/feature request is very important.
As you know laptop market share is gigantic (see for example http:// www.statista. com/statistics/ 276772/ ultrabook- share-of- global- notebook- market- since-2011/ for stats).
Also Ubuntu and Debian market share are increasing.
So I can't believe why this usability fault exists in Ubuntu (and Debian) for years. /github. com/systemd/ systemd/ commits/ 56f64d95763a799 ba4475daf44d8e9 f72a1bd474/ src/backlight/ backlight. c ), but `upstart` and `sysvinit` developers not.
It seems that guys from `systemd` understand the problem correctly (sooner or later - on 14 Aug 2013, see https:/
As you can remember I tried to fix the problem by myself - I created first version of an init script for saving and restoring backlight level (on 10 Dec 2012 - two years ago). backlight/ *`. .d/?25backlight /etc/init. d/brightness brightness. tar.gz -C /
It had one disadvantage - it operates only when laptop has one graphical adaptor and its name was hardcoded to the script (*acpi_video0* in my case).
So today I present new version of a script - it can save and restore backlight levels of all graphical, adaptors, which are found in `/sys/class/
The init script with symlink are packed to archive (see attachment).
If you have installed its previous version (see comment #15) - you can remove its files with commands:
sudo rm /etc/rc?
then extract new version with commands:
sudo tar -zxvf upstart_
I hope my script will help somebody.
Thanks for testing!