Adding a new display resolution to Ubuntu

I have a 16:9 widescreen monitor and I wanted to use it as my laptop display. Ubuntu 9.10 displayed 1920×1080 out of the box, but it was too small to see from far.
I wanted to display 1280×720 and it was easy to do using xrandr:

Use cvt to find the modeline:

$ cvt 1280 720
# 1280x720 59.86 Hz (CVT 0.92M9) hsync: 44.77 kHz; pclk: 74.50 MHz
Modeline "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync

Copy and paste the modeline:

$ xrandr --newmode "1280x720_60.00"   74.50  1280 1344 1472 1664  720 723 728 748
$ xrandr --addmode VGA1 1280x720_60.00

Now you can select the new resolution from the display manager.

Making it permanent: add the above xrandr commands to /etc/gdm/PreSession/Defaults

$ sudo cat >> /etc/gdm/PreSession/Defaults to this post:

Thanks to this post:

http://www.linuxreaders.com/2009/11/04/change-ubuntu-9-10-resolution/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s