#!/bin/bash # # 1680x1050 :: Script to force 1680x1050 on VGA1 connector # # This script is useful when the VGA output of the video card is # connected to a splitter, which is then connected to a video monitor # and a projector (which is the case in most of the electronic classrooms # at Seneca). The splitter prevents the EDID from being probed by DDC, so # the system does not know the available resolutions, and picks a low-res # (safe) mode. This script forces 1680x1050 resolution -- be sure that # the LCD and projector can both handle this resolution before running # this script. It is known to work in most of the TEL-building classrooms # as of Fall 2010 on Fedora 13. # # Chris Tyler 2010-09-21 # echo "Forcing 1680x1050 mode on main VGA monitor, if possible." exec >/dev/null 2>&1 xrandr --newmode "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync xrandr --addmode VGA1 1680x1050 xrandr --addmode VGA-1 1680x1050 xrandr --addmode VGA 1680x1050 xrandr -s 1680x1050