autorandr icon indicating copy to clipboard operation
autorandr copied to clipboard

check EDID only for load config

Open fe80 opened this issue 5 years ago • 2 comments

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

fe80 avatar Dec 15 '19 15:12 fe80

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.

phillipberndt avatar Dec 31 '19 10:12 phillipberndt

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.

glems2 avatar Oct 28 '22 10:10 glems2