温馨提示×

Ubuntu xrandr多显示器设置技巧

小樊
133
2024-07-10 16:01:29
栏目: 智能运维

在Ubuntu中使用xrandr命令可以很方便地设置多个显示器的布局和分辨率。以下是一些常用的xrandr技巧:

  1. 查看所有连接的显示器:
xrandr --listmonitors
  1. 查看所有可用的显示器和分辨率:
xrandr
  1. 设置主显示器:
xrandr --output HDMI-0 --primary
  1. 设置副显示器的位置:
xrandr --output HDMI-1 --auto --right-of HDMI-0
  1. 设置显示器分辨率:
xrandr --output HDMI-0 --mode 1920x1080
  1. 设置显示器旋转方向:
xrandr --output HDMI-0 --rotate left
  1. 同时设置多个显示器的分辨率和位置:
xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --output HDMI-1 --mode 1280x1024 --right-of HDMI-0

以上是一些常用的xrandr技巧,可以帮助您方便地设置多个显示器在Ubuntu系统中的布局和分辨率。

0