ubuntu调节对比度

我的Fujitsu S7211的笔记本屏幕显示在Ubuntu 10.04不如在Vista下明亮,一直以为是驱动的问题。后来从老外的博客中,发现了这个亮度其实可以调节。

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

猜你喜欢

转载自ltl3884.iteye.com/blog/807657