mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 18:50:50 +00:00
Update cheatsheets
This commit is contained in:
26
linux/ddcutil
Normal file
26
linux/ddcutil
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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>.
|
||||
|
||||
- List all compatible displays:
|
||||
|
||||
`ddcutil detect`
|
||||
|
||||
- Change the brightness (option 0x10) of display 1 to 50%:
|
||||
|
||||
`ddcutil --display {{1}} setvcp {{10}} {{50}}`
|
||||
|
||||
- Increase the contrast (option 0x12) of display 1 by 5%:
|
||||
|
||||
`ddcutil -d {{1}} setvcp {{12}} {{+}} {{5}}`
|
||||
|
||||
- Read the settings of display 1:
|
||||
|
||||
`ddcutil -d {{1}} getvcp {{ALL}}`
|
||||
Reference in New Issue
Block a user