Ubuntu Gnome 17.10 中的双显示器混乱

Dɑv*_*vïd 5 ubuntu gnome multi-monitor display

注意,由于这是运行“ Ubuntu +1 (alpha) ”的机器上的问题,因此它在 AskUbuntu 上超出范围,所以我希望在这里获得一些帮助。

今天早上我遇到了一些奇怪的屏幕行为。我已经使用 Ubuntu Gnome 17.10 (alpha2) 几个星期了,现在非常愉快,主显示器在右侧,辅助显示器在左侧,带有跨屏壁纸——所有显示器都正确显示,并且鼠标从屏幕最左边缘正确移动。辅助显示器,穿过中间分隔线,到主显示器的最右边缘。

但今天早上这种行为发生了变化:

  • 正确识别主/辅助监视器;
  • 并且面板仅出现在主设备上(在我的设置中是正确的);
  • 壁纸是相反的,右侧(主显示器)的左上角似乎是“0,0”,因此鼠标从主显示器的最右侧移动,然后出现在左侧显示器的最左侧(中心接缝是硬边界)。

xrandr报告:

Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 8192 x 8192
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.95*+
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
DP-3 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1200     59.95*+
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1024x768      60.00  
   800x600       60.32  
   640x480       59.94  
Run Code Online (Sandbox Code Playgroud)

似乎~/.config/monitor.xml是正确的(据我所知):

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>1680</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-3</connector>
          <vendor>HWP</vendor>
          <product>HP LA2405x</product>
          <serial>CN43220DJ0</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1200</height>
          <rate>59.950672149658203</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>HDMI-2</connector>
          <vendor>DEL</vendor>
          <product>DELL 2209WA</product>
          <serial>H735H9862DNL</serial>
        </monitorspec>
        <mode>
          <width>1680</width>
          <height>1050</height>
          <rate>59.954746246337891</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>
Run Code Online (Sandbox Code Playgroud)

如果我删除monitors.xml,“显示设置”对话框不会创建新对话框。

然而,这里有一个差异:虽然monitors.xml正确地将戴尔(次要,物理上位于左侧)置于“0,0”,但输出显示了xrandr我实际看到的内容,即惠普(主要,物理上位于右侧具有“0,0”,其左侧的 Dell 偏移了 1920(即它们“实际上”颠倒了)。

因此,“显示设置”会错误地看到它们,即,[#1][#2]尽管它们应该显示为[#2][#1]. 这是当我尝试使用“排列组合显示”保存正确的显示设置时发生的情况:

设置对话框

该设置根本不会“粘住”,并且“主要”总是恢复到左侧,而不是停留在右侧。

Shutter看到我的显示器/桌面,因为显示设置组合显示描述了它:

组合显示

但这是我实际看到的:

监控照片

我怎样才能说服 Gnome Ubuntu 认识到我的桌面 0x, 0y 应该是辅助显示器的左上角,而不是主显示器的左上角?