Changing monitor resolution on 12.04

James ubuntu.com at jamesplace.net
Wed Dec 12 18:31:27 UTC 2012


There may be an easier way but...

At the command prompt enter: 'xrandr'

Your output will resemble:
---
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 4096 x 4096
VGA-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 0mm x 
0mm
   1024x768       60.0  
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
   1600x1200_70.00   69.9* 
---

Record the DisplayDesignator in line two. (“Mine is VGA-1”)

Using the documentation for your equipment, determine a valid resolution and 
refresh rate.
I'm using 1600x1200 at a refresh of 70.

At the command prompt enter: 'cvt <res_X> <res_Y> <RefreshRate>'
For example: cvt 1600 1200 70

Your output will resemble:
---
# 1600x1200 69.92 Hz (CVT) hsync: 87.55 kHz; pclk: 190.50 MHz
Modeline "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 1207 1252 -
hsync +vsync
---

Record the Mode and Modeline from the second line.

At the command prompt enter:
xrandr --newmode <Modeline>
xrandr --addmode <DisplayDesignator> <Mode>
xrandr --output <DisplayDesignator> --mode <Mode>

For example, I use: 
xrandr --newmode "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 
1207 1252 -hsync +vsync
xrandr --addmode VGA1 1600x1200_70.00
xrandr --output VGA1 --mode 1600x1200_70.00

This will change your monitor resolution. 
To make these changes permanent add the three 'xrandr' lines to end of:
   /etc/kde4/kdm/Xstartup

(Sarcastic unnecessary comment:
 Any modern operating system aught to be able to accomplish what Windows 95 
could do nearly 20 years ago, but I guess this is the new and improved Linux.)
-- 
James 

===

On Wednesday, December 12, 2012 11:29:12 AM Jim Byrnes wrote:
> On a fresh install of 12.04 how can I change the resolution of a
> Hannspree HF235.
> 
> I was able to set this monitor to 1920x1080 on 10.04 but the best I can
> do on 12.04 is 1024x768.
> 
> Video is an onboard gforce 9100 and I am using the first selection
> presented in the install additional drivers gui interface.  The driver
> is Nvidia vers 295.40.
> 
> This is the same setup I was discussing in a thread about Twinview, but
> I started a new thread because the problem is not with Twinview but is a
> problem with this monitor.
> 
> Thanks,  Jim
> 
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list