经过多次更改失败重装后终于在官网的answers找到了解决办法:1、解决reboot后无法保存屏幕亮度:
[cpp] - 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 0 > /sys/class/backlight/acpi_video0/brightness保证修改后代码如下,注意exit前的“#” [cpp] - #!/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这一行添加:
[cpp] - nomodeset acpi_backlight=vendor
注意:有些硬件可能会是不同的选项.
[cpp] - Intel - nomodeset acpi_backlight=intel Acer - acpi_backlight=acer_acpi or even acpi_osi=Linux acpi_backlight=legacy.
我的电脑是acer 4830tg,我直接写的=vendor也是同样可以正常工作,你也可以通过google去查找你要设置的选项。
[cpp] - quiet splash nomodeset acpi_backlight=vendor
退出启动,如果能正常启动,就把这项选项添加到默认的选项中,编辑文件
/etc/default/grub [cpp] - # command line
- sudo -e /etc/default/grub
-
- # graphical
- gksu gedit /etc/default/grub
把这一行改成如下:
[cpp] - GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset acpi_backlight=vendor"
保存,更新grup
[cpp] - sudo update-grub
详解RHEV中安装Windows 2003和VirtIO驱动关于RHEL 6不能用Root用户登录问题的解决相关资讯 Ubuntu 11.10
- Ubuntu 11.10使用软RAID时需要注意 (04/10/2012 06:40:19)
- 64位 Ubuntu 11.10 安装及配置Java (03/17/2012 19:18:46)
- Dell R210 安装Ubuntu 11.10 (03/17/2012 19:15:02)
| - Windows 7 + Ubuntu 11.10双系统安 (03/30/2012 12:15:05)
- 在Ubuntu 11.10下安装显卡后进不了 (03/17/2012 19:17:44)
- Ubuntu 11.10下成功安装Java (03/09/2012 08:12:58)
|
本文评论 查看全部评论 (0)