debauchee / barrier

Open-source KVM software
Other
27.23k stars 1.5k forks source link

Please add support for non-grid screen arrangement and different size screens #1505

Open TiagoTiago opened 2 years ago

TiagoTiago commented 2 years ago

What happened?

My current setup is sorta like this:

         ┌─────────────────────────────────┐
         │                                 │
         │                                 │
         │             Server              │
         │               4k                │
         │                                 │
         │                                 │
         │                                 │
         └─────────────────────────────────┘
┌───────────────┐┌───────────────┐
│     Client    ││     Server    │
│     1080p     ││     1080p     │
│               ││               │
└───────────────┘└───────────────┘

Or in case the ASCII art doesn't work:

The server got a 4k screen above a 1080p screen, the 1080p screen is aligned with the horizontal center of the 4K screen, the 4k screen is approximately twice the physical dimensions of the 1080p screen; the client got a 1080p screen of the same size as the server's, and sits to the left of the server's 1080p screen.

With the current way to set screens in Barrier, I've not figured out a way to make the mouse movement between the server and client make physical sense; the best I got was to have it so the left side of the 4K screen connects to the top ¾ of the right side of the client's screen, and the remaining ¼ of that side on the client's screen provides a one-way jump to the left side of the server's 1080p screen (moving the mouse back to the left in the server's 1080p screen doesn't go past the edge of the screen, and the positions in that lower ¼ of the client's screen are scaled to the full height of the server's in the jump.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

Linux Mint's "Software Manager", I picked the Flathub version (seems it's also available from conventional the apt repo, but that's an older version)

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

Linux

What OS versions are you using?

Server: Linux Mint 20.2 Uma 64-bit Client: Linux Mint 19 Tara 64-bit

Relevant log output

No response

Any other information

Both systems got Nvidia cards; the server's screen arrangement is set with the Nvidia X Server Settings app.

davidkennedydev commented 1 year ago

https://github.com/debauchee/barrier/discussions/1451