Pantalla: changing my monitor's settings from the desktop
My monitor is a Gigabyte AORUS FI32U. It’s a good monitor. Its menu is not. Every setting is behind a little joystick on the back, so dimming the screen at night goes something like: press in, push left, scroll down to the right page, tap the slider down one notch at a time, back out. Changing the picture mode before a game is worse.
I wanted those settings on my desktop, where I could just click them. That turned into Pantalla, which is Spanish for “screen”.

Your monitor already listens to your computer
It turns out nearly every monitor supports DDC/CI. It’s a small protocol that
runs over the same HDMI, DisplayPort or USB-C cable as the picture. Your
computer can send something like “set brightness to 40” and the monitor just
does it. VESA’s MCCS standard gives the common settings their codes
(brightness is 0x10), and most monitors support at least some of them.
So the first version of Pantalla was the easy part. Read the standard codes, show sliders and buttons for them, grey out whatever the monitor ignores. The monitor also sets a flag when a setting changes, so if I use the joystick anyway, the app catches up a few seconds later.
The settings I wanted weren’t in the standard
What I change most on this monitor is picture mode, Black Equalizer,
overdrive, the crosshair, gamma and vibrance. None of that is in MCCS.
Gigabyte keeps it behind its own two-byte codes, 0xE0 followed by a
sub-code, so 0xE002 is Black Equalizer. ddcutil and the Windows monitor API
only send one-byte codes, which means neither of them can touch these
settings.
I wasn’t starting from zero. kelvie had written up the 0xE0xx scheme (and
gbmonctl) while digging into Gigabyte’s OSD Sidekick, and a couple of people
had done similar work on the M27Q. For the rest I wrote some small Python
scripts: read every code, change one setting with the joystick, read
everything again, diff. After enough rounds of that you have a map.
Some things I learned along the way:
- Every picture mode keeps its own copy of the settings. Switch modes and brightness, color and the rest can all change with it, so Pantalla re-reads everything after a mode switch.
- Color temperature can’t be written over DDC/CI on this monitor. It just follows the color preset.
- The “something changed” flag goes up for joystick changes and for Pantalla’s own writes, and the monitor doesn’t say which one it was. Pantalla assumes the change was its own if it wrote anything since the last check.
Everything I found, including the codes I still can’t explain, is in an FI32U code reference, and the scripts are in the repo. The M27Q, M32U and their siblings seem to use the same scheme, so if you own one of those, I’d like to know what yours answers to.

Two computers, one monitor
The FI32U has a KVM switch built in, so the keyboard and mouse plugged into it can follow the screen between two computers. Pantalla has a button for that. The catch is that the monitor only listens to the computer it’s currently showing, so getting back still means reaching for the joystick.
Sharing the monitor also gave me a bug to work around. Sometimes, when I switch
back to my Linux machine, the screen stays black with “no signal” until the
graphics card gets around to resyncing. Pantalla has a “Bring the picture back”
action that nudges it. You can’t click a button on a black screen, though, so
it also runs as pantalla --wake, which I have on a keyboard shortcut.
Undo
I wanted to be able to mess with settings I didn’t understand without worrying about breaking the picture. Pantalla takes a snapshot of every setting when it opens, and again before it applies a profile, does a factory reset or restores an older snapshot. If I make a mess, “Back to when the app opened” puts everything back.
Profiles are the other half of that. You save the current settings under a name, say “Night” or “Gaming”, and apply them later from the window or the tray icon. Factory resets ask before they do anything.
How it talks to the monitor
On Linux, most people use ddcutil for this. I didn’t want Pantalla to depend
on it, so it talks to the monitor itself, using Java’s FFM API
(java.lang.foreign) to call into the OS directly:
| OS | How |
|---|---|
| Linux | DDC/CI packets over /dev/i2c-N, finding monitors by reading the EDID on each GPU bus |
| Windows | The Monitor Configuration API in dxva2.dll |
| macOS (Apple Silicon) | IOKit’s IOAVService I2C, the same route MonitorControl and m1ddc take |
I use the Linux version every day, on an NVIDIA card. The Windows and Mac code builds in CI, but I haven’t run either against a real monitor yet. If you try one of them, please tell me how it went. On Macs, the HDMI port on M1 and base M2 machines doesn’t pass DDC/CI through. USB-C, Thunderbolt and DisplayPort do.
The UI is JavaFX with AtlantaFX. On Linux the tray icon goes through the StatusNotifierItem D-Bus protocol, which works on KDE out of the box and on GNOME with the AppIndicator extension.
Getting it
There are installers for Linux (.deb and .rpm), Windows (.msi) and Apple
Silicon Macs (.dmg), plus a portable zip for each. They’re signed and come
with their own Java runtime. If you’ve already added
Vitrina, on Debian or Ubuntu it’s just:
sudo apt install pantalla
On Linux your user also needs access to /dev/i2c-*. Installing ddcutil sets
that up, or you can add yourself to the i2c group and log in again.
Downloads and the code reference are on the Pantalla website, and the source is on GitHub.