Xubuntu 12.04: Forcing Monitor DPI Settings

For whatever reason, X no longer automagically determines the dots/inch value for the right-hand portrait monitor and, for lack of anything better, defaults to 75 DPI. That scales everything down by 25% 33%, makes the menu fonts eye-crackingly small, and squinches the monospaced terminal font. The fix requires jamming the proper value directly into /etc/X11/xorg.conf along with all the other stuff:

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Dell2005FP"
    VendorName     "Dell"
    ModelName      "DELL 2005FPW"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
    Option         "DPI" "98x98"

One could calculate the actual value, but that matches what X determines for the left-hand landscape monitor.

And then it Just Works…


  1. #1 by madbodger on 2012-11-05 - 09:36

    Looks like the HTML entity escaping went a bit haywire. But that’s useful information. I know you tuck such things in here so you’ll remember them, but it’s a useful reference for a bunch of us as well, thanks!

    • #2 by Ed on 2012-11-05 - 09:48

      Again! Repeatedly, in this case; I fixed Yet Another glitch yesterday, before deciding that Everything Was OK…

      Thanks for the heads-up. [sigh]