V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
luistrong
V2EX  ›  Apple

使用 Bettertouchtool 和 ddcctl 实现快捷键调节外接显示器亮度

  •  
  •   luistrong · 2021-05-09 09:50:22 +08:00 · 712 次点击
    这是一个创建于 1054 天前的主题,其中的信息可能已经有所发展或是发生改变。
    已安装 ddcctl, 全网搜了好久, 没找到具体的教程, 只有一篇 v 站的提到了这种用法:https://www.v2ex.com/t/398691, 还有一篇 https://da.westerlystpiusxschool.org/800183-how-do-i-map-a-IRQNXS, 我把那行命令放到 BTT 的 shell 任务里试了下也没成功,

    想请教下大神, 小白如何在 BTT 里添加快捷键命令控制外接显示器的亮度, 谢谢!
    第 1 条附言  ·  2021-05-09 11:29:36 +08:00
    梯度式调节
    ----- Setting grammar -----
    -X ? (query value of setting X)
    -X NN (put setting X to NN)
    -X <NN>- (decrease setting X by NN)
    -X <NN>+ (increase setting X by NN)

    这句的意思是不是:
    先在终端执行: ddcctl -d 1 -b ?
    然后 -X NN (put setting X to NN) 这句看不来了,
    后面的也看不懂, 谁能解答一下? 感谢!
    第 2 条附言  ·  2021-05-09 11:38:19 +08:00
    比如梯度调节 10 个单位, 终端执行 ddcctl -d 1 -b 10+, 没有效果, 何解?
    终端提示:
    D: action: b: 10+
    D: querying VCP control: #16 =?
    E: No data after 10 tries! (1ns reply-timeout)
    E: DDC send command failed!
    E: VCP control #16 (0x10) = current: 0, max: 0
    D: relative setting: 0 + 10 = 0 (clamped to 0, 0)
    D: setting VCP control #16 => 0
    beatboxgao
        1
    beatboxgao  
       2021-05-09 12:14:49 +08:00
    不是很懂楼主说的这两个软件。
    不过我在 mac 上控制外接显示屏亮度,一般使用 https://github.com/MonitorControl/MonitorControl
    luistrong
        2
    luistrong  
    OP
       2021-05-09 12:33:23 +08:00
    @beatboxgao #1 这个软件用的人比较多, 只是用我说的方法可以实现这个软件的很多功能, 少装个软件总是好的. 我现在碰到的问题是无法获取显示器现有的亮度值,
    执行 ddcctl -d 1 -b \?

    I: found 1 external display
    I: polling EDID for #1 (ID 417123842 =>
    D: action: b: ?
    D: querying VCP control: #16 =?
    E: No data after 10 tries! (1ns reply-timeout)
    E: DDC send command failed!
    E: VCP control #16 (0x10) = current: 0, max: 0
    luistrong
        3
    luistrong  
    OP
       2021-05-09 12:36:43 +08:00
    现在具体的某个亮度可以实现, 问题是无法梯度性调高或调低亮度,
    应该是无法获取显示器现有的亮度值引起的, 谁能解答下?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1357 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 23:33 · PVG 07:33 · LAX 16:33 · JFK 19:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.