Setting up 2 monitors for extended use on XFCE4.
The xrandr command is the one we’ll need today. It is used to set the size, orientation and/or reflection of the outputs for a screen. Show the state of the outputs:
$ xrandr Screen 0: minimum 320 x 200, current 3600 x 1080, maximum 8192 x 8192 DFP1 disconnected (normal left inverted right x axis y axis) DFP2 disconnected (normal left inverted right x axis y axis) CRT1 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 408mm x 255mm 1680x1050 60.0*+ 1400x1050 60.0 1600x900 60.0 1360x1024 60.0 1280x1024 75.0 60.0 1440x900 75.0 59.9 1280x960 60.0 1280x800 60.0 1152x864 60.0 75.0 1280x768 60.0 1280x720 60.0 1024x768 75.0 70.1 60.0 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 67.0 59.9 CRT2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm 1920x1080 60.0*+ 1680x1050 60.0 1400x1050 60.0 1600x900 60.0 1360x1024 60.0 1280x1024 75.0 60.0 1440x900 60.0 1280x960 75.0 60.0 1280x800 59.8 1280x768 59.8 1280x720 60.0 1024x768 75.0 60.0 800x600 75.0 60.3 640x480 75.0 59.9
We want the smaller screen (CRT1) to be on the right side of the bigger one (CRT2):
$ xrandr --output CRT1 --right-of CRT2
All done. Add the command to “Session and Startup” if you want the screen to be automatically extended on a system start-up.