Before running the lines mentioned above it looks like this:
Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 8192 x 8192
LVDS1 connected (normal left inverted right x axis y axis)
1366x768 60.02 +
1360x768 59.80 59.96
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 3440x1440+0+0 (normal left inverted right x axis y axis) 800mm x 335mm
3440x1440 29.99*
2560x1080 60.00
1920x1080 59.99 60.00 59.94
1680x1050 59.88
1600x900 59.98
1280x1024 60.02
1280x800 59.91
1152x864 59.97
1280x720 60.00 59.94
1024x768 60.00
800x600 60.32
720x480 60.00 59.94
640x480 60.00 59.94
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)