Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

Ubuntu 10.04 調節屏幕亮度的方法

在 Ubuntu 10.04 上調節屏幕亮度,前提是先安裝好顯卡驅動,以下兩種方法才適用。

方法一:調節 gamma 值

調整屏幕對比度參數:

xgamma -gamma .75

若不理想,可把 0.75 換成 0.5~1.0 之間的值測試。筆者用 1.0 後感覺與 Vista 下亮度一致。此命令無需管理員權限。

方法二:調節背光亮度(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 ...
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 ...
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 ...

注意第二行 00:02.0 VGA compatible controller,這就是要填到 setpci 中的設備代碼。

Copyright © Linux教程網 All Rights Reserved