Bug 477732

Summary: Virtual monitor created via "xrandr --setmonitor" is not recognized as a monitor
Product: [Plasma] kwin Reporter: RicardoPQ <kde>
Component: xrandrAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.9   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description RicardoPQ 2023-11-29 20:46:22 UTC
SUMMARY
I understand this is "normal" behavior in Plasma, but I haven't found a good reason why. When I create a virtual monitor using "xrandr --setmonitor VirtualMonitor auto PhysicalMonitor1,PhysicalMonitor2" in other windows managers, the screen gets spanned in my both monitors, as if they where one monitor only. But, in KDE, this doesn't happen. I've played with some commands I've found "googling", but nothing works. Is it possible to consider this in newer Plasma versions? Or is there already some procedure to make it work?

STEPS TO REPRODUCE
1. Execute "xrandr --setmonitor VirtualMonitor auto PhysicalMonitor1,PhysicalMonitor2"

OBSERVED RESULT
Although "xrandr --listmonitors" shows the recently created virtual monitor, the monitors keep working as separated.

EXPECTED RESULT
My both monitors should work as if they were one wider monitor only

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with KDE Plasma
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 Nate Graham 2023-11-29 21:12:14 UTC
In general using xrandr to manually manipulate the monitor config is not formally supported in Plasma, so you're on your own when you do this, sorry.
Comment 2 RicardoPQ 2023-11-30 12:09:23 UTC
(In reply to Nate Graham from comment #1)
> In general using xrandr to manually manipulate the monitor config is not
> formally supported in Plasma, so you're on your own when you do this, sorry.

Well, maybe it should be considered to add a similar functionality, something to let Plasma use multiple monitors as if they were one only :)