Screen.widthMm

int widthMm()

Returns the width of the default screen in millimeters. Note that on many X servers this value will not be correct.

Returns

the width of the default screen in millimeters,

though it is not always correct.

Deprecated

Use per-monitor information