Ubuntu 14 保存屏幕亮度解决方法
来源:互联网 发布:向大大内衣淘宝网真假 编辑:程序博客网 时间:2024/05/02 01:26
Ubuntu 14 LTS不能自动保存亮度:每次登陆、解锁后,都是最大亮度,非常讨厌!
1、打开终端,输入命令查看本机支持的最大亮度值
cat /sys/class/backlight/acpi_video0/max_brightness
我的笔记本支持最大亮度为100
kashu@ubuntu:~$ cat /sys/class/backlight/acpi_video0/max_brightness
100
2、编辑这个文件
sudo gedit /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
插入这句话到代码中:
echo 100 > /sys/class/backlight/acpi_video0/brightness
就像我下面的一样:
kashu@ubuntu:~$ 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 100 > /sys/class/backlight/acpi_video0/brightness
exit 0
其中echo 后面的值为0-100,对应为0到100%,如echo 50表示一半亮度
3、保存后退出,重启就可以了
0 0
- Ubuntu 14 保存屏幕亮度解决方法
- ubuntu 12.04保存屏幕亮度解决方法
- Ubuntu 12.04保存屏幕亮度解决方法
- ubuntu PC屏幕亮度保存(背光亮度)
- ubuntu系统屏幕亮度不能保存问题
- 让Ubuntu 14.04“保存”屏幕亮度值
- 让Ubuntu 14.04“保存”屏幕亮度值
- fedora15保存屏幕亮度
- 圆满解决Ubuntu 12.04屏幕亮度不能保存的问题
- 解决 Ubuntu 12.04 LTS 保存屏幕亮度的问题
- 解决Ubuntu无法保存屏幕亮度调节的办法
- 解决ubuntu无法调整和保存屏幕亮度的问题
- 解决ubuntu无法调整和保存屏幕亮度的问题
- 解决ubuntu无法调整和保存屏幕亮度的问题
- 解决ubuntu无法调整和保存屏幕亮度的问题
- Ubuntu 屏幕亮度设置
- Ubuntu修改屏幕亮度
- ubuntu调节屏幕亮度
- Free Popular slot machine & casino games
- 关于树莓派,frambuf开启 pdf 的方法
- 头像圆形
- 习近平在规划未来30年
- ProjectEuler - 9
- Ubuntu 14 保存屏幕亮度解决方法
- 反渗透设备:双级反渗透设备基本概述及系统应用
- 第十二周项目一阅读程序(3)①
- USB描述符介绍
- 网页时间的应用
- Python中操作myslq的方法
- wegwegweg
- c++源文件 不同后缀(.cc .cpp .C .cp)的区别
- 第十二周项目2(求N组数的最大公约数)