As you can read from bug description, I created Ubuntu package for saving and restoring backlight (brightness) level on laptops.
This package installs one file - "/etc/init.d/sysvinit-backlight" (sysvinit script).
You can install my package from PPA with the commands below:
sudo add-apt-repository ppa:nrbrtx/sysvinit-backlight
sudo apt-get update
sudo apt-get install sysvinit-backlight
You can remove it by
sudo apt-get purge sysvinit-backlight
Please note: if you have installed the previous version of my script, please remove it by
sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness /etc/rc?.d/?25brightness
The script functionality is:
* save backlight (brightness) levels of all video adapters on reboot and shutdown (runlevel 0 and 6)
* load backlight (brightness) levels for all video adapters on boot (runlevel S and 2)
* this version supports hybrid graphics
The script options are:
* sudo service sysvinit-backlight status (show current brightness levels and saved in files values)
* sudo service sysvinit-backlight start (set saved level from files)
* sudo service sysvinit-backlight stop (save current level to files)
Dear all!
As you can read from bug description, I created Ubuntu package for saving and restoring backlight (brightness) level on laptops.
This package installs one file - "/etc/init. d/sysvinit- backlight" (sysvinit script). sysvinit- backlight
You can install my package from PPA with the commands below:
sudo add-apt-repository ppa:nrbrtx/
sudo apt-get update
sudo apt-get install sysvinit-backlight
You can remove it by
sudo apt-get purge sysvinit-backlight
Please note: if you have installed the previous version of my script, please remove it by .d/?25backlight /etc/init. d/brightness /etc/rc? .d/?25brightnes s
sudo rm /etc/rc?
The script functionality is:
* save backlight (brightness) levels of all video adapters on reboot and shutdown (runlevel 0 and 6)
* load backlight (brightness) levels for all video adapters on boot (runlevel S and 2)
* this version supports hybrid graphics
The script options are:
* sudo service sysvinit-backlight status (show current brightness levels and saved in files values)
* sudo service sysvinit-backlight start (set saved level from files)
* sudo service sysvinit-backlight stop (save current level to files)
Known problems: /github. com/mate- desktop/ mate-power- manager/ issues/ 76)
* brightness resets to maximum on login to MATE session (may be related to https:/
Changes:
I removed all bashisms and made code more clear - thanks to Andreas Mohr (andi).
I tested my package on Ubuntu 12.04.5 LTS, 14.04.2 LTS and Ubuntu 14.10.