ddcctl

DDC monitor controls (brightness) for Mac OSX command line

  • 所有者: kfix/ddcctl
  • 平台:
  • 許可證: GNU General Public License v3.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

ddcctl: DDC monitor controls for the OSX command line

Adjust your external monitors' built-in controls from the OSX shell:

  • brightness
  • contrast

And possibly (if your monitor firmware is well implemented):

  • input source
  • built-in speaker volume
  • on/off/standby
  • rgb colors
  • color presets
  • reset

Install

  • install Xcode
  • figure out if your Mac is using an Intel, Nvidia or AMD gpu
  • run make intel or make make nvidia or make amd

Usage

Run 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.

Input Sources

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, Input Source, Value, -------------, -------------, VGA-1, 1, VGA-2, 2, DVI-1, 3, DVI-2, 4, Composite video 1, 5, Composite video 2, 6, S-Video-1, 7, S-Video-2, 8, Tuner-1, 9, Tuner-2, 10, Tuner-3, 11, Component video (YPrPb/YCrCb) 1, 12, Component video (YPrPb/YCrCb) 2, 13, Component video (YPrPb/YCrCb) 3, 14, DisplayPort-1, 15, DisplayPort-2, 16, HDMI-1, 17, HDMI-2, 18, Credits

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 :ok_hand:.

主要指標

概覽
名稱與所有者kfix/ddcctl
主編程語言C
編程語言C (語言數: 4)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2014-08-01 04:11:33
推送於2022-11-29 07:39:32
最后一次提交
發布數2
最新版本名稱v1 (發布於 )
第一版名稱v0 (發布於 )
用户参与
星數1.9k
關注者數43
派生數153
提交數98
已啟用問題?
問題數96
打開的問題數30
拉請求數27
打開的拉請求數2
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?