Skip to content

vivek7405/studio-display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple Studio Display 2026 Utilities

Patches and scripts for the Apple Studio Display 2026 on Linux.

Project Structure

├── 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/install is the single entry point that builds and installs everything.

Brightness Control

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).

Why this fork?

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.

Install

./scripts/install

Reinstall after package updates

If a system update (e.g. omarchy-update, pacman -Syu) reinstalls the upstream asdcontrol package, your patched binary will be overwritten. To restore it:

./scripts/install

Passwordless sudo

The 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/asdcontrol

Verify

sudo 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")]

Usage

# 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/hiddev4

Brightness range is 400–60000.

Keybindings (Omarchy)

Shortcut Action
CTRL+F1 Decrease brightness
CTRL+F2 Increase brightness
CTRL+SHIFT+F2 Full brightness

Credits

Based on asdcontrol by Nicholas K. Dionysopoulos, which is based on acdcontrol by Pavel Gurevich.

About

Patches and scripts for using the Apple Studio Display 2026 with Arch Linux

Resources

Stars

Watchers

Forks

Contributors