I have two PCs (one Linux the other Windows) on the same network, which serve different roles. (They are both using SMB shares on TrueNAS for different reasons, but that’s not really relevant to this off-topic question.)
Because of limited desk space, I have a single mouse, keyboard, and monitor.
The mouse and keyboard use a single USB receiver (Logitech “unified”).
The monitor has two HDMI ports in the back.
Currently, I have to physically unplug and replug the USB receiver from one PC to the other, as well as cycle through the “input” selector on the monitor.
To “switch” to my Linux PC:
flowchart TD
pc1[("Linux")]
pc2[("Windows")]
display[["Monitor"]]
logitech("Mouse and Keyboard")
style pc1 stroke:green,stroke-width:4px
style pc2 stroke:blue,stroke-width:4px
pc1 ===>|to HDMI port 1\ninput selected| display
pc2 -..->|to HDMI port 2\ndisabled| display
logitech === pc1
To “switch” to my Windows PC:
flowchart TD
pc1[("Linux")]
pc2[("Windows")]
display[["Monitor"]]
logitech("Mouse and Keyboard")
style pc1 stroke:green,stroke-width:4px
style pc2 stroke:blue,stroke-width:4px
pc1 -..->|to HDMI port 1\ndisabled| display
pc2 ===>|to HDMI port 2\ninput selected| display
logitech === pc2
This actually works, but it gets a bit tedious when I want to quickly switch back-and-forth between the two PCs.
I have held off on a hardware KVM switch in the meantime, since the last experience I had with them was negative: I lost the functions of my special keys on my Logitech keyboard.
For some reason, the KVM switch didn’t support any keys beyond “basic keyboard”.
My question for those who use hardware KVM switches: Do you know which ones fully support keyboards and mice (including special buttons and switches)?
My mouse and keyboard
- Keyboard: Logitech Wireless K540
- Mouse: Logitech Wireless M510
They use the same Logitech “unified” USB receiver.