![使用 HDMI 分配器将显示器设置为活动状态](https://linux22.com/image/86760/%E4%BD%BF%E7%94%A8%20HDMI%20%E5%88%86%E9%85%8D%E5%99%A8%E5%B0%86%E6%98%BE%E7%A4%BA%E5%99%A8%E8%AE%BE%E7%BD%AE%E4%B8%BA%E6%B4%BB%E5%8A%A8%E7%8A%B6%E6%80%81.png)
我最近买了一个hdmi分配器,分配器是不活跃的,这意味着一次只能有一个屏幕处于活动状态。
令人沮丧的是,我的电视似乎比与其共享的显示器具有更高的优先级,并且必须将其关闭然后再次打开才能显示。我希望显示器具有更高的优先级,当我想使用电视时,我只需关闭显示器或运行将其关闭的脚本即可。我尝试再次将其设置为活动状态xrandr
但似乎无法让它发挥作用。
以下是连接的屏幕
Xrandr --查询
Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.00*+ 59.94 50.00 60.00 50.04
1680x1050 59.95
1440x900 59.89
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
HDMI-0 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 530mm x 290mm
1280x720 60.00 + 59.94
1920x1080 60.00* 60.05
1680x1050 59.95
1600x900 60.00
1280x1024 60.02
1280x960 60.00
1152x720 60.00
1024x768 60.00
800x600 60.32
720x576 50.00
720x480 59.94
640x480 59.94 59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080 60.00*+
1680x1050 59.95
1440x900 74.98 59.89
1280x1024 75.02 60.02
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 72.81 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 是连接的电视,我相信 DVI-I-0 是我尝试激活的断开连接的显示器。
我尝试通过运行来打开它xrandr --output DVI-I-0 --auto
如果没有成功,我似乎所能做的就是在xrandr --output HDMI-0 --auto
用电视作为输出进行呼叫时使屏幕闪烁。