ubuntu设置双显示器

在命令行中依次输入

  1. cvt 1920 1080
  2. sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
  3. sudo xrandr --addmode DP-1 "1920x1080_60.00"
  4. sudo xrandr --output DP-1 --mode "1920x1080_60.00"

以上设置后重启会恢复到原来的默认设置,永久设置需要下面

  1. 在./.profile文件最后添加

xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode DP-1 "1920x1080_60.00"
xrandr --output DP-1 --mode "1920x1080_60.00"

你可能感兴趣的:(ubuntu设置双显示器)