今天我试图将我的第二台显示器连接到我的笔记本电脑。我有:
我的问题是我的外接显示器 (VGA) 的分辨率大于 640x480。xrandr -q:
Screen 0: minimum 8 x 8, current 1920 x 800, maximum 8192 x 8192
VGA-0 connected 640x480+1280+0 (normal left inverted right x axis y axis) 0mm
640x480 59.9*+
320x240 120.1
LVDS-0 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331m
1280x800 59.9*+
HDMI-0 disconnected (normal left inverted right x axis y axis)
Run Code Online (Sandbox Code Playgroud)
正如我们所看到的,VGA 的分辨率没有更高,所以我添加了新模式:
xrandr --newmode $(gtf 1280 1024 70.4 | …
Run Code Online (Sandbox Code Playgroud)