Ubuntu笔记本屏幕亮度调节问题
2013-11-09 12:33
302 查看
调节亮度
sudo vim /etc/X11/xorg.conf
加一句:Option "RegistryDwords" "EnableBrightnessControl=1"
保存亮度
1、解决reboot后无法保存屏幕亮度:
sudo gedit /etc/rc.local
插入这句话到代码中:
echo 0 > /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 0 > /sys/class/backlight/acpi_video0/brightness
exit 0
其中echo 后面的值为0-10,对应为0到100%,如echo 5表示一半亮度
保存后退出,重启就可以了。
注意:大多数人都是acpi_video0,根据自己/sys/class/backlight/下面文件决定
2、亮度调节
亮度调节依赖与你的bios和内核版本,你可以尝试以下代码:
kernel boot选项:
当你启动系统时,出现在grup的屏幕时,按e键进行编辑,在kernel这一行添加:
nomodeset acpi_backlight=vendor
注意:有些硬件可能会是不同的选项.
Intel - nomodeset acpi_backlight=intel Acer - acpi_backlight=acer_acpi or even acpi_osi=Linux acpi_backlight=legacy.
我的电脑是acer 4830tg,我直接写的=vendor也是同样可以正常工作,你也可以通过google去查找你要设置的选项。
quiet splash nomodeset acpi_backlight=vendor
退出启动,如果能正常启动,就把这项选项添加到默认的选项中,编辑文件 /etc/default/grub
# command line
sudo -e /etc/default/grub
# graphical
gksu gedit /etc/default/grub
把这一行改成如下:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_backlight=vendor"
保存,更新grup
sudo update-grub
sudo vim /etc/X11/xorg.conf
加一句:Option "RegistryDwords" "EnableBrightnessControl=1"
保存亮度
1、解决reboot后无法保存屏幕亮度:
sudo gedit /etc/rc.local
插入这句话到代码中:
echo 0 > /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 0 > /sys/class/backlight/acpi_video0/brightness
exit 0
其中echo 后面的值为0-10,对应为0到100%,如echo 5表示一半亮度
保存后退出,重启就可以了。
注意:大多数人都是acpi_video0,根据自己/sys/class/backlight/下面文件决定
2、亮度调节
亮度调节依赖与你的bios和内核版本,你可以尝试以下代码:
kernel boot选项:
当你启动系统时,出现在grup的屏幕时,按e键进行编辑,在kernel这一行添加:
nomodeset acpi_backlight=vendor
注意:有些硬件可能会是不同的选项.
Intel - nomodeset acpi_backlight=intel Acer - acpi_backlight=acer_acpi or even acpi_osi=Linux acpi_backlight=legacy.
我的电脑是acer 4830tg,我直接写的=vendor也是同样可以正常工作,你也可以通过google去查找你要设置的选项。
quiet splash nomodeset acpi_backlight=vendor
退出启动,如果能正常启动,就把这项选项添加到默认的选项中,编辑文件 /etc/default/grub
# command line
sudo -e /etc/default/grub
# graphical
gksu gedit /etc/default/grub
把这一行改成如下:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_backlight=vendor"
保存,更新grup
sudo update-grub
相关文章推荐
- 解决笔记本 Ubuntu 无法调节屏幕亮度的问题
- 解决Intel Nvidia双显卡笔记本电脑在Ubuntu、Mint下无法用Fn键调节屏幕亮度的问题
- 解决Ubuntu笔记本屏幕亮度调节问题
- linux 解决笔记本不能调节屏幕亮度问题
- 解决 Ubuntu 14.04 无法调节屏幕亮度以及开机后保持上一次亮度的问题
- 解决 Ubuntu 12.04 无法调节屏幕亮度的问题
- ubuntu屏幕亮度无法调节的问题
- Ubuntu 16.04解决笔记本屏幕亮度设置无法保存的问题
- 解决 Ubuntu 14.04 无法调节屏幕亮度的问题
- ubuntu的xfce4桌面环境下不能键盘快捷键调节屏幕亮度的问题
- 解决 Ubuntu 13.04 下 无法调节屏幕亮度的问题
- 解决 Ubuntu 12.04 无法调节屏幕亮度的问题
- Ubuntu 14.04 LTS 安装 NVIDIA 显卡驱动后的屏幕亮度调节问题
- 解决 Ubuntu 14.04 无法调节屏幕亮度的问题
- ubuntu中解决无法调节屏幕亮度的问题
- 安装ubuntu后,无法调节屏幕亮度问题解决
- 解决 Ubuntu 12.04 无法调节屏幕亮度的问题
- 解决 Ubuntu 14.04 无法调节屏幕亮度的问题
- 笔记本在Ubuntu调节屏幕亮度的技巧
- 解决 Ubuntu 14.04 无法调节屏幕亮度的问题