Engineer by craft. Builder by design.

Writing / macOS

One keyboard, two Macs

Universal Control kept breaking on my desk. So I built OpenKVM: a small macOS app that shares one keyboard and mouse between two Macs.

Back to writing
MCMukul Chugh
1 min read
x

I keep a work Mac and a personal Mac on the same desk. Apple's Universal Control is supposed to make that setup feel like one machine. For me it didn't: different Apple IDs, flaky Handoff, days where the cursor just refused to cross.

So I built OpenKVM: a menu bar app that grabs the keyboard and mouse on one Mac and replays them on the other over the local network.

The interesting bits were boring in a good way. Keystrokes need a reliable channel (TCP). Mouse movement can drop frames (UDP). Discovery should be Bonjour, not typing IP addresses. And the hotkey that turns forwarding off has to work even when everything else is being sent elsewhere. Otherwise you lock yourself out.

It's not trying to replace a hardware KVM. It's trying to make two Macs feel like one desk again.

One keyboard, two Macs
Source Mac
Other Mac
KeystrokesTCP
Reliable and ordered
Pointer movementUDP
Occasional dropped frames are acceptable
DiscoveryBonjour
Find the other Mac on the local network

The forwarding-off hotkey must keep working while input is sent elsewhere.

What should
we make next?

Bring the idea you keep coming back to.
Let’s see where a conversation takes it.

15 minutes.

An idea is enough.