[GH-ISSUE #2099] Wrong Mouse Position from a Windows 11 (Dell Inspiron 14 2-in-1) on a Ubuntu (Ubuntu 24.04.1 LTS) system. #1516

Closed
opened 2026-05-05 07:54:15 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @SujalChoudhari on GitHub (Oct 6, 2024).
Original GitHub issue: https://github.com/debauchee/barrier/issues/2099

What happened?

When moving a cursor from windows machine to a ubuntu desktop, the mouse is stuck in bottom right corner of the ubuntu machine.

But when ubuntu is the server, everything works fine.

I have 1 display connected to the my laptop (windows) and to right is my old ubuntu laptop.
Total 3 displays total.

Version

v2.4.0

Git commit hash (if applicable)

3e0d758b (for windows) on linux it is blank

If applicable, where did you install Barrier from?

Windows: Website
Ubuntu: apt install barrier

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

Linux, Windows

What OS versions are you using?

  • Windows: 11 latest
  • Ubuntu: Ubuntu 24.04.1 LTS X11(not the Wayland windowing manager)

Relevant log output

accepted client connection
[2024-10-06T21:38:53] NOTE: client "devsujal" has connected
[2024-10-06T21:39:00] INFO: switch from "dell1" to "devsujal" at 0,358
[2024-10-06T21:39:00] INFO: leaving screen
[2024-10-06T21:39:00] INFO: bitmap: 653x255 32
[2024-10-06T21:39:00] INFO: convert image from: depth=32 comp=3
[2024-10-06T21:39:00] INFO: screen "dell1" updated clipboard 0
[2024-10-06T21:39:00] INFO: bitmap: 653x255 32
[2024-10-06T21:39:00] INFO: convert image from: depth=32 comp=3
[2024-10-06T21:39:00] INFO: screen "dell1" updated clipboard 1
[2024-10-06T21:39:24] INFO: screen "devsujal" grabbed clipboard 1 from "dell1"

Any other information

keyboard works perfectly, even mouse events too, just the mouse positioning.

Originally created by @SujalChoudhari on GitHub (Oct 6, 2024). Original GitHub issue: https://github.com/debauchee/barrier/issues/2099 ### What happened? When moving a cursor from windows machine to a ubuntu desktop, the mouse is stuck in bottom right corner of the ubuntu machine. But when ubuntu is the server, everything works fine. I have 1 display connected to the my laptop (windows) and to right is my old ubuntu laptop. Total 3 displays total. ### Version v2.4.0 ### Git commit hash (if applicable) 3e0d758b (for windows) on linux it is blank ### If applicable, where did you install Barrier from? Windows: Website Ubuntu: apt install barrier ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? - Windows: 11 latest - Ubuntu: Ubuntu 24.04.1 LTS X11(not the Wayland windowing manager) ### Relevant log output ```shell accepted client connection [2024-10-06T21:38:53] NOTE: client "devsujal" has connected [2024-10-06T21:39:00] INFO: switch from "dell1" to "devsujal" at 0,358 [2024-10-06T21:39:00] INFO: leaving screen [2024-10-06T21:39:00] INFO: bitmap: 653x255 32 [2024-10-06T21:39:00] INFO: convert image from: depth=32 comp=3 [2024-10-06T21:39:00] INFO: screen "dell1" updated clipboard 0 [2024-10-06T21:39:00] INFO: bitmap: 653x255 32 [2024-10-06T21:39:00] INFO: convert image from: depth=32 comp=3 [2024-10-06T21:39:00] INFO: screen "dell1" updated clipboard 1 [2024-10-06T21:39:24] INFO: screen "devsujal" grabbed clipboard 1 from "dell1" ``` ### Any other information keyboard works perfectly, even mouse events too, just the mouse positioning.
Author
Owner

@RoyeA commented on GitHub (Oct 22, 2024):

I'm not sure if this relate to you, but I had something similar. Found that I need to click on the "ScrLk" key on the keyboard to release the mouse freely across the monitors.

<!-- gh-comment-id:2428036048 --> @RoyeA commented on GitHub (Oct 22, 2024): I'm not sure if this relate to you, but I had something similar. Found that I need to click on the "ScrLk" key on the keyboard to release the mouse freely across the monitors.
Author
Owner

@SujalChoudhari commented on GitHub (Oct 22, 2024):

I'm not sure if this relate to you, but I had something similar. Found that I need to click on the "ScrLk" key on the keyboard to release the mouse freely across the monitors.

I don't have a scroll lock key on my laptop. I felt the touch screen could be an issue because, most drawing platforms (Krita) fail to get correct touch positions when a display is connected.

<!-- gh-comment-id:2428141814 --> @SujalChoudhari commented on GitHub (Oct 22, 2024): > I'm not sure if this relate to you, but I had something similar. Found that I need to click on the "ScrLk" key on the keyboard to release the mouse freely across the monitors. I don't have a scroll lock key on my laptop. I felt the touch screen could be an issue because, most drawing platforms (Krita) fail to get correct touch positions when a display is connected.
Author
Owner

@michaelchou64 commented on GitHub (Oct 27, 2024):

I encountered the same problem in the same environment. Win11 is also a laptop acting as the server.

<!-- gh-comment-id:2439916455 --> @michaelchou64 commented on GitHub (Oct 27, 2024): I encountered the same problem in the same environment. Win11 is also a laptop acting as the server.
Author
Owner

@myisen commented on GitHub (Jan 14, 2025):

I have the similar problem ,win 11 the server , ubuntu 2204 the client 。 And
the clickboad is not usable from win11 to ubuntu 2204。 but my barrier version is 2.2.0

<!-- gh-comment-id:2589034157 --> @myisen commented on GitHub (Jan 14, 2025): I have the similar problem ,win 11 the server , ubuntu 2204 the client 。 And the clickboad is not usable from win11 to ubuntu 2204。 but my barrier version is 2.2.0
Author
Owner

@nbolton commented on GitHub (Jan 14, 2025):

Please try Deskflow or Input Leap as Barrier is no longer in development. That might solve your problem.

<!-- gh-comment-id:2589952915 --> @nbolton commented on GitHub (Jan 14, 2025): Please try [Deskflow](https://github.com/deskflow/deskflow/releases) or Input Leap as Barrier is no longer in development. That might solve your problem.
Author
Owner

@SujalChoudhari commented on GitHub (Jan 15, 2025):

I switched my operating system to xubuntu, Deskflow didnt work there.
InputLeap is working perfectly fine.
Thanks!

<!-- gh-comment-id:2591555208 --> @SujalChoudhari commented on GitHub (Jan 15, 2025): I switched my operating system to xubuntu, Deskflow didnt work there. InputLeap is working perfectly fine. Thanks!
Author
Owner

@nbolton commented on GitHub (Jan 15, 2025):

xubuntu, Deskflow didnt work there

Ah because, no package Ubuntu for Deskflow, right?

<!-- gh-comment-id:2593085872 --> @nbolton commented on GitHub (Jan 15, 2025): > xubuntu, Deskflow didnt work there Ah because, no package Ubuntu for Deskflow, right?
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#1516
No description provided.