Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 363 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 363 Bytes

Controlling Ubuntu Desktop Brightness

get the current display output

$ xrandr | grep " connected" | cut -f1 -d " " 

Set brightness from command line

$ xrandr --output [display output] --brightness [0.0 - 1.0]

Get current Brightness from command line

$ xrandr --verbose | awk '/Brightness/ { print $2; exit }'