Skip to content

Instantly share code, notes, and snippets.

@indigo6alpha
indigo6alpha / get-edid.py
Last active January 26, 2018 17:31 — 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'