[How-To] User defined 16:9 resolutions other than standard ones on Ubuntu 11.10

My laptop can support Full HD resolution, but that strains my eyes. Even 1600×900 resolution on 15.6 inches screen looks tiny. I had to come up with something that I can set my own defined resolution of 16:9 aspect ratio. The solution is actually very simple.

1. First make a rough calculation about the screen dimension (width and height). In my case I presumed it to be 1450 and 815.
2. I was presented with

nitesh@nitesh-N53SV:~$ cvt 1450 815
# 1456×815 59.91 Hz (CVT) hsync: 50.68 kHz; pclk: 96.50 MHz
Modeline “1456x815_60.00″   96.50  1456 1536 1680 1904  815 818 828 846 -hsync +vsync

3. As I was presented with the Modeline, the following commands should follow :

xrandr –newmode “1456x815_60.00″   96.50  1456 1536 1680 1904  815 818 828 846 -hsync +vsync

xrandr –addmode LVDS1 “1456x815_60.00″

xrandr –output LVDS1 –mode “1456x815_60.00″

These commands on succession does the trick. If you want to make it default and have it run on startup, you have to add these lines to /etc/gdm/Init/Default. Hope it helps

Leave a Reply