Hacker News new | ask | show | jobs
by amelius 1645 days ago
> the app only switches monitors "one way" and relies on itself running on the other computers to switch it "the other way" as needed.

Too bad, I often need a KVM switch exactly when I'm installing a new OS on an embedded system (and from that point on I don't need the switch because I can just use the network to log in and install software).

So this solution doesn't work for me at precisely the moment I need it.

3 comments

The protocol runs over the USB cable to your monitor, so whichever monitor has that cable plugged will be able to send the commands.

I'm using this command

sudo virsh start win10;sudo ddcutil -d 1 setvcp 0x60 0x03

To start Windows and change display input to DVI, which is the GPU for my Windows VM.

Changing back can be done either by powering the VM down or running the command

sudo ddcutil -d 1 setvcp 0x60 0x0F

Most have an autosetup that can get you to a shell via ssh, worth looking into.

It also seems like you can switch from any computer currently connected. Have your normal computer switch to the other computer's input.

Not true. I run display-switch on only one of my two computers and the monitor switches back and forth with my USB switch.