config os display resolution

#cvt "1920 1080"
output:# 1920x1080 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 -hsync +vsync

蓝色部分复制一下,下面要用

#xrandr  (查看显示器名称,如:VGA-1)
#vim /etc/profile 在末尾添加如下内容:
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA-1 "1920x1080_60.00"

保存退出,之后sorce生效

#source /etc/profile

猜你喜欢

转载自blog.csdn.net/weixin_41216652/article/details/84307916
os
今日推荐