Last active
August 14, 2022 14:25
-
-
Save petitJAM/6ae787064202f9a1b8b92adea1c0a805 to your computer and use it in GitHub Desktop.
Revisions
-
petitJAM revised this gist
Aug 14, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ [`ddcutil`](https://github.com/rockowitz/ddcutil) [`winddcutil`](https://github.com/scottaxcell/winddcutil) This implements a slightly different API, so the commands are similar to what's below, but not quite the same. Run everything with `sudo`. -
petitJAM revised this gist
Jun 15, 2022 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,10 +12,10 @@ ddcutil detect Show all VCP feature codes for a display: ```sh # Pipe to less for easier viewing and searching ddcutil capabilities --display 1 | less # Or grep what you want ddcutil capabilities --display 1 | grep -i brightness ``` Get a VCP value for a display, this will also show value ranges: -
petitJAM revised this gist
Jun 15, 2022 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ [`ddcutil`](https://github.com/rockowitz/ddcutil) [`winddcutil`](https://github.com/scottaxcell/winddcutil) (have not tested this cheat sheet against this, but it seems to implement the same API) Run everything with `sudo`. List displays: -
petitJAM created this gist
Jun 15, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ Run everything with `sudo`. List displays: ```sh ddcutil detect ``` Show all VCP feature codes for a display: ```sh # Pipe to less for easier viewing and searching ddcutil vcpinfo --display 1 | less # Or grep what you want (-B and -A add context lines) ddcutil vcpinfo --display 1 | grep brightness -B 4 -A 2 ``` Get a VCP value for a display, this will also show value ranges: ```sh ddcutil getvcp 10 --display 1 ``` Set a VCP value: ```sh # 10 is the VCP code, 30 is the value to be set ddcutil setvcp 10 30 --display 1 ```