How do I find out screen resolution of my Linux desktop?

last updated in Categories

It refers to the clarity of an image on screen. Screen resolution suggests the number of dots or pixels on the entire computer screen. For example, when you say a 640 x 480 screen resolution then all you means is individual 640 dots on each 480 lines i.e. 307K pixels.

Use xdpyinfo command to find out current screen resolution:

$ xdpyinfo  | grep 'dimensions:'

dimensions: 800×600 pixels (283×212 millimeters)

You can also use xrandr command:

$ xrandr | grep '*'

*0 1024 x 768 ( 283mm x 212mm ) *61

You can also use Desktop tools to find out current desktop screen resolution:

(A) Gnome Desktop

Click Gnome Desktop menu > Preferences > Screen resolution


(B) KDE Desktop

  1. Click on K desktop Icon > Select Control Center
  2. Select Peripherals (under Index tab) > Select Display
  3. It will display Screen resolution or size

See Screen resolution at wikipedia.

Get 15% off on Linux Foundation certified SysAdmin, Progamming, Kubernetes/Containers and Open Stack certification & course. Use "SPLASH15" coupon code. Offer expires on August 27, 2018
training.linuxfoundation.org

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

2 comment

  1. This cannot be found on the AV LINUX distribution while using it as a LIVE DVD. The resolution setting is at first glance nowhere to be found, at second glance neither.We have to see what happens when used after installation. Will it then be easy to find the screen resolution setting … we’ll see …

    Have a question? Post it on our forum!