Created
December 12, 2021 23:17
-
-
Save justinschuldt/6463c471b345cde940c9c126dd401325 to your computer and use it in GitHub Desktop.
Modify external monitor settings like brightness and contrast, from debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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