# The Xserver(8) recognizes the dimensions of the monitor correctly, but
# later the video driver (e.g.intel(5)) sets them to much larger values.
# I guess this is considered a feature, intended to shrink the output on very
# small screens like subnotebooks/tablets/phones.
# Pro:
# + for the GUI it appears like a larger monitor, and more items can be
# placed on the sceen -- this improves the usability of these devices.
# + for developers it's much simpler to agree on a standard resolution
# (nowadays 96 DPI), and write their programs just for that.
# Then the requirements of different use-cases are done by scaling.
# Contra:
# - the server lies (intentionally) about the DPI, thus all the fonts are
# shrinked and often difficult to read, esp. when browsing the internet.
#
# While this may make sense on a smartphone/tablet, I want "the truth"
# on my 14" laptop.
# In a multi-monitor setup, the key is to link the monitor to the card in the
# device section of the graphics card: e.g. in
# /usr/local/etc/X11/xorg.conf.d/video.conf
# Section "Device"
# Identifier "<Intel HD Graphics 5500>"
# Driver "intel"
# Option "Monitor-LVDS1" "<Notebook internal LCD>" or
# Option "Monitor-eDP1" "<Notebook internal TFT>"
# Option "Monitor-DP2" "<external monitor (needs setup)>"
# EndSection
# You can also use "<default monitor>", which is default.
# NOTE: beware, naturally in a docking station the numbering changes:
# Option "Monitor-DP2-3" "<external LCD [VGA,docked]>"
#
Section "Monitor"
Identifier "<default monitor>"
# these two should be enabled if DisplaySize is set below
# You can grep(1) these values from /var/log/Xorg.0.log
VendorName "CMN"
ModelName "1482"
Option "primary" "yes"
# You can grep(1) these values from /var/log/Xorg.0.log
# Although the Xserver(8) detects it, we have to tell intel(5) explicitely
# to use this and not setting the wrong DPI.
DisplaySize 309 174
EndSection