How to query maximum display resolution from command line?
- Is said query possible?
- If possible, how?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
xrandr, along with some global options, is used to set the size, orientation and/or reflection of the outputs for a screen. It can also set the screen size. Entering
will display the allowed resolutions, ie
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 VGA1 connected 800×600+0+0 (normal left inverted right x axis y axis) 267mm x 200mm 800×600 85.1* + 640×480 75.0 60.0 720×400 70.1