User Tools

Site Tools


screen_resolution

If you want to send us your comments, please do so. Thanks
More on comments


Screen resolution

The p stands for progressive scan, non interlaced. Pixels are counted vertically
The K stands for kilo = 1000. Pixels are counted horizontally

NameKpResolutionRemark
UHD4k2160p3840 × 2160Cinema uses DCI 4k 4096 × 2160
2k 2048 × 1080
QHD 1440p2560 × 1440Quad High Defenition
WUXGA 1920 × 1200Widescreen Ultra Extended Graphics Array
FHD 1080p1920 × 1080Full High Defenition
SXGA 1280 × 1024Super Extended Graphics Array
XGA 1024 × 768Extended Graphics Array
HD 720p1280 × 720High Defenition
SVGA 800 × 600Super Video Graphics Array
VGA 640 × 480Video Graphics Array
480p
360p
QVGA 320 × 240Quarter Video Graphics Array
240p
144p

Files

/var/log/Xorg.0.log

To have installed

xbase-clients

Which contains xrandr

Get going

Make sure the monitor can handle that resolution. The monitor can get damaged if it can not handle the resolution and you set it to that resolution
Login as root

# xrandr

Output example

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
VGA-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3     56.2  
   848x480        60.0  
   640x480        59.9  
HDMI-1 disconnected (normal left inverted right x axis y axis)

Remember VGA-1 or whatever is in its place
A B is the desired resolution

# cvt A B

The output. The # is in the output, it is not a prompt:

# 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

Run, where “1440×900“ is the desired resolution and 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync the needed part from the cvt command you just ran

# xrandr --newmode "1440x900" 106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

Run, where VGA-1 is the value you had to remember and 1440×900 is the desired resolution

# xrandr --addmode VGA-1 1440x900
# xrandr --output VGA-1 --mode 1440x900

Now the screen should go to 1440×900. It might go black while doing that

Second screen

secondscreen=$(xrandr -q | grep " connected" | sed -n '2 p' | cut -f 1 -d ' '); [ "$secondscreen" ] && xrandr --output $secondscreen --gamma 0.6:0.75:1

Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
screen_resolution.txt · Last modified: 17-04-2020 19:16 by wim