1.首先使用cvt 1920 1080 查看分辨率对应的配置的信息,如下:

# 1920×1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -h

2,使用xrandr 查看当前显示器分辨率的信息,其中Virtual1是显示器的名字,如下:

Screen 0: minimum 1 x 1, current 1920 x 1200, maximum 8192 x 8192
Virtual1 connected primary 1920×1200+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
800×600 60.00 + 60.32
2560×1600 59.99
1920×1440 60.00
1856×1392 60.00
1792×1344 60.00
1920×1200 59.88*
1600×1200 60.00
1680×1050 59.95
1400×1050 59.98
1280×1024 60.02
1440×900 59.89
1280×960 60.00
1360×768 60.02
1280×800 59.81
1152×864 75.00
1280×768 59.87
1024×768 60.00
640×480 59.94
Virtual2 disconnected (normal left inverted right x axis y axis)
Virtual3 disconnected (normal left inverted right x axis y axis)
Virtual4 disconnected (normal left inverted right x axis y axis)
Virtual5 disconnected (normal left inverted right x axis y axis)
Virtual6 disconnected (normal left inverted right x axis y axis)
Virtual7 disconnected (normal left inverted right x axis y axis)
Virtual8 disconnected (normal left inverted right x axis y axis)

3,vim /etc/profile,在最后插入如下信息:

xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr –addmode Virtual1 “1920x1080_60.00”

最后soure /etc/profile立即生效,然后就可以在图形界面里修改了,或者使用xrandr命令修改。

 

 

 

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注