Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu and the resolution of the desktop is so big it only shows about 50% of the screen but is shows up normal while using command line.

What would I type in the command line to change the desktop screen resolution?

share|improve this question
Follow the procedures mentioned in this answer and tell us if that method solve your problem. – Lucio Apr 14 '13 at 21:09
What do you mean by "while using command line"? That is, when and how to you get to the command line? – Tanel Mae Apr 14 '13 at 21:29 – Raja Apr 15 '13 at 14:06

This worked for me:

xrandr --output LVDS --mode 1024x768

To get a list of valid names for "output" (and modes) use xrandr -q

Note: If running from a text terminal, that is not running in gfx environment, you'll have to add a -d :0 parameter:

xrandr -d :0 -q
xrandr -d :0 --output LVDS --mode 1024x768
share|improve this answer
There was an warning saying VGA1 or LVDS not found – Ramana Reddy Oct 4 '15 at 14:55
lookup the screen after first comment, choose the profile appear in the screen – Hoai-Thu Vuong Jul 12 at 18:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.