Ubuntu常用软件
软件控制显示器的各种功能
今天想使用一个显示器作为多个电脑的输出,发现显示器选择输入源的按钮很难按,所以就找了一个软件控制输入源的程序 ddccontroller
源代码仓库
1 | https://github.com/ddccontrol/ddccontrol |
安装
1 | on Ubuntu: sudo apt install ddccontrol gddccontrol ddccontrol-db i2c-tools |
Usage
From GUI using gddccontrol
gddccontrol is a graphical utility for monitor configuration. It is called Monitor Settings in list of applications.
Following configuration is needed to allow non-root user to use gddccontrol:
1 | sudo adduser $USER i2c |
Utility can launched directly from commandline:
1 | sudo gddccontrol |
From command line using ddccontrol
ddccontrol allows monitor configuration directly from commandline. To probe I2C devices to find monitor buses use:
1 | sudo ddccontrol -p |
To read value of control 0x10 (brightness on VESA compliant monitors) for device dev:/dev/i2c-4:
1 | sudo ddccontrol -r 0x10 dev:/dev/i2c-4 |
To set value of control 0x10 (brightness on VESA compliant monitors) to 75 for device dev:/dev/i2c-4:
1 | sudo ddccontrol -r 0x10 -w 75 dev:/dev/i2c-4 |
See ddccontrol -h for more information.
- Post Title: Ubuntu常用软件
- Post Author: Geng Yuchao
- Post Link: https://github.com/gengyuchao/gengyuchao.github.io/2022/03/22/Ubuntu系统/显示器软件控制/
- Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
1.Linux 系统内核升级后 vmware 出现的问题及解决
2.Ubuntu 上快速实现 TTS 的一种方法
3.Linux 系统蓝牙命令
4.使用 SSH 命令行开启远程桌面的方法
5.Chrome 浏览器超链接变色问题
6.Ubuntu常用软件