News for hackers. Stuff that matters.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by ElCapitanMarkla on Wednesday September 02, 2020 @07:02PM (#24359222)
I know this isn’t the same but if you don’t need to switch the monitor inputs and only need mouse / keyboard support. I’ve been using https://github.com/debauchee/barrier for the last few years.

It works surprisingly well, no noticeable lag even when gaming.

Re:How I built a keyboard/video/mouse switch for my two 4k m... by scrooched_moose on Wednesday September 02, 2020 @08:37PM (#24359768)
If it's multiple Windows machines, Microsoft also has the Mouse without Borders "PowerToy"

https://www.microsoft.com/en-us/download/details.aspx?id=354...

It works very well too.

Re:How I built a keyboard/video/mouse switch for my two 4k m... by buybackoff on Thursday September 03, 2020 @01:03AM (#24360938)
For Windows to Windows, InputDirector works flawlessly and is free (but not OSS) for home usage. Barrier works OK, works between MacOS and Windows (where it's the only free choice), but not so stable, has issues with non-English, and latest binary is not signed and no checksum is given on GH. The PowerToy thing just didn't work for me, it's not a finished product but a toy.

Have been using InputDirector to combine a desktop and a laptop everyday for the last 6+ months and am very happy with it.

Re:How I built a keyboard/video/mouse switch for my two 4k m... by franga2000 on Thursday September 03, 2020 @06:07AM (#24362494)
> where it's the only free choice

Doesn't Synergy do the same thing, is open source and works on basically all platforms? (I'm talking about Synergy 1, Synergy 2 is a shitshow and I don't know how it's licensed)

Re:How I built a keyboard/video/mouse switch for my two 4k m... by buybackoff on Thursday September 03, 2020 @07:50AM (#24363050)
Isn't Barrier a free OSS Synergy? The Synergy I know is paid, 49 for the option with encryption. I even wanted to buy, but rebooted my MacBookAir back in Windows (which I use 99% of time). For the 1% of time Barrier is fine.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by skinnymuch on Thursday September 03, 2020 @08:05AM (#24363154)
Barrier is a fork of Synergy 1. It works better than synergy 1 anecdotally.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by skinnymuch on Thursday September 03, 2020 @08:04AM (#24363146)
For only windows, InputDirector is a lot better when I used it 5+ years ago against barrier or synergy 1.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by rafamvc on Thursday September 03, 2020 @10:29AM (#24364418)
Just make sure you are on an ethernet cable. On wifi it lags a little.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by chromedev on Wednesday September 02, 2020 @09:01PM (#24359889)
One is open source and updated, and includes encryption.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by srpinto on Wednesday September 02, 2020 @09:09PM (#24359940)
The other one is a viable alternative.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by chromedev on Wednesday September 02, 2020 @11:20PM (#24360538)
If you don't care about privacy
Re:How I built a keyboard/video/mouse switch for my two 4k m... by oarsinsync on Thursday September 03, 2020 @03:15AM (#24361542)
The proposed software is written by the OS manufacturer. If you’re using their OS, you’ve already made your peace with their position, or have taken the necessary steps to mitigate it.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by skinnymuch on Thursday September 03, 2020 @08:06AM (#24363158)
But it’s Microsoft making it for Microsoft’s OS. You already trust Microsoft enough to use them. Privacy isn’t an issue here.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by Bedon292 on Wednesday September 02, 2020 @11:11PM (#24360501)
This has been my primary solution for months. The mouse and keyboard are connected to desktop, and laptop monitors are "above" the desktop in the settings. But really I have to physically switch the monitor inputs. Now what I need to do is combine the two tools, so when I go off the screen it switches inputs. Only issue I have with it, it seems to prevent the screen saver from kicking in, but haven't cared enough to figure out why.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by empiricus on Thursday September 03, 2020 @02:44AM (#24361397)
clickmonitorddc - you can change the monitor input with a keyboard shortcut.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by Bedon292 on Thursday September 03, 2020 @09:23AM (#24363778)
Nice, unfortunately can't get it to change anything other than my brightness and rotation. Will keep tinkering.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by empiricus on Tuesday September 08, 2020 @12:38PM (#24410097)
I think it was some internet guide, but in short: To change the monitor input source I added new hot keys like Ctrl + Shift + 1 -> "s HMDI2" CTRL + Shift + 2 -> "s DisplayPort1"
Re:How I built a keyboard/video/mouse switch for my two 4k m... by thanatos519 on Thursday September 03, 2020 @03:45AM (#24361705)
I only have X11, so I use x2x which keeps it simple: Grab the cursor at the edge of the screen and proxy the X11 protocol to the other machine(s).
Re:How I built a keyboard/video/mouse switch for my two 4k m... by abiogenesis on Wednesday September 02, 2020 @07:38PM (#24359453)
It would be great if both projects could be combined (move your mouse to the edge of your monitor and switch to a different input source).
Re:How I built a keyboard/video/mouse switch for my two 4k m... by exhilaration on Wednesday September 02, 2020 @07:26PM (#24359369)
You still need some kind of a hub to connect the keyboard and mouse to both machines, right?
Re:How I built a keyboard/video/mouse switch for my two 4k m... by paranoidrobot on Wednesday September 02, 2020 @07:35PM (#24359437)
It says it's a fork of Synergy[0].

So the idea is you have PC A + Monitor A, and PC B + Monitor B.

You install the software on both machines (they talk over a local network), and configure PC A to be left of PC B, and PC B to be right of PC A. Attach a keyboard+mouse to one machine.

When your mouse goes 'off screen right' on PC A, it knows that PC B is over there, so it redirects keyboard/mouse input to PC B.

I used Synergy for a while, and it was pretty great. The only issue is when you need to do control keys that the OS takes over (like CTRL-ALT-DEL on Windows), that wouldn't transfer over, and you'd be looking at Monitor B wondering why keyboard/mouse wasn't working... then look over at Monitor A and see it's at the lock screen.

[0] https://symless.com/synergy

Re:How I built a keyboard/video/mouse switch for my two 4k m... by abiogenesis on Wednesday September 02, 2020 @07:38PM (#24359448)
I guess it's a mouse/keyboard emulator over TCP.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by rainbowzootsuit on Wednesday September 02, 2020 @08:04PM (#24359595)
There's a server machine where you connect the keyboard and mouse and client machines that just have a monitor connection.

You arrange the geometry in the software to make the mouse move between machines in an intuitive manner. Whichever machine has the mouse has the keyboard input as well.

So you do need a dedicated monitor per machine from my experience.

Re:How I built a keyboard/video/mouse switch for my two 4k m... by empiricus on Thursday September 03, 2020 @02:42AM (#24361390)
I use barrier to switch between a windows and a linux machine using the same monitor. A lifesaver was finding ClickMonitorDDC - with a keyboard shortcut I can switch the monitor source as well.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by abiogenesis on Thursday September 03, 2020 @03:29AM (#24361613)
ClickMonitorDDC doesn't seem to have a Linux version. How did you solve that?
Re:How I built a keyboard/video/mouse switch for my two 4k m... by empiricus on Tuesday September 08, 2020 @12:40PM (#24410117)
It is enough to run ClickMonitorDDC on windows and add a keyboard shortcut. When Linux has the monitor I just move the mouse to the Windows PC and press the keys to switch the monitor input to the Windows PC.
Re:How I built a keyboard/video/mouse switch for my two 4k m... by CartenLoor on Friday September 04, 2020 @08:02AM (#24374153)
You can use ddccontrol on Linux. gddccontrol for GUI.