Skip to content

Instantly share code, notes, and snippets.

@nelliott
nelliott / get-edid.py
Last active February 18, 2023 16:52 — forked from mvollrath/get-edid.py
Using xrandr CLI to write EDID from a connected monitor to stdout
#!/usr/bin/env python
import binascii
import re
import subprocess
import sys
from os.path import basename
XRANDR_BIN = 'xrandr'