2011年12月1日星期四

How to Permanently Save Screen Brightness in Fedora 16

For Fedora 15, there is an entry in dconf-editor that will do the trick (system setting GUI can never do it permanently, shame on it). But in Fedora 16 that entry is no longer there. After googling there seem to be 2 possible solutions.


  1. Change the value in /sys/class/backlight/acpi_video0/brightness each time OS boots.
    1. Create /etc/rc.d/rc.local (Fedora no longer ships it since release 16).
    2. Edit the file so that it looks like this.
    3. $ cat /etc/rc.d/rc.local
      #!/bin/bash
      echo 7 > /sys/class/backlight/acpi_video0/brightness
    4. Make /etc/rc.d/rc.local executable.
    5. $ sudo chmod a+x /etc/rc.d/rc.local
  2. Add kernel parameter (to be investigated).

没有评论:

发表评论