Hi Dorian, On 2026-07-21 17:35:49, Dorian Büttner wrote: > On Sun, 19 Jul 2026 12:24:47 +0800 > Sadeep <[email protected]> wrote: > > > Hello, > > > > I connect my laptop to a monitor via a KVM switch. After connecting, I > > run: > > > > xrandr --output eDP-1 --off --output HDMI-2 --auto && \ > > xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 0.3 > > > > Then before disconnecting, I run: > > > > xrandr --output eDP-1 --auto && \ > > xinput set-prop /dev/wsmouse "Device Accel Constant Deceleration" 1.0 > > > maybe xrandr --output HDMI-2 --off will help before > > > Then I disconnect the wires. > > X does not rearrange automatically the Screen for you on disconnect. > Have you tried moving the mouse to left or right a lot and see if it > will enter the laptop display from the side? > > You may want to try srandrd or similar from ports to achieve some > automation.
I think that fixed it. Installed srandrd as well. Thank you very much. -- Sadeep

