ubuntu 14.10怎么保存屏幕亮度

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

ubuntu 14.10怎么保存屏幕亮度

#1

帖子 KOSKERS » 2014-10-04 21:38

#!/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.
sudo echo 490 > /sys/class/backlight/intel_backlight/actual_brightness;
exit 0


不管加不加sudo都没用。
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: ubuntu 14.10怎么保存屏幕亮度

#2

帖子 qy117121 » 2014-10-04 23:12

cat /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.
echo 45 > /sys/class/backlight/acpi_video0/brightness
echo 2431 > /sys/class/backlight/intel_backlight/brightness

exit 0


好吧,我这是14.04
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 chuan@ubuntu.org.cn
头像
KOSKERS
帖子: 1454
注册时间: 2008-11-01 13:38

Re: ubuntu 14.10怎么保存屏幕亮度

#3

帖子 KOSKERS » 2014-10-05 17:22

qy117121, 事了你的方法可以了。O(∩_∩)O谢谢
有用Telegram的吗?
欢迎加入公共群组:
https://t.me/joinchat/AAAAAApBLdk7AGFEeQo0fQ
回复