Comment 49 for bug 589485

Revision history for this message
Anders Kaseorg (andersk) wrote :

This change was introduced for all RandR 1.2 drivers by http://cgit.freedesktop.org/xorg/xserver/commit/?id=fff00df . (Notably, the nvidia binary driver is not affected.)

GNOME does also force X back to 96 DPI when gnome-settings-daemon starts up (bug 157398, bug 246718). It’s even more annoying about it, too: although you can configure the GNOME DPI to any value with gnome-appearance-properties, the X screen itself is forced to 96 DPI regardless of the GNOME value.

So now, in order to use my 130 DPI screen without squinting at tiny fonts, I need to create a /etc/X11/xorg.conf that configures DisplaySize, _and_ configure the following script to start on login with gnome-session-properties:

#!/bin/sh
xrandr --fbmm $(xrandr -q | sed -n 's/^.* connected .* \([0-9]*\)mm x \([0-9]*\)mm.*$/\1x\2/p')
gconftool-2 --unset /desktop/gnome/font_rendering/dpi