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).
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)

Known problems:
   * brightness resets to maximum on login to MATE session (may be related to 
https://github.com/mate-desktop/mate-power-manager/issues/76)

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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1270579

Title:
  On laptops, screen brightness isn't memorized between sessions

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1270579/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to