在编码时,总觉得屏幕大小不够,要是能多个屏多好,可以这样
把你的显示器连接到你的电脑,然后开启一个终端
输入:xrandr
显示如下:
LVDS1 connected 1366x768+1024+0 (normal left inverted right x axis y axis) 309mm x 174mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 59.9 + 75.0
1024x768 75.1 70.1 60.0*
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
我的效果是这样的,其中
LVDS1是笔记本laptop的显示器名字,
VGA1是我接入的显示器名称
然后,编写一个文件如ÿ