haimgel/display-switch is an open source project licensed under MIT License which is an OSI approved license.
Similar projects and alternatives to display-switch based on common topics and language
Open-source KVM software
Scout APM - Leading-edge performance monitoring starting at $39/month. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
A simple windows notification area icon
A cross-platform, OpenGL terminal emulator.
A cross-platform, OpenGL terminal emulator. [Moved to: https://github.com/alacritty/alacritty] (by jwilm)
Count your code, quickly.
Potential damages from usb-c dock to desktop ?
reddit.com/r/UsbCHardware | 2021-03-30
Yes, I missed this part at first, edited. You could use a simpler USB2 or USB3 KVM to deal with it though (random example on Amazon https://www.amazon.com/Switcher-Selector-Computers-Keyboard-Compatbile/dp/B082K87B87). And you can automate switching displays via software then - https://github.com/haimgel/display-switch, https://haim.dev/posts/2020-07-28-dual-monitor-kvm/.
Dell XPS 13 (9370) - USB-C Docking Compatibility
reddit.com/r/Dell | 2021-03-15
Your solution with 2 docks works, it's also possible to add hardware or software KVMs (hardware 4K 60Hz capable KVMs are expensive, so https://haim.dev/posts/2020-07-28-dual-monitor-kvm/ https://github.com/haimgel/display-switch is more economical). This builds on your idea that both laptops will be connected at the same time, but adds ability to switch between them with 1 button click.
Using USB Hub for Cable Management and Work / Life
reddit.com/r/UsbCHardware | 2021-03-10
Desktops rarely have USB-C with DisplayPort unless you have a motherboard with TB3/TB4 or GPU with a VirtualLink port. There are ways to add it https://dancharblog.wordpress.com/2020/07/20/add-usb-c-with-dp-alt-mode-to-your-desktop-pc/ and may work with some USB-C docks, but it may not be worth adding it just for sharing a dock with one laptop. There are hardware KVMs and semi-hardware solutions like https://haim.dev/posts/2020-07-28-dual-monitor-kvm/ https://github.com/haimgel/display-switch that can speed up switching between desktop and laptop when combined with a good enough dock for your Thinkpad.
reddit.com/r/UsbCHardware | 2021-02-24
In theory, you can use https://github.com/haimgel/display-switch to switch the monitor's input automatically. It was originally intended for semi-software KVM - https://haim.dev/posts/2020-07-28-dual-monitor-kvm/. Still, you can configure both machines to force switching the input of the 2nd monitor to the input connected to DisplayLink or the native output of the dock.
My Covid Project: USBKVM - add display switching to cheap USB switches
reddit.com/r/programming | 2021-02-13
How is this different from https://github.com/haimgel/display-switch ?
Why are KVM switches so damn expensive?
reddit.com/r/hardware | 2021-01-21
https://github.com/haimgel/display-switch is your friend. Couldn't get any cheaper.
The beautiful Silent ThunderBolt-3 PC
news.ycombinator.com | 2020-12-23
- Keyboard and mouse to a USB switch, which connects to the PC and the TB dock
It's kind of a pain to manually flip both the USB switch and the monitor's input.
This app can theoretically help by programmatically toggling the display's input when particular USB devices are dis/connected:
.. but compatibility is spotty, relying on a rarely-used hardware feature in the display that seems to not be reliably implemented ("DDC/CI").