On Sun, 19 Jul 2026 12:24:47 +0800
Sadeep <[email protected]> wrote:

> 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

Besides the other solution with more elaborate tools like srandr, I
think you're missing turning off the HDMI-2 output. You could try adding
`--output HDMI-2 --off` here which might help solve your issues.

> 
> Then I disconnect the wires. 
> 
> Mouse stops working after that (no visible cursor). Keyboard behavior
> is a bit strange. I can't switch wm workspaces, launch a terminal or
> type anything. But I can restart X using Ctrl+Shit+Backspace.

Reply via email to