你好 Ubuntu 社区,
我可以通过以下命令控制与 DisplayPort 连接的 DELL U2713HM 的亮度:
ddccontrol -p -r 0x10 -w 53
Run Code Online (Sandbox Code Playgroud)
在此示例中,数字 53 表示亮度级别(范围 0 到 100)。但我不知道如何将命令链接到我键盘上的亮度键。
我已经搜索过,但刚刚找到了集成笔记本电脑屏幕的答案。In/sys/class/backlight是acpi_video0包含一些子文件夹和文件的文件夹。文件 actual_brightness 包含一个从 0 到 20 的数字,当我按下亮度键时,这个数字会发生变化。
如何将我的外接显示器列为 /sys/class/backlight 中的设备?
PS:我正在运行带有集成显卡 Intel HD4000 的全新 Ubuntu 12.10 安装。
我想使用命令更改我的显示器 (Dell S2216H) 亮度
ddccontrol -p -r 0x10 -w 53
Run Code Online (Sandbox Code Playgroud)
这个命令曾经在 16.10 上工作,现在它没有,但给出了这个输出
robing for available monitors.......
Detected monitors :
No monitor supporting DDC/CI available.
If your graphics card need it, please check all the required kernel
modules are loaded (i2c-dev, and your framebuffer driver).
Run Code Online (Sandbox Code Playgroud)
输出 ddccontrol -p是一样的
ddccontrol version 0.4.2
Copyright 2004-2005 Oleg I. Vdovikin (oleg@cs.msu.su)
Copyright 2004-2006 Nicolas Boichat (nicolas@boichat.ch)
This program comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of this program under the terms …Run Code Online (Sandbox Code Playgroud)