Patches and scripts for the Apple Studio Display 2026 on Linux.
├── asdcontrol/ # Patched third-party tools (C/C++ source)
│ ├── asdcontrol.cpp # Brightness control via USB HID
│ ├── Makefile
│ └── LICENSE
├── scripts/ # Utility scripts
│ └── install # Build and install everything
├── README.md
└── CLAUDE.md
- Third-party patches go in their own subdirectory (like
asdcontrol/) with source, Makefile, and LICENSE. - Standalone scripts go in
scripts/. scripts/installis the single entry point that builds and installs everything.
Fork of nikosdion/asdcontrol (archived) with added support for the Apple Studio Display 2026 (USB product ID 0x1118).
The upstream project only supports the 2022 Studio Display (0x1114) and Pro XDR Display (0x9243).
On Omarchy Linux, the default CTRL+F1/F2 keybindings call omarchy-brightness-display-apple which uses asdcontrol under the hood. The upstream asdcontrol doesn't recognize the 2026 model, so brightness control fails silently.
./scripts/installIf a system update (e.g. omarchy-update, pacman -Syu) reinstalls the upstream asdcontrol package, your patched binary will be overwritten. To restore it:
./scripts/installThe Omarchy brightness script uses sudo asdcontrol. To avoid password prompts on keybindings:
echo "vivek ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrolsudo asdcontrol --detect /dev/usb/hiddev*Should show your display as SUPPORTED:
/dev/usb/hiddev4: USB Monitor - SUPPORTED. Vendor= 0x5ac (Apple), Product=0x1118[Apple Studio Display (2026, 27")]
# Increase brightness
sudo asdcontrol /dev/usb/hiddev4 +5000
# Decrease brightness
sudo asdcontrol /dev/usb/hiddev4 -- -5000
# Set to full brightness
sudo asdcontrol /dev/usb/hiddev4 60000
# Read current brightness
sudo asdcontrol /dev/usb/hiddev4Brightness range is 400–60000.
| Shortcut | Action |
|---|---|
| CTRL+F1 | Decrease brightness |
| CTRL+F2 | Increase brightness |
| CTRL+SHIFT+F2 | Full brightness |
Based on asdcontrol by Nicholas K. Dionysopoulos, which is based on acdcontrol by Pavel Gurevich.