Skip to content

satvikmaker/Adjust-Brightness-Ubuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Decrease or Increase the brighness of Laptop Screen in Ubuntu(or Linux)

Do you want to decrease the brightness of your laptop screen beyond limitations set using buttons on your Linux(or Ubuntu specifically)?

Here is a solution

Just Open Terminal and Enter the following commands-

    To set low brightness-
        ./brightness.sh l

    To set medium brightness-
        ./brightness.sh m

    To set high brightness-
        ./brightness.sh h

    A mediocre brightness is set on executing without arguments-
        ./brightness.sh

Decrease or Increase brightness on Ubuntu crossing limits(of minimum and maximum).

Details of the script-

On executing the script, the value will dim the brightness. To adjust to the value you need, please go through the following instructions-

    1. Open Terminal

    2. Enter the following command:

        cat /sys/class/backlight/intel_backlight/brightness

    3. Write down the resulting value (1200 in my case)

    4. Divide value by 6 and write it down (200 in my case)

    5. Enter the following in the terminal, replacing 200 with your value:

    	vi brightness.sh

6. After editing the value, run the script-

        ./brightness.sh

    7. Close Terminal

    For future usage of the last command, open Terminal, press Ctrl and R together, start typing brightness. When the last command appears, just press Enter.

It works for me on a DELL XPS 15 with Ubuntu 14.04. It is supposed to work on almost all Ubuntu versions(Tested on 12.04+) and most Dell or Lenovo laptops.

About

Decrease or Increase screen brightness on Ubuntu crossing limits(of minimum and maximum).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages