Byte Sized Hacks: Set Screen Brightness from Terminal using xbacklight(Ubuntu 16.04 LTS)

Found a pretty neat solution for changing screen brightness from terminal. Just open up, your terminal (ctrl+alt+t) and then type

xbacklight -set 100

It will set your screen brightness to 100%. You can set any value ranging from 0 to 100. If you don’t have xbacklight package pre-installed then fetch it using the apt:

sudo apt update
sudo apt install xbacklight

There you go! Now you can use xbacklight from terminal. Simple! isn’t it?

Change Screen Brightness using xbacklight from terminal (Ubuntu 16.04 LTS)

Note: I have tested it on Ubuntu 16.04 LTS. But, it should work on other Linux distributions as well. Also, don’t hesitate to suggest/comment other ways to change brightness that you prefer(if there any) !