How to set up the system screen through the xrandr command in Linux
1. View current screen information
Xrandr
two。 Set up the home screen
Xrandr-output VGA1-auto-primary
Xrandr-output DP2-auto-primary
The specific value of the boldface part, you need to see what is shown in the first step
3. Set up the expansion screen
Xrandr-output DP2-right-of VGA1-auto
The specific value of the boldface part, you need to see what is shown in the first step
4. Set up the copy screen
Xrandr-output DP2-same-as VGA1-auto
Xrandr-output DP2-same-as VGA1-mode 1920x1080
The specific value of the boldface part, you need to see what is shown in the first step