Linux screen Brightness adjustment command

Source: Internet
Author: User

My Fujitsu S7211 Laptop screen shows up in Ubuntu 10.04 as bright as in Vista, always thinking it is a drive problem. Later from the Foreigner's blog, found that the brightness can actually be adjusted.

2 ways:

1. Adjust the screen contrast parameter gamma value

> Xgamma-gamma. 75

If not ideal, try changing the. 75 to 0.5~1.0 to test. I use 1.0 after feeling and vista under brightness consistent.

This command does not require administrator privileges.

2. Adjust the backlight of the laptop screen PCI

> sudo setpci-s 00:02.0 f4.b=xx

XX is the screen brightness value represented by the 16 binary, range 0 (brightest) ~ff (darkest).

00:02.0 is the VGA device code for your display.

Check your VGA device code with the LSPCI command:

> 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)

Note the second line 00:02.0 VGA compatible controller

Linux screen Brightness adjustment command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.