HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
timgws
kvm-switch
Go2022–2026
timgws / kvm-switch

kvm-switch

Control hardware KVM/Matrix devices when your mouse moves to the edge of the screen

2Distinct people
5Mentions
0Explicit recommenders
22GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Control hardware KVM/Matrix devices when your mouse moves to the edge of the screen

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year5 dated mentions

Observed mentions: 2022-06-05 07:03:26 UTC to 2026-05-19 03:55:05 UTC.

0122022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC211
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC000
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

5 sources
I went down a similar rabbit hole a while back and ended up building something that attacks the same problem from the opposite direction: instead of just a hardware box that switches everything (video + USB), I wrote Fence[1], a software layer that automates switching USB input devices when you glide the mouse to the edge of the screen. The idea is basically "Synergy's convenience, but with real hardware switching." You run a tiny client on each machine. When your cursor hits the left edge of your desktop, Fence tells a USB and HDMI Switch to physically redirect your keyboard and mouse to the next PC. The switching happens in hardware and you can design your layout per-direction and per-device. Where the L1T KVM is the "one box handles video and IO beautifully" approach, Fence is more of an "IO routing layer" that lets you keep your exist
Read the rest
ing monitors and their auto-input-switching (or a separate video path). I built it specifically to be cross-platform. You don't pass clicks/keystrokes over the network, just a "switch to pc2 PC, left edge" message. Not a replacement for the L1T if you want one-button video+peripheral switching, but if someone likes their monitor's own input handling and just wants the "mouse to edge" workflow it's a nice middle ground. I like the fact that moving the mouse to different edges of the screen can show exactly the source to the sink that I want. I originally built it for live streaming with OBS, but now, I miss it when I have more than one computer I need to deal with at a time. [1] https://github.com/timgws/kvm-switch
In Two computers, one monitor, zero fiddling (2025)
With my COVID obsession of live streaming while writing code, I ended up building something a little more elaborate. https://github.com/timgws/kvm-switch It doesn't use DDC commands direct to the monitor(s), instead swapping it for a HDMI matrix combined with a traditional KVM for swapping around inputs smoothly when you roll your mouse over the edge of different operating systems. The switching client runs on Windows, MacOS and Linux (if you use X).
In Show HN: Multi-monitor KVM using just a USB switch
I had the same issue with this device. I ended up writing some code that you could run on a machine to operate the switching via the RS232 port: https://github.com/timgws/kvm-switch/ Bonus for adding 'glide and switch' functionality, so you can move the mouse to the edge of the screen and it would jump the input to the next display in your layout. It's like a hardware version of Synergy. Very finicky device, but if you don't touch it - and you don't use any of the shortcuts - it works.
In Displayport: A Better Video Interface
The proverb 'necessity is the mother of invention' made me build a solution for sharing a keyboard and mouse between multiple devices. Synergy/Barrier is not horrible, but I find the latency a little painful. Ended up getting an industrial HDMI switch, with a KVM. Built a server in Go that connects to the serial port of all the devices. A companion client that runs on all the machines tells the server when the mouse moves to the edge of the screen, so the USB inputs can be switched to the correct computer. Basically, it allows you to have multiple computers connected, to multiple displays, sharing one keyboard and mouse. (You can define layouts on the server, so the displays can move around on the matrix HDMI switcher). https://github.com/timgws/kvm-switch
In Ask HN: What is something you built but never marketed?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.