Ubuntu 10.04調節螢幕亮度的Linux命令

來源:互聯網
上載者:User

我的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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.