Skip to content

Instantly share code, notes, and snippets.

@cbrunnkvist
Created July 31, 2015 05:05
Show Gist options
  • Save cbrunnkvist/7a81700e97422c453124 to your computer and use it in GitHub Desktop.
Save cbrunnkvist/7a81700e97422c453124 to your computer and use it in GitHub Desktop.
Xorg (on Ubuntu 14.04) config for "1:2" pixel-to-element (=half resolution) display resolution
# Place in /usr/share/X11/xorg.conf.d/05-lenovo-yoga-2-modeline.conf
Section "Monitor"
Identifier "Monitor0"
# Calculated with "cvt $((3200/2)) $((1800/2))"
# 1600x900 59.95 Hz (CVT 1.44M9) hsync: 55.99 kHz; pclk: 118.25 MHz
Modeline "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync
EndSection
Section "Screen"
Identifier "Screen0"
# Device name found with "xrandr"
Device "eDP1"
Monitor "Monitor0"
SubSection "Display"
Modes "1600x900_60.00"
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment