Bug 477732 - Virtual monitor created via "xrandr --setmonitor" is not recognized as a monitor
Summary: Virtual monitor created via "xrandr --setmonitor" is not recognized as a monitor
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: xrandr (show other bugs)
Version: 5.27.9
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-29 20:46 UTC by RicardoPQ
Modified: 2023-11-30 12:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :)