我有三头,每个旋转 90 度的显示器布局:
Screen 0: minimum 8 x 8, current 4920 x 1920, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1080x1920+0+0 left (normal left inverted right x axis y axis) 475mm x 267mm
1920x1080 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 1080x1920+1920+0 left (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 1080x1920+3840+0 left (normal left inverted right x axis y axis) 475mm x 267mm
1920x1080 60.00*+
1280x1024 75.02 60.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00 60.32
640x480 75.00 59.94
DP-5 disconnected (normal left inverted right x axis y axis)
并设置super-shift-left
快捷super-shift-right
方式以跨显示器移动窗口:
由于某种原因,这种行为与我期望看到的完全相反,即将super-shift-left
窗口移动到其当前监视器位置的右侧,super-shift-right
反之亦然。有趣的是,它曾经使用相同的监视器集和相同的 Ubuntu 16.04 安装。我只是碰巧拆卸/组装我的工作站,从一个房间搬到另一个房间。
所以问题出在 Compiz 配置中的输出顺序错误。出于某种原因,我的布局如下图所示
而正确的从左到右布局应该看起来像
修复并注销后,一切都开始按预期工作。