[GH-ISSUE #2067] Linux Barrier server can't handle if xinput has changed #1493

Open
opened 2026-05-05 07:53:09 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @Angell1993 on GitHub (May 28, 2024).
Original GitHub issue: https://github.com/debauchee/barrier/issues/2067

What happened?

Linux Barrier server can't handle if xinput has changed

I had to boost my mouse pointer speed on my desktop, and then barrier started moving the mouse pointer to the lower right corner on the Linux host, every time I try to enter the upper edge to enter Windows screen..

under xinput for your given mouse, any change to 'Coordinate Transformation Matrix' will make barrier sort of panic..
Tested with mouse with both altered xinput and default xinput, only default xinput is working with barrier, regardless of barrier version, as I did try and downgrade from 2.4.0 -> 2.3.3..

terminal command used to alter xinput, to boost pointer speed, that barrier can't handle for some reason..
xinput --set-prop <deviceID> <propertyID> <Coordinate Transformation Matrix>
xinput --set-prop 10 175 2.0 0 0 0 2.0 0 0 0 1

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

default arch package repository..

What OSes are you seeing the problem on? (Check all that apply)

Linux, Windows

What OS versions are you using?

Linux (OS: Arch Linux,Kernel: Linux 6.8.9-arch1-1 x86_64,DE: LXQt,WM: Openbox,Resolution: 2560x1440) Host, Windows 11 (latest,Resolution: 2560x1440) Client

Relevant log output

With default xinput: (The mouse responds correctly here, on Win11 screen)
[2024-05-28T14:48:45] INFO: switch from "angel-lxqt" to "Angel_Win11" at 1175,1439
[2024-05-28T14:48:45] INFO: leaving screen
[2024-05-28T14:48:45] INFO: screen "angel-lxqt" updated clipboard 0
[2024-05-28T14:48:45] INFO: screen "angel-lxqt" updated clipboard 1
[2024-05-28T14:49:14] INFO: switch from "Angel_Win11" to "angel-lxqt" at 914,6
[2024-05-28T14:49:14] INFO: entering screen

With altered xinput: (It moves directly to the lower right corner on Linux host, each time, entry to Win11 screen)
[2024-05-28T14:50:44] INFO: switch from "angel-lxqt" to "Angel_Win11" at 1213,1439
[2024-05-28T14:50:44] INFO: leaving screen
[2024-05-28T14:50:44] INFO: switch from "Angel_Win11" to "angel-lxqt" at 2492,718
[2024-05-28T14:50:44] INFO: entering screen

Any other information

No response

Originally created by @Angell1993 on GitHub (May 28, 2024). Original GitHub issue: https://github.com/debauchee/barrier/issues/2067 ### What happened? Linux Barrier server can't handle if xinput has changed I had to boost my mouse pointer speed on my desktop, and then barrier started moving the mouse pointer to the lower right corner on the Linux host, every time I try to enter the upper edge to enter Windows screen.. under xinput for your given mouse, any change to 'Coordinate Transformation Matrix' will make barrier sort of panic.. Tested with mouse with both altered xinput and default xinput, only default xinput is working with barrier, regardless of barrier version, as I did try and downgrade from 2.4.0 -> 2.3.3.. terminal command used to alter xinput, to boost pointer speed, that barrier can't handle for some reason.. xinput --set-prop \<deviceID> \<propertyID> \<Coordinate Transformation Matrix> xinput --set-prop 10 175 2.0 0 0 0 2.0 0 0 0 1 ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? default arch package repository.. ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? Linux (OS: Arch Linux,Kernel: Linux 6.8.9-arch1-1 x86_64,DE: LXQt,WM: Openbox,Resolution: 2560x1440) Host, Windows 11 (latest,Resolution: 2560x1440) Client ### Relevant log output ```shell With default xinput: (The mouse responds correctly here, on Win11 screen) [2024-05-28T14:48:45] INFO: switch from "angel-lxqt" to "Angel_Win11" at 1175,1439 [2024-05-28T14:48:45] INFO: leaving screen [2024-05-28T14:48:45] INFO: screen "angel-lxqt" updated clipboard 0 [2024-05-28T14:48:45] INFO: screen "angel-lxqt" updated clipboard 1 [2024-05-28T14:49:14] INFO: switch from "Angel_Win11" to "angel-lxqt" at 914,6 [2024-05-28T14:49:14] INFO: entering screen With altered xinput: (It moves directly to the lower right corner on Linux host, each time, entry to Win11 screen) [2024-05-28T14:50:44] INFO: switch from "angel-lxqt" to "Angel_Win11" at 1213,1439 [2024-05-28T14:50:44] INFO: leaving screen [2024-05-28T14:50:44] INFO: switch from "Angel_Win11" to "angel-lxqt" at 2492,718 [2024-05-28T14:50:44] INFO: entering screen ``` ### Any other information _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1493
No description provided.