NOTE – Please click on the title of this post and view it by itslef to see the whole text, I am having issues with my template not wrapping long line right now.
Here is a easy script to correct issues when you do not have the correct resolution available in Ubuntu 8.10 for your external monitor.
This script checks for a usb hub in my docking station and if it is present adds the non-detected, but supported, resloution to the external monitor. I am checking for the hub instead of the monitor because xrandr seems to think it is always connected!?
I just added this to my /etc/gdm/init/Default script
if lsusb | grep "Cypress"; then echo "Changing LCD resolution" xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync xrandr --addmode VGA 1440x900_60.00 xrandr --output VGA --mode 1440x900_60.00 else echo "No Changes" fi
What this does is add the resolution 1440×900 at 60hz to the external monitor.
This is a supported resolution but is not detected for some reason.
Any questions or comments please feel free to let mw know!


