I am trying to set up a 5k monitor with Ubuntu. It has two DisplayPort inputs because the bandwidth is too large for one cable. xrandr
1.5.0 comes with support for multiple monitors and tiling output. So far I have managed to set up the two DP outputs as one screen:
xrandr --screen 0 --output DisplayPort-0 --mode 2560x2880 --pos 0x0
xrandr --screen 0 --output DisplayPort-1 --mode 2560x2880 --pos 2560x0
xrandr --screen 0 --setmonitor HPz27q 5120/597x2880/336+0+0 DisplayPort-0,DisplayPort-1
However I can't figure out how to make KDE use this screen instead of the two separate monitors. Here is the output of xrandr -q
:
xcreen 0: minimum 320 x 200, current 5120 x 2880, maximum 16384 x 16384
DisplayPort-0 connected 2560x2880+0+0 (normal left inverted right x axis y axis) 299mm x 336mm
2560x2880 59.98*+
...
640x480 59.98
DisplayPort-1 connected primary 2560x2880+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95 +
...
2560x2880 59.98*
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
I have tried DISPLAY=:0.0 exec startkde
in the .xsession
-file, but this doesn't work. KDE still treats the two cables as two separate screens. Is it possible to present the monitors as one screen to KDE by using the tiling features? I have tried to find the answers to this in the docs/manpages, however there are no manpages for version 1.5 even though this version was launched in 2015.