DPI settings.
Christian Dywan
christian at twotoasts.de
Tue Feb 17 11:41:58 CET 2009
Am Tue, 17 Feb 2009 11:34:21 +0100
schrieb Yves-Alexis Perez <corsac at debian.org>:
> [This is not about 4.6.0 release so changing the subject]
>
> On mar, 2009-02-17 at 11:29 +0100, Jelle de Jong wrote:
> > I just want to make sure, the new xfconf does not changes the dpi of
> > the xserver by default, and should only do this when especially
> > tolled to, also please don't make some smart auto detect feature
> > for it. If it is set wrong the problem should be fixed not making
> > code to catch the exceptions.
>
> What should be done in Xfce at startup is:
> - look in xfconf if there is an user-set DPI value
> - if not, ask xserver for the DPI of the display
> - if not present, use 96
You want to have a computed value here, 96 is not at all useful for the
reasons you already mentioned: it's likely wrong for your monitor and
n monitors don't (always) have the same size.
> - export the value to applications, using Xsettings
ciao,
Christian
More information about the Xfce4-dev
mailing list