In the past I had 2 Dell monitors shared between two computers and active input detection was working seamlessly with those monitors:

  • If I had both monitors connected to my Ubuntu machine
  • And switched the input source for the first monitor to my other machine

Then Ubuntu would notice that and would assume that the first monitor is no longer connected and would reconcile all the windows into the second monitor.

However, with 2 new monitors from LG, if I have both monitors connected to my Ubuntu machine, and then switch the input source for the first monitor to the other machine, Ubuntu doesn't seem to detect that change and continues to assume that my second monitor is still connected and active and does not reconcile all the windows back the only active monitor.

Is there a command I can use to signal to Ubuntu to assume that the 1st monitor is no longer active?

OS version: Ubuntu 22.10

A few things I tried:


❯ wlr-randr --list
compositor doesn't support wlr-output-management-unstable-v1


❯ xrandr --listmonitors 
Monitors: 2
 0: +*XWAYLAND71 3840/700x2160/400+0+0  XWAYLAND71
 1: +XWAYLAND72 3840/700x2160/400+3840+0  XWAYLAND72

❯ xrandr --output XWAYLAND72 --off
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (RANDR)
  Minor opcode of failed request:  7 (RRSetScreenSize)
  Serial number of failed request:  27
  Current serial number in output stream:  29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.