ubuntu12.04不能保存亮度的解决
修改/etc/rc.local,在exit 0之前添加一行:
echo 16 /sys/class/backlight/acpi_video0/brightness
16代表亮度参数,可以根据自己需要修改,
---------针对小白--------
ctrl+alt+t 打开命令终端
输入:sudo gedit /etc/rc.local (然后输入密码)
将一下代码粘贴到 exit 0 之前,OK
echo 6 > /sys/class/backlight/acpi_video0/brightness
# 效果如下:
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. echo 6 > /sys/class/backlight/acpi_video0/brightness exit 0