xrandroll icon indicating copy to clipboard operation
xrandroll copied to clipboard

When enabling a monitor, there is no physical size information

Open ralsina opened this issue 5 years ago • 4 comments

To reproduce:

  • Start with a disabled monitor
  • Enable it
  • Try to set it to scale to physical size

It fails with an error, because when xrandr info was collected, the physical size information is missing.

ralsina avatar Feb 04 '20 22:02 ralsina

In some cases (laptop monitors) we can get this via xrandr --verbose + EDID even if it's turned off.

ralsina avatar Feb 04 '20 22:02 ralsina

Getting it via xrandr --verbose + EDID works for anything that is connected. If it's not, then it doesn't work (which makes sense)

ralsina avatar Feb 04 '20 22:02 ralsina

Bear in mind that some monitors straight up tell lies about physical size. I've had one monitor that reported itself as a 7" diagonal for some reason.

sirtaj avatar Feb 05 '20 05:02 sirtaj

Nowadays most monitors seem to be fairly honest, although there is already a case of a monitor reporting to be smaller than it really is. The "scale so windows are the same physical size across monitors" is a bit of a gimmick anyway ;-)

ralsina avatar Feb 05 '20 13:02 ralsina