HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
haimgel
display-switch
Rust2020–2026
haimgel / display-switch

display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch

23Distinct people
25Mentions
0Explicit recommenders
3.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Turn a $30 USB switch into a full-featured multi-monitor KVM switch

GitHub

Where it is used

No documented product use was verified in the last source check.

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 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 4:00:59 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 year25 dated mentions

Observed mentions: 2020-12-14 02:01:43 UTC to 2026-04-18 06:32:43 UTC.

02468102020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 10 mentions; 0 submissions, 10 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2025-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; 1 submissions, 0 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
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC413
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC505
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC10010
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC303
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 UTC110

What Hacker News says

5 sources
As someone who is using display-switch[0] to imitate a hardware KVM switch in software I can say I’ve seen many of these issues in trying to debug the random issues that using ddc creates. Ddc is to http what your county clerk’s website is to (current) healthcare.gov essentially. There’s no standardization at all, it’s maintained by 1000 different people who don’t communicate and don’t care how anyone else is doing it because only like 1/10000 people have heard of it and 1/100000 uses it. [0] https://github.com/haimgel/display-switch
In Weird monitor bugs people sent me in the last 5 years
Are you thinking of the display-switch[0] script? Achieves K/V/M-switching with only a cheap USB-switch for hardware K/M-switching, and then this script detects such peripheral switching and emits DDC-commands for monitors to switch accordingly. I saw it posted here on HN[1], and have been using it since then with great success. [0] https://github.com/haimgel/display-switch [1] https://news.ycombinator.com/item?id=29608967
In TinyUSB: Open-source cross-platform USB Host/Device stack for embedded systems
Even outside of impedence issues, you can't just use relays because then every switch is basically an unplug/replug, meaning that: a) the display will flip out and spend multiple seconds re-syncing itself, and b) the sources may take actions such as resizing the desktop, switching to the internal display, pausing the game, whatever. Part of the point of a hardware KVM is that it negotiates its own connection to all of the devices involved, and only changes which signals are passed through at any given moment, resulting in instantaneous switchovers. Now, a multi-input monitor can also do this, but then you have to deal with whatever compat issues are involved in commanding it to switch over DDC (see for example https://github.com/haimgel/display-switch), and it typically also won't be as fast as a hardware solution since input switching sp
Read the rest
eed isn't a metric most people care about when monitor shopping.
In Barrier: Share mouse and keyboard between computers
There was a post[0] from a couple months ago for a piece of software called 'display-switch'[1]. It turns a simple/cheap USB switch into a n-computer KVM (however many systems the USB switch supports) by detecting the presence of the USB switch device on either system and switching the video input of the monitors using DDC/CI. I've been using it for a couple of months and it's been a game changer. No more fiddling with monitor menus to switch inputs or wondering if the monitor is currently set to one computer or the other. You have to make sure your monitors support DDC/CI, though. [0] https://news.ycombinator.com/item?id=29608967 [1] https://github.com/haimgel/display-switch
In Barrier: Share mouse and keyboard between computers

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.