Hacker GitHub

← All repos

haimgel/display-switch

View on GitHub ↗ ★ 3,473 Rust

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

25 mentions on Hacker News by 23 people: 2 stories, 23 comments · first 2020-12-14 · latest 2026-04-18

Mentions per year 25 mentions · busiest year 2023 (10)
20082026
  1. ▲ 1
    Display-switch: Turn a $30 USB switch into a full-featured KVM
    story by croes · 2026-04-18 · 0 comments
  2. …untrusted AI workloads. Yes, it costs, but so does a breach. Thanks for raising this aspect. Btw https://github.com/haimgel/display-switch helps a lot.
    comment by lysace · 2024-11-28 · in Show HN: Voice-Pro – AI Voice Cloning
  3. You can avoid the kvm with a cheap USB switch and software. https://github.com/haimgel/display-switch
  4. …display-switch[0] for this for a while now. No problems whatsoever. Works on windows/mac/linux. [0] https://github.com/haimgel/display-switch
  5. Now it just need to be combined with something like https://github.com/haimgel/display-switch to do a DDC/CI monitor input switch as the USB activity moves around. With a device like this you'd be missing the on_usb_connect event, but…
    comment by puetzk · 2023-12-27 · in DeskHop – Fast Desktop Switching
  6. https://github.com/haimgel/display-switch might be a piece of what you need to get this working.
    comment by jwiz · 2023-12-27 · in DeskHop – Fast Desktop Switching
  7. Direct link to the repo: https://github.com/haimgel/display-switch
  8. …switch monitor inputs using DDC commands on USB connect/disconnect events. Poor man's KVM :-) [1] https://github.com/haimgel/display-switch
    comment by universa1 · 2023-10-30 · in DIY IP-KVM Based on Raspberry Pi
  9. …support) when you change devices on the KVM There's software to help do this automatically ( https://github.com/haimgel/display-switch )
  10. I have the same setup and use the following software to send the switch signal to the monitor. https://github.com/haimgel/display-switch
  11. I have a lo-fi version of this using a 4port usb-switcher and display-switch [0] [0] https://github.com/haimgel/display-switch The only thing you’d need to figure out is the standing desk part. My usb switch came with a wireless controller…
    comment by vxNsr · 2023-02-24 · in A keypad to control my desk setup
  12. …devices [2]. Works quite well and costs less than 50€. [1] https://www.amazon.de/dp/B00B1SENTE/ [2] https://github.com/haimgel/display-switch
  13. …the command protocol, most do but one of mine doesn't support the "change input" instruction): https://github.com/haimgel/display-switch Otherwise you'd need a KVM that supports 3 monitors which I'd imagine is a compatibility nightmare if…
  14. …I'm switching three 4K HDR DisplayPort monitors, which would require a very expensive KVM switch). https://github.com/haimgel/display-switch
  15. …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
  16. …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
  17. …to get a KVM which supports 2 4k monitors so I'm using display-switch instead. Works wonders. [0] https://github.com/haimgel/display-switch
  18. …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 speed isn't…
  19. …sure your monitors support DDC/CI, though. [0] https://news.ycombinator.com/item?id=29608967 [1] https://github.com/haimgel/display-switch
  20. Under actions, the project is being CI'd and the artifacts are kept there eg: https://github.com/haimgel/display-switch/actions/runs/15284... But yeah, actual releases would be nice.
  21. …already when running on Windows or OSX; there's an open issue for adding the Linux host support: https://github.com/haimgel/display-switch/issues/27 I reckon it's probably 25 or 30 lines or Rust if you make it use the uinput crate to…
  22. ▲ 444
    Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM
    story by dattl · 2021-12-18 · 151 comments
  23. If you get bored of the polling, there is a tool that does this in an event driven way: https://github.com/haimgel/display-switch/ https://haim.dev/posts/2020-07-28-dual-monitor-kvm/ https://news.ycombinator.com/item?id=24357308
  24. …by programmatically toggling the display's input when particular USB devices are dis/connected: https://github.com/haimgel/display-switch .. but compatibility is spotty, relying on a rarely-used hardware feature in the display that seems…
    comment by jrrrr · 2020-12-23 · in The beautiful Silent ThunderBolt-3 PC
  25. Please look at https://github.com/haimgel/display-switch
    comment by chx · 2020-12-14 · in Linux 5.10