[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#363359: xserver-xorg: Resolution has changed from 100 dpi, to 75 dpi



On Thursday 20 April 2006 16:27, you wrote:
>
> If I remember correctly (I hope I do, but I'm not quite sure), the
> file /etc/X11/xinit/xserverrc, which startx uses, contained the
> following command in woody and sarge:
>
>   exec /usr/bin/X11/X -dpi 100 -nolisten tcp
>
> Perhaps this has changed in Xorg 7.x?

Good eye!
Looks like it has. That file doesn't exist on the machine in question, but it 
still exists on my machine which I haven't yet updated (and does indeed 
include the switch mentioned). Also, according to a search at 
packages.debian.org
http://packages.debian.org/cgi-bin/search_contents.pl?word=xserverrc&searchmode=searchfiles&case=insensitive&version=unstable&arch=i386
the file xserverrc doesn't exist in any packages in Sid.
xbase-clients (from which that file originates in Sarge and Etch) no longer 
contains that file, and I have no idea what might 'replace' it nor am I 
familiar enough yet with all the new Xorg things to figure how to mimic it's 
previous behavior short of having to add the switch manually to the startx 
command - every time I use it.

> I remember previously having to remove the "-dpi 100" manually,
> because I wanted to specify the actual resolution in the configuration
> file. I never understood why the Debian default setting was to
> override anything specified in the server configuration file, so if
> this default command-line argument was removed in Xorg 7, I'm
> personally quite happy with the change. However, perhaps it should be
> documented, e.g., in the NEWS file? (I don't know if it already is, I
> haven't looked at the 7.x packages yet.)

I just did, and I saw no mention of the changed/missing xserverrc file in any 
of the changelog/NEWS files for xserver-xorg, xserver-xorg-core, or 
xbase-clients

> Another possibility would be to ask for the resolution when the X
> packages are configured, and write this out to the auto-generated X
> server configuration file.

I'd agree, that would probably be well fitted to the "advanced" options during 
the initial and reconfiguring.

> I think the proper place to configure the resolution should be the
> server configuration file, since that contains all the other
> information about the monitor (such as the supported frequencies, if
> they are not autodetected), and since (I think) the server
> command-line arguments need to be specified in multiple files (at
> least previously, xserverrc applied only to startx and, for example,
> xdm had its own configuration file where the server command-line
> options could be specified - I don't know if this has changed
> recently).

Nor do I.

...Rob



Reply to: