Ubuntu 怎么设置两个显示器不同分辨率

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
Younger361
帖子: 1
注册时间: 2020-01-21 13:37
系统: Ubutun 16.04.1

Ubuntu 怎么设置两个显示器不同分辨率

#1

帖子 Younger361 » 2020-01-21 14:22

我配置的是xorg.conf文件,文件格式为:

Section "Module"
Disable "dri"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
EndSection

Section "Device"
Identifier "Tegra0"
Driver "nvidia"
# Allow X server to be started even if no display devices are connected.
Option "AllowEmptyInitialConfiguration" "true"
EndSection

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"


EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
EndSection

Section "Screen"
Identifier "Screen0"
Device "Tegra0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
设置的时候两个屏都显示的1280x1024 我想主屏显示1920x1080 副屏显示1280x1024,但是始终两个屏显示一样的分辨率,要让两个屏显示不同分辨率怎么配置?
头像
yq-ysy
论坛版主
帖子: 4643
注册时间: 2008-07-19 12:44
来自: 广西(桂)南宁(邕)

Re: Ubuntu 怎么设置两个显示器不同分辨率

#2

帖子 yq-ysy » 2020-01-21 20:58

双显示器分辨率.png
如果你用的是Nvdia显卡,图中鼠标点着的就是设罝分辨率的地方。
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: Ubuntu 怎么设置两个显示器不同分辨率

#3

帖子 astolia » 2020-01-22 10:55

用xrandr或者它的图形界面前端arandr来设置。要用xorg.conf的话,里面要写多个Section "Monitor",可以参考 https://superuser.com/questions/313146/ ... -xorg-conf 下面回答中的配置
回复