Re: Why does kdm still set dpi to 100?
On Monday 19 January 2004 20.46, you wrote:
> Did you intentionally send this off-list? I was hoping to have the
> discussion on-list.
No. I sent it in private by mistake. Sorry
> It's a bit unfair though, to want the xfree packages to automatically
> configure the dpi when kdm doesn't either.
I don't understand. You said that kdm should not set the dpi because the X
server autodetects it. In that case I would expect the autodetection to work
I have a rather large monitor compared to its resolution: 19'' with 1152x864.
Display size is 340 x 270 mm. That is about ~80 dpi.
If I don't set the DisplaySize option in the Monitor section of the XF86Config
the the X server autodetects 101 dpi (if I remember correctly).
I have the next possible configuration options:
1.) leave everything as it is set by debian (kdm with -dpi 100 and no
DisplaySize option in XF86Config)
dpi is 100
2.) change all the server lines in the /etc/kde3/kdm/Xserver to -dpi 75
dpi is 75 (much better for my usage)
3.) remove -dpi settings from /etc/kde3/kdm/Xserver
I end up with dpi 101 which is worse IMHO than 1.)
4.) remove -dpi from Xserver and set DisplaySize in XF86Config
I currently using 2.) and contemplating if 4.) would be better.
So I think the first step is to set the DisplaySize in XF86Config. Then at
least startx would work correctly.
But if just you remove -dpi from the kdm config, you don't get anything (and
it may be even worse).
> On Sunday 18 January 2004 10:49, you wrote:
> > On Sunday 18 January 2004 01.24, Frank Murphy wrote:
> > > On Saturday 17 January 2004 10:15, Dominique Devriese wrote:
> > > > Frank Murphy writes:
> > > > > I recently noticed that kdm for Debian sets the Xserver dpi to 100
> > > > > with its -dpi 100 switch. I know that all the old de-uglification
> > > > > docs recommended this to deal with Netscape's handling of bitmap
> > > > > fonts on X. But now that X has better support for truetype fonts
> > > > > (plus the free Bitstream Vera fonts), should this be removed?
> > > > > Anyone who still wants it could exit the /etc/kde3/kdm/Xservers
> > > > > file, or better yet, the XF86Config file.
> > > >
> > > > Any reason why we wouldn't want to have it ?
> > >
> > > Well, XFree86 automatically detects the proper dpi. Overriding it with
> > > kdm just adds another layer of configuration, which is unnecessary
> > > complication.
> > Yes that's true.
> > But AFAIK the XFree86 in debian (at least the one in sarge) cannot
> > correctly detect the dpi since the DisplaySize option is not set
> > (dpkg-reconfigure xserver-xfree86 does not set it).
> > Maybe that also should be fixed.
> > Regards
> > Zsolt