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

DPI setting



Dear all,

first of all, I was unable to search the archives for this questions
which most likely was discussed earlier. The search interface on
http://lists.debian.org/search.html does not offer any way to specify
the list to search, but instead runs the search on all lists. The
documentation at http://wiki.debian.org/DebianMailingLists/SearchHowto
mentions a list selection, which I am unable to find.

Now to the real issue. My new notebook is a Zenbook Prime with a 13,3"
screen and 1920x1080 resolution. This calculates to about 166 DPI.

As far as I understand the discussion at
https://bugs.freedesktop.org/show_bug.cgi?id=23705 (which is also linked
in your FAQ) X intentionally sets the DPI value to 96. As you can
imagine, this causes very tiny fonts on my system.

I also found a patch reverting the commit that caused the hardcoding to
96 DPI:
http://dev.blankonlinux.or.id/browser/pattimura/xorg-server/debian/patches/201_report-real-dpi.patch

However, I am unable to apply this patch. Patching "xserver-xorg" does
not seem to be the right thing to do.

My questions (feel free to answer a subset!):

1) How can I make my system usable? Setting DPI values for Gnome and
starting xterm with a larger font is only a hack, but no solution.

2) How can I apply the mentioned patch? Where can I find the package
that contains the file hw/xfree86/modes/xf86RandR12.c?

3) What is Debian's position regarding this problem? What is the Debian
way to do things right for hardware like mine (166 DPI) or the new
MacBook Pro (220 DPI)?

Pointers to previous discussions, if they exists, are also appreciated.

I am using Debian stable (with some packages from backports and testing
up to experimental), gdm3 and Gnome using xmonad as window manager. I
have no idea where to put "xrandr --dpi" or "xrandr --fbmm" or similar
commands so that the text size of "xterm" changes. I just managed to get
programs like xrandr and xdpyinfo show the right DPI, which being the
only change does not help at all.

Best regards,
-- 
Carsten Otto
carsten@c-otto.de
www.c-otto.de

Attachment: signature.asc
Description: Digital signature


Reply to: