ubuntu split screen (dual screen display)

The ubuntun system realizes two screen display of notebook and external monitor

1. View relevant display information and enter commandsxrandr

Insert picture description here
You can see that I have two monitors: eDP-1 (main monitor) and HDMI-2

2. Setting up the display

2.1. Two screens show the same content-clone

xrandr --output HDMI-2 --same-as eDP-1 --auto

Description:

  1. HDMI-2 and eDP-1 are the monitor information you just viewed
  2. auto is the highest resolution

2.2. Dual screen display different content-extended

If the secondary display is on the left side of the main display, use the left extension

xrandr --output HDMI-2 --left-of eDP-1 --auto

If the secondary display is on the right side of the main display, we use the right extension

xrandr --output HDMI-2 --right-of eDP-1 --auto

2.3. To specify the resolution of the external monitor, you can use the following command (1280*1024)

xrandr --output HDMI-2 --right-of eDP-1 --mode 1280x1024

2.4. Turn off the eDP-1 display

xrandr --output eDP-1 --off

2.5. Turn on the HDMI-1 interface display and turn off the VGA-1 interface display

xrandr --output HDMI-2 --auto --output eDP-1 --off

2.6. If you want more settings, you can use the command to xrandr --helpview the help

3. Split screen settings can also be set in the display of system settings

Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_43901865/article/details/112620534