autorandr
autorandr copied to clipboard
check EDID only for load config
Load config parse all available and fail when monitor is not present in a configuration:
autorandr -s home
Failed to load profiles (line 416; /home/steffy/.pip/lib/python3.8/site-packages/autorandr.py):
Failed to find an EDID for output `DP-2-1' in setup file, required as `DP-2-1' is not off in config file. (line 416; /home/steffy/.pip/lib/python3.8/site-packages/autorandr.py)
I move the EDID error only when we want load a profile with an error, and add --force
for load and disable unknown screen
Thanks!
The intention is that this error message is supposed to show if the config
file defines a configuration for an output, but setup
does not assign an EDID to it. That can only be the case if you manually edited the file.
Is that the case? Or did this happen without fiddling around with the files? In that case there's another bug, and I'd prefer to fix that one.
I had that error recently without having edited any config or setup files. At least the error message should hint at the problematic profile. Took me some time to find it out by hand.