How To Find Screen Resolution From Ubuntu Terminal

A very nice guy introduced me to the Xrandr in Europython 2013 and in this article I will teach you guys how to use this command line interface to find your screen resolution via the terminal. According to the description in the manual page, xrandr is used to set the size, orientation and/or reflection of the outputs for a screen. But we are cool linux geeks, so why not use the tool for finding out our screen resolution? Ok open a new terminal (CTRL+ALT+T in Ubuntu) and run the following command.

xrandr -q

What do you guys see? Can you understand anything from the following output?

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

To make things simple we need to use the grep command like shown below.

xrandr -q | grep Screen

how to find screen resoultion from terminal

Minimum Screen Resolution: 320x200
Current Screen Resolution: 1366x768
Maximum Screen Resolution: 8192x8192

Oltjano Terpollari 3:07 am

About Oltjano Terpollari

Oltjano Terpollari is a very passionate computer geek studying python, linux, netcat power tools and living a binary life. He goes by the nickname Ambition and is very happy living a science life. He also loves technical blogging and sharing his knowledge with others.

Author Archive Page

Have anything to say?

Your email address will not be published. Required fields are marked *

All comments are subject to moderation.


  1. Do you know also what I should do if the outcome is like this:

    minimum 640x480
    current 640x480
    maximum 640x480

    but everything looks huge on my screen... the red cross button on the left top of every window is really a cm big (!!) While on my other computer that same button is half the size.

    Can you give me a helping hand to solve this problem?