Skip to content

Useful shell scripts to adjust and view brightness levels on linux.

Notifications You must be signed in to change notification settings

jun6000/brightness-control-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

brightness-control-linux

Features

  • Adjust display brightness level by changing adding to value of brightness file /sys/class/backlight/<vendor>/brightness.
  • Get current brightness level in console.

By default, regular users are not allowed to modify the contents of the brightness file. To enable users of the group video to modify the brightness value, follow these steps.

Installation

  • Clone this repo, make the scripts executable and run them.

    git clone git@github.com:jun6000/brightness-control-linux.git
    cd brightness-control-linux
    chmod a+x adjust-brightness get-brightness
    ./get-brightness
    

Usage

./adjust-brightness <[-]value> - Adjust brightness level by appending value / -value to the script.

./get-brightness - Get current brightness level.

About

Useful shell scripts to adjust and view brightness levels on linux.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages