On Di, 05 Sep 13:29:13 +0000
Grant <emailgr...@gmail.com> wrote:
Is there a way to digitally discover the true height and width of your
screen in mm?


If you know the shadow mask/dot pitch [1] or the real pixel per inch of your
screen, then calculate it. This way you see if software reports wrong
values.


Got it:

http://pixensity.com/list/dell-xps-13-4331/


BTW: X supports -dpi parameter/option. I use it in my xserverrc (xinit
server script) configuration and the Xorg.0.log reports the correct and
prior calculated values.


I think I read that there is no xorg.conf directive for DPI.

I mean -dpi as command line parameter/option, see `/usr/bin/Xorg -help` or [1]. On the same site is an example (“Tips and tricks” section) for startx invocation that bypass -dpi to Xorg but DisplaySize should do the job also.

But X should get it right if I use:

DisplaySize 294 166

Looks like a typo. I got:

   349.6462 mm × 165.6207 mm

with:

   $ bc <<<'scale=4; ppi=276.05; cx=3800; inch=25.4; cx / ppi * inch'


[1] <https://wiki.archlinux.org/index.php/Xinitrc#xserverrc>


--
Regards,
floyd


Reply via email to