Files
cheatsheet-tldr/tldr/linux/ddcutil
2026-01-23 00:23:11 +00:00

36 lines
898 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ddcutil
> Control the settings of connected displays via DDC/CI.
> This command requires the kernel module `i2c-dev` to be loaded.
> See also: `modprobe`.
> More information: <https://www.ddcutil.com/commands/>.
- List all compatible displays:
`ddcutil {{[det|detect]}}`
- Query the first compatible display for capabilities:
`ddcutil {{[cap|capabilities]}}`
- Change the brightness (option `10`) of display 1 to 50%:
`ddcutil {{[-d|--display]}} 1 {{[set|setvcp]}} 10 50`
- Increase the contrast (option `12`) of display 1 by 5%:
`ddcutil {{[-d|--display]}} 1 {{[set|setvcp]}} 12 + 5`
- Change the display source (option `60`) of a display:
`ddcutil {{[-d|--display]}} {{1}} {{[set|setvcp]}} 60 0x{{0f}}`
- Read the settings of display 1:
`ddcutil {{[-d|--display]}} 1 {{[get|getvcp]}} ALL`