ddcctl: DDC monitor controls for the OSX command line
Adjust your external monitors' built-in controls from the OSX shell:
And possibly (if your monitor firmware is well implemented):
- input source
- built-in speaker volume
- rgb colors
- color presets
- install Xcode
- figure out if your Mac is using an Intel, Nvidia or AMD gpu
make intelor make
ddcctl -h for some options.
ddcctl.sh is a script I use to control two PC monitors plugged into my Mac Mini.
You can point Alfred, ControlPlane, or Karabiner at it to quickly switch presets.
When setting input source, refer to the table below to determine which value to use. For example, to set your first display to HDMI:
ddcctl -d 1 -i 17
|Composite video 1||5|
|Composite video 2||6|
|Component video (YPrPb/YCrCb) 1||12|
|Component video (YPrPb/YCrCb) 2||13|
|Component video (YPrPb/YCrCb) 3||14|
ddcctl.m sprang from a forum thread on the TonyMac-x86 boards.
DDC.c originated from jontaylor/DDC-CI-Tools-for-OS-X, but was reworked by others on the forums.
A few forks have also backported patches, which is nice