Your message dated Sat, 6 Sep 2003 03:23:46 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#182191: Xserver always sets screens to 100dpi, ignores DisplaySize has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 23 Feb 2003 15:42:07 +0000 >From [EMAIL PROTECTED] Sun Feb 23 09:42:07 2003 Return-path: <[EMAIL PROTECTED]> Received: from smtp02.syd.iprimus.net.au [210.50.76.70] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 18myGV-000582-00; Sun, 23 Feb 2003 09:42:07 -0600 Received: from iprimus.com.au ([210.50.10.8]) by smtp02.syd.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Mon, 24 Feb 2003 02:42:03 +1100 Message-ID: <[EMAIL PROTECTED]> Date: Mon, 24 Feb 2003 13:46:18 +1100 From: Russell Shaw <[EMAIL PROTECTED]> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: Xserver always sets screens to 100dpi, ignores DisplaySize Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Feb 2003 15:42:04.0010 (UTC) FILETIME=[1CFF74A0:01C2DB52] Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-0.4 required=4.0 tests=DATE_IN_FUTURE_06_12,HAS_PACKAGE,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.44 X-Spam-Level: Package: xbase-clients Version: 4.2.1-3 Severity: normal Hi, I found that DisplaySize in the monitor section of /etc/X11/XF86Config-4 is always being ignored. This can be seen with "xdpyinfo" and /var/log/XFree86.0.log to be 100dpi. Section "Monitor" Identifier "Philips" VendorName "Philips" ModelName "C20 (CM0500)" HorizSync 31.5,35.2,37.8,48,56,64 DisplaySize 312 234 VertRefresh 50-90 Option "DPMS" Gamma 2.4 2.5 2.6 EndSection I found it's an xbase-clients installation bug. It makes the windows, fonts, and icons in X the wrong size. If you look in /var/log/XFree86.0.log or xdpyinfo, you'll find that DisplaySize is ignored and you get a physical screen size different to your real screen. It gets set to 100dpi when mine should be around 80dpi. It means that any assumptions about font and window sizes by X apps is all wrong. Instead of 1pt being 1/72", it's more like 1/60", so all the fonts end up bigger than they should. It also means that changing the resolution from 800x600 to 1024x768 changes the *physical* screen size, making all the fonts and everything else change size when they should be constant. /etc/X11/xinit/xserverrc contains: #!/bin/sh exec /usr/bin/X11/X -dpi 100 -nolisten tcp So i changed it to: #!/bin/sh exec /usr/bin/X11/X -nolisten tcp which fixes the problem. --------------------------------------- Received: (at 182191-done) by bugs.debian.org; 6 Sep 2003 08:23:50 +0000 >From [EMAIL PROTECTED] Sat Sep 06 03:23:47 2003 Return-path: <[EMAIL PROTECTED]> Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [65.26.182.85] by master.debian.org with esmtp (Exim 3.35 1 (Debian)) id 19vYMF-0002uq-00; Sat, 06 Sep 2003 03:23:47 -0500 Received: by redwald.deadbeast.net (Postfix, from userid 1000) id A83BE64120; Sat, 6 Sep 2003 03:23:46 -0500 (EST) Date: Sat, 6 Sep 2003 03:23:46 -0500 From: Branden Robinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Bug#182191: Xserver always sets screens to 100dpi, ignores DisplaySize Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oJFDFiWc3BlD0xT/" Content-Disposition: inline In-Reply-To: <[EMAIL PROTECTED]> User-Agent: Mutt/1.5.4i Delivered-To: [EMAIL PROTECTED] X-Spam-Status: No, hits=-20.8 required=4.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.53-bugs.debian.org_2003_8_27 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 (1.174.2.15-2003-03-30-exp) --oJFDFiWc3BlD0xT/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 24, 2003 at 01:46:18PM +1100, Russell Shaw wrote: > I found that DisplaySize in the monitor section of > /etc/X11/XF86Config-4 is always being ignored. This > can be seen with "xdpyinfo" and /var/log/XFree86.0.log > to be 100dpi. >=20 > Section "Monitor" > Identifier "Philips" > VendorName "Philips" > ModelName "C20 (CM0500)" > HorizSync 31.5,35.2,37.8,48,56,64 > DisplaySize 312 234 > VertRefresh 50-90 > Option "DPMS" > Gamma 2.4 2.5 2.6 > EndSection >=20 > I found it's an xbase-clients installation bug. It makes the windows, > fonts, and icons in X the wrong size. >=20 > If you look in /var/log/XFree86.0.log or xdpyinfo, you'll find > that DisplaySize is ignored and you get a physical screen size different > to your real screen. It gets set to 100dpi when mine should be around 80d= pi. >=20 > It means that any assumptions about font and window sizes by > X apps is all wrong. Instead of 1pt being 1/72", it's more like 1/60", > so all the fonts end up bigger than they should. It also means that > changing the resolution from 800x600 to 1024x768 changes the *physical* > screen size, making all the fonts and everything else change size when > they should be constant. >=20 > /etc/X11/xinit/xserverrc contains: >=20 > #!/bin/sh > exec /usr/bin/X11/X -dpi 100 -nolisten tcp >=20 > So i changed it to: >=20 > #!/bin/sh > exec /usr/bin/X11/X -nolisten tcp >=20 > which fixes the problem. I hate to say it, but this is a feature, not a bug. Command-line arguments *should* override configuration file settings. Debian sets the dpi to 100 because some X server video drivers calculate bogus dpi settings when left to their own devices (see, for example: <http://bugs.debian.org/180428>). /etc/X11/xinit/xserverrc, /etc/X11/xdm/Xservers, and the configuration files for other display managers can be edited by the local administrator to change this, of course. Thanks for using the Debian system! Closing this bug. --=20 G. Branden Robinson | Debian GNU/Linux | De minimis non curat lex. [EMAIL PROTECTED] | http://people.debian.org/~branden/ | --oJFDFiWc3BlD0xT/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iEYEARECAAYFAj9ZmZIACgkQ6kxmHytGonxpEQCaA8Q83yYeXkVjm6PYDG7RR82h YtMAoIGWYxarEuoz/H3jhneSSXrvLqRK =DBk/ -----END PGP SIGNATURE----- --oJFDFiWc3BlD0xT/--