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
Option 1: Install via Homebrew
Open a terminal window and run
$ brew install ddcctl.
Option 2: Download Binaries
Option 3: Build from Source
- install Xcode
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