Ubuntu调节屏幕亮度Linux命令

2种方法:

  1. 调节屏幕对比度参数gamma值

  > xgamma -gamma .75

   如果不理想可以尝试将.75修改成0.5~1.0之间测试一下。我用1.0后感觉和Vista下亮度一致。

  该命令无须管理员权限。

   2. 调节本本屏幕背光亮度pci

  > sudo setpci -s 00:02.0 F4.B=xx

   xx就是16进制表示的屏幕亮度值,范围0(最亮)~FF(最暗)。

  00:02.0是你的显示器VGA设备代码。

   用lspci命令查一下你的VGA设备代码:

  > lspci

  00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)

  00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

  00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

  00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)

   注意第二行00:02.0 VGA compatible controller
posted @ 2011-12-20 11:36  wusuopuBUPT  阅读(1874)  评论(2编辑  收藏  举报