记录2--ubuntu保存默认的亮度

来源:互联网 发布:淘宝淘口令在哪看 编辑:程序博客网 时间:2024/06/05 03:07
亮度保存: 
sudo vi /etc/rc.local

打开后内容:

#!/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.exit 0

插入这句话到exit 0的前面:


echo 20 > /sys/class/backlight/acpi_video0/brightness


0 0