[Intel-gfx] xdpyinfo gives wrong physical screen size
dolphinling
lists at dolphinling.net
Mon Jan 18 14:35:47 CET 2010
On 01/18/2010 07:46 AM, Julien Cristau wrote:
> On Mon, Jan 18, 2010 at 06:24:03 -0500, dolphinling wrote:
>> xdpyinfo is giving the wrong physical screen size on my computer.
>> [...]
>
> See http://bugs.freedesktop.org/show_bug.cgi?id=23705
On 01/18/2010 07:19 AM, Felix Miata wrote:
> On 2010/01/18 06:24 (GMT-0500) dolphinling composed:
>> xdpyinfo is giving the wrong physical screen size on my computer.
>> [...]
>
> Some distros force DPI to 96. An example explanation why is at
> http://wiki.mandriva.com/en/Font_Size_and_DPI while some DPI issues are
> discussed at http://www.mozilla.org/unix/dpi.html
>
> Not all distros use the same method to force DPI, so without knowing what
> you're using the explanation to fix is also not known. For instance, one fix
> might be to set an explicit DisplaySize in /etc/X11/xorg.conf, a file which
> may otherwise be totally unnecessary in recent xorg versions. On Mandriva
> 2010.0 using xserver 1.6.4, Option "PreferredMode" "1600x1200" and
> DisplaySize 338 253 permits 120 DPI on my i845G and Trinitron CRT. As noted
> on the above Mozilla.org page, xdpyinfo may or may not report the actual DPI
> used by apps, such as reported by Gecko on
> http://fm.no-ip.com/auth/dpi-screen-window.html
Thanks both of you. Now that I know how to change it via xrandr, it doesn't
appear that that value makes much/any difference for me (possibly because I
already have gnome set to use the correct dpi), so I guess I'll just leave it
for now 'cause it's not worth the trouble of keeping an xorg.conf around just
for that.
Confusing though that it's supposedly set to 96dpi by default, but if I change
my resolution while X is running, it doesn't stay at 96.
--
dolphinling
<http://dolphinling.net/>
More information about the Intel-gfx
mailing list