Advertisement
Guest User

Untitled

a guest
May 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. // Use CVT to generate standard X config line
  2. cvt -v 1366 768 60
  3. # 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
  4. Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
  5.  
  6. // use xrandr
  7. sudo xrandr --newmode "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
  8.  
  9. // identify the correct "screen" identifier
  10. xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/"
  11. LVDS-1
  12. VGA-1
  13.  
  14. // add the newly created resolution
  15. sudo xrandr --addmode VGA-1 1368x768_60.00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement