This document provides detailed usage instructions for the MonitorBuddy CLI.
Monitorbuddy (mbuddy) is a command-line tool to control monitor settings using DDC/CI over USB HID. It supports both standard VCP codes and vendor‑specific extensions (e.g., Gigabyte/AORUS).
sudo apt install libhidapi-dev libudev-dev
go install github.com/leovanalphen/monitorbuddy@latestbrew install hidapi
CGO_CFLAGS="-I$(brew --prefix hidapi)/include" \
CGO_LDFLAGS="-L$(brew --prefix hidapi)/lib" \
go install github.com/leovanalphen/monitorbuddy@latest# Ensure MSYS2 UCRT64 toolchain is installed
make win-ucrt64mbuddy -listmbuddy -get brightness -mon 0mbuddy -set brightness -val 50 -mon 0mbuddy -list -vid 0x0bda -pid 0x1100Enable/disable vendor properties:
mbuddy -props -include-gigabyte=falseSome monitors require a different frame length base:
mbuddy -set brightness -val 20 -frame-base 0x80mbuddy -set brightness -val 30 -n- Set brightness on multiple monitors:
mbuddy -set brightness -val 70 -mon 0,1- Read firmware level:
mbuddy -get fw-level -mon 0- No devices found: try
-vid 0 -pid 0and re-run-list. - Windows build errors: ensure MSYS2 UCRT64 gcc is installed.
- Monitor not responding: verify USB upstream cable is connected.
Contributions are welcome! See CONTRIBUTING.md for guidelines.