← Back to team overview

desktop-packages team mailing list archive

[Bug 1270579] Re: On laptops, screen brightness and keyboard backlight isn't memorized between sessions

 

some workaround:
to disable touchpad, add a line in .bashrc
gsettings set org.gnome.settings-daemon.peripherals.touchpad touchpad-enabled false

another way to adjust brightness:
1. cd /sys/class/backlight/$COM_backlight/
2. check  the value in the file: max_brightness  
3. sudo open the file:brightness and set it to [0, max-brightness), NOTE: MUST < max-brightness. 

for convinence, create a shell script, and sudo it.

#!/bin/bash
# NOTE: the prefer value MUST < max-brightness.
echo "you prefer value" > /sys/class/backlight/$COM_backlight/brightness

reference:
http://askubuntu.com/questions/540911/how-to-adjust-screen-brightness-in-ubuntu-14-04

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

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

Status in Dell Sputnik:
  New
Status in One Hundred Papercuts:
  Won't Fix
Status in Linux Mint:
  Confirmed
Status in upstart :
  Confirmed
Status in cinnamon-settings-daemon package in Ubuntu:
  Confirmed
Status in gnome-settings-daemon package in Ubuntu:
  Confirmed
Status in mate-settings-daemon package in Ubuntu:
  Confirmed
Status in upower package in Ubuntu:
  Confirmed
Status in upstart package in Ubuntu:
  Won't Fix

Bug description:
  HOW TO REPRODUCE:
    1. Boot a laptop.
    2. Set a different screen (or keyboard) backlight brightness level.
    3. Reboot.

  RESULT:
    Backlight is not memorized.

  FIX:
    A. For Ubuntu 12.04 LTS and 14.04 LTS install my package from PPA
      sudo add-apt-repository ppa:nrbrtx/sysvinit-backlight
      sudo apt-get update
      sudo apt-get install sysvinit-backlight

      NOTES:
      1. If you have installed previous non-deb version, please remove it carefully manually
        sudo rm /etc/rc?.d/?25backlight /etc/init.d/brightness /etc/rc?.d/?25brightness
      2. If you have installed previous version from my PPA on Ubuntu 14.04, please reinstall the package by:
        sudo apt-get purge sysvinit-backlight
        sudo apt-get install sysvinit-backlight
      3. Version 0.1ubuntu1 supports save/restore of keyboard backlight too.

    B. Ubuntu 14.10 is near EOL (really in July 2015), so users should upgrade it to Ubuntu 15.04 (see C below).
       My script seems to be incompatible with this Ubuntu version - remove it with
        sudo apt-get purge sysvinit-backlight
        sudo add-apt-repository -r ppa:nrbrtx/sysvinit-backlight

    C. Ubuntu 15.04 has systemd-backlight@.service. It saves and restores screen and keyboard backlight levels.
       My script is incompatible with this Ubuntu version.

  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/dell-sputnik/+bug/1270579/+subscriptions


Follow ups