Change screen resolution from the command line with xrandr

The command xrandr can be used to change the screen resolution from the command line. Execute the xrandr command to see available screen resolutions. The output will look like this:

Screen 0: minimum 320 x 240, current 1440 x 900, maximum 1440 x 900
default connected 1440x900+0+0 0mm x 0mm
   1440x900       50.0*
   1360x768       51.0     52.0
   1152x864       53.0
   1024x768       54.0
   960x600        55.0
   960x540        56.0
   840x525        57.0     58.0
   800x600        59.0     60.0
   800x512        61.0
   720x450        62.0
   700x525        63.0
   680x384        64.0     65.0
   640x512        66.0
   640x480        67.0     68.0
   576x432        69.0
   512x384        70.0
   400x300        71.0
   320x240        72.0

To change the resolution:
xrandr -s 1024x768

Posted in Ubuntu   |   Comments (5 )

Comments

Change is in power only during one session.
The old exists again, when I next time open the machine.
I have Kubuntu 8.10
Situation is the same, when i use Kubuntu`s own tool.
Something in KDE? Setting stays ok, but it does not go to reality. I am sorry my knowlidges in english!

This doesnt work on my ubuntu server 8.10 i386 :(

how do you change resolution in 8.10?
i instaled recomended nvidia drivers, activeted, and still nothing… it say that max resolution is 640×480, and i need 1024×768. can you please help me, im new at this, i belived that using linux is easy….

also, i instaled linux using wubi…. u can send me a mail…or…tnx

i try this command line in my RUN window:
xrandr -s 1024×768
but it doesnt work!!

Leave a comment

(required)

(required)