MathJax

Syntax Highlighter CSS (shCore.css)

Syntax Highlighter CSS (shThemeDefault.css)

Syntax Highlighter JS (shCore.js)

Syntax Highlighter JS (shAutoloader)

Highlight CSS (default.css)

Highlight JS (highlight.pack.js)

Syntax Highlighter CSS (custom.css)

Friday, March 19, 2010

EeePC with an external monitor

Triumph! For the longest time, I wondered why X would never honor my DPI settings, even if i passed it the -dpi 96 command line flag. My fonts would look fine using the EeePC screen but look too small on my external monitor (or if I fiddle with my xorg.conf it'd be the other way around). It turns out I have to add sections for each monitor and name the identifiers something special to normalize that DPI:

Section "Monitor"
  Identifier  "LVDS"
  Option    "DPMS"
  DisplaySize 270 158 # 1024x600 @ 96dpi
EndSection

Section "Monitor"
  Identifier "VGA"
  Option    "DPMS"
  DisplaySize 488 304 # 1920x1200 @ 96dpi
EndSection
Post a Comment