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

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.

ADVERTISEMENTS

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 the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
Network Utilitiesdig host ip nmap
Package Managerapk apt
Processes Managementbg chroot disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w

ADVERTISEMENTS
2 comments… add one
  • Benz Apr 12, 2012 @ 16:21

    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 …

  • erm3nda Oct 26, 2015 @ 11:29

    U can also get screen data using “inxi-G | egrep -o ‘Resolution:.*hz'”

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.