Skip to content

Instantly share code, notes, and snippets.

@justinschuldt
Created December 12, 2021 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinschuldt/6463c471b345cde940c9c126dd401325 to your computer and use it in GitHub Desktop.
Save justinschuldt/6463c471b345cde940c9c126dd401325 to your computer and use it in GitHub Desktop.
Modify external monitor settings like brightness and contrast, from debian
# add the repository to get ddcutil
sudo add-apt-repository ppa:rockowitz/ddcutil
# update
sudo apt-get update
# install ddcutil
sudo apt install ddcutil
# change brightness of the primary montior to 80
sudo ddcutil setvcp 10 80
# change contract of the primary monitor to 80
sudo ddcutil setvcp 12 80
# change settion of secondary monitor
sudo ddcutil -d 2 setvcp 12 80
# or, change the brighness of the OS, in case you can't change the montior.
# see connected displays
xrandr -q | grep " connected"
# set bightness of the video output going to the monitor (OS level change)
xrandr --output DP-1 --brightness 0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment