touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #51946
[Bug 1270579] 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!
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1270579
Title:
On laptops, screen brightness isn't memorized between sessions
Status in elementary OS:
Confirmed
Status in One Hundred Papercuts:
Won't Fix
Status in The Linux Mint Distribution:
Confirmed
Status in Upstart:
Confirmed
Status in upstart package in Ubuntu:
Won't Fix
Bug description:
HOW TO REPRODUCE:
1. Boot a laptop.
2. Set a different screen brightness level.
3. Reboot.
RESULT:
Backlight is not memorized.
FIX:
Into the "Terminal" application, enter the following lines one by one:
- wget https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1270579/+attachment/4288756/+files/upstart_brightness.tar.gz
- sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness
- sudo tar -zxvf upstart_brightness.tar.gz -C /
- rm upstart_brightness.tar.gz
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: initscripts 2.88dsf-41ubuntu5
ProcVersionSignature: Ubuntu 3.13.0-4.19-generic 3.13.0-rc8
Uname: Linux 3.13.0-4-generic i686
ApportVersion: 2.13.1-0ubuntu1
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Jan 19 17:20:26 2014
InstallationDate: Installed on 2013-10-20 (91 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release i386 (20131016.1)
SourcePackage: sysvinit
UpgradeStatus: Upgraded to trusty on 2013-11-19 (61 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/elementaryos/+bug/1270579/+subscriptions