Gentoo update changed my DPI

I recently updated my system with a quick emerge -uDN world because I was bored and needed some excitement on my desktop, everything went smooth but when I went to restart X I noticed that one of my monitors fonts where off, thinking it was the actual application I went to check it out and noticed on my second monitor everything was fine; It hit me, it was a DPI setting, so I checked the monitor’s in question X session and noticed that it was 75×75 and not m normal 90×88 DPI.  The command to check ones DPI in Linux is:

xdpyinfo | grep -B1 dot

Xdpyinfo is apart of x11-apps/xdpyinfo package if you cannot find the utility.

I had to make a settings change inside /etc/X11/xorg.conf

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "DPI" "90 x 88"
    Option         "metamodes" "DFP-2: 1440x900_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Adding the Option DPI 90×88 forced the monitor in question to use that DPI and everything looks good.

Tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.